Copy file data from IBM i

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
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Copy file data from IBM i

Post by atostaine »

I've seen this option when right clicking files in my repository. But only sometimes, and I'm not sure what's making it appear.

The docs, VL Administrator guide, "5.2.3 Copy file data from IBM i" explains what it's supposed to do but not how to run it.

Is there any more info about this?
Art Tostaine
JamesDuignan
Posts: 85
Joined: Thu Nov 26, 2015 1:43 pm

Re: Copy file data from IBM i

Post by JamesDuignan »

Hi,

I suspect that the reason you are not seeing this in the popup menu of some files is because these files are not RDMLX enabled.
This feature is only available for RDMLX files that have been checked into the IBM i.

As for running it, simply click the menu item. This will submit a job and will appear in the 'Check Out' tab.
Doing this simply copies the data from the table on the IBM i to the table in your local database instance, the one Visual LANSA is using.

Regards,
James
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Copy file data from IBM i

Post by atostaine »

Thank you. Something is going on where some RDMLX files don't have that option. If I check them out/in it becomes enabled.

Does something need to be reset for some of the files?
Art Tostaine
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Copy file data from IBM i

Post by atostaine »

Thank you. Something is going on where some RDMLX files don't have that option. If I check them out/in it becomes enabled.

Does something need to be reset for some of the files?
Art Tostaine
User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: Copy file data from IBM i

Post by Stewart Marshall »

Hi Art

Apart from being enabled for RDMLX, the IDE needs to know that the file exists on the master. It also needs to be compiled locally and the same format as the master object. Finally, the OAM on the server needs to have been rebuilt reasonably recently. If it hasn't, the copy will fail.

Regards
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au
Post Reply