VL IDE - Check Out Readonly Tables and Fields

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
jyoung
Posts: 642
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

VL IDE - Check Out Readonly Tables and Fields

Post by jyoung » Sat Aug 11, 2018 12:42 am

We have new LANSA dev that we are getting everything hooked up with. We refreshed his repository with the master and have all the Tables and Fields but they are all "greyed" out, indicating they are on the server but not on his machine.

When doing a checkout readonly on the Table, it only checks out the Table, not its Fields.

Is there anyway to check out both at once or does he have to manually checkout readonly ALL the fields in the Repository first?

Thanks,
Joe

atostaine
Posts: 388
Joined: Wed Jan 20, 2016 7:38 am

Re: VL IDE - Check Out Readonly Tables and Fields

Post by atostaine » Sat Aug 11, 2018 9:51 pm

For a new Developer I usually export from the IBM i. I create an export with fields, tables, VL Components, and whatever else. I never liked exporting all partition components because you would get the frameworks and other stuff you don't need. Frameworks are gone but old habits.

If you go the checkout route, you have to do it manually.

I do all fields, then tables, RP's, Forms, Web stuff. You'll see a refreshing repository message, but once everything is checked out, just close the IDE and open it again, it will be refreshed.

Art
Art Tostaine

bark
Posts: 24
Joined: Thu Jan 05, 2017 9:56 am

Re: VL IDE - Check Out Readonly Tables and Fields

Post by bark » Tue Aug 14, 2018 10:27 am

And further to Arts sound advice, you should do your 'mass export' of the repository for read-only. Essentially, you just want to fill up the local slave repository with all objects. The developer can then check out for update anything to be worked on.
cheers
bark

atostaine
Posts: 388
Joined: Wed Jan 20, 2016 7:38 am

Re: VL IDE - Check Out Readonly Tables and Fields

Post by atostaine » Tue Aug 14, 2018 10:42 am

Lol when you check out for update. That’s fun
Art Tostaine

jyoung
Posts: 642
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

Re: VL IDE - Check Out Readonly Tables and Fields

Post by jyoung » Tue Aug 14, 2018 11:07 pm

Hey Art and Bark,

I've only done exports to a save file to handle deployment scenarios.

Any advice on how to actually do a mass export from the iSeries?

Do you create an export list, add everything to it then export it?

Thanks,
Joe

EDIT
Could I create an export from the MY ide and use that? Will that cause conflicts with the server when it tries to reconcile the imported objects on their machine with the server's?

atostaine
Posts: 388
Joined: Wed Jan 20, 2016 7:38 am

Re: VL IDE - Check Out Readonly Tables and Fields

Post by atostaine » Tue Aug 14, 2018 11:47 pm

Create an export list, choose target system type PC
shot1.png
shot1.png (7.69 KiB) Viewed 1674 times

Here is what I like to put in it, although you could do all partition objects.
shot2.png
shot2.png (30.26 KiB) Viewed 1674 times

Then when you run it, look in the IFS under /LANSA_XXXX/export/name of export

It's fastest to download all of the files to the PC and do an import, but you can import over a mapped drive to the IBM i

Art
Art Tostaine

jyoung
Posts: 642
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

Re: VL IDE - Check Out Readonly Tables and Fields

Post by jyoung » Wed Aug 15, 2018 1:27 am

I did not realize you could do *ALL.

Awesome, will try it out.

Thanks!

Joe

atostaine
Posts: 388
Joined: Wed Jan 20, 2016 7:38 am

Re: VL IDE - Check Out Readonly Tables and Fields

Post by atostaine » Wed Aug 15, 2018 1:30 am

Oh the way I do that is by selecting option to export ALL partition objects, then go into the export list and delete the stuff I don't want.
Art Tostaine

Post Reply