|
<snip> I can see why you do a MOVOBJ of the file, but I like to create the file in the destination library directly because it is then journaled in the right journal immediately and I don't have to take manual care of that. </snip> I do that little trick to avoid having to hardcode the library into the script. When you compile the object, the AS/400 comes up with a library to stick it in. How I do not know so the trick was to create the object and move to where I wanted it to be. If you put a library into default collection, it then wants to find the files in the default collection instead of on the library list. So I let it compile where it wants and then move.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.