|
If you need to copy the same files every time wouldn't the following be better? Then you just need to maintain the file list in "Files". Dclf test/Files :Strtloop rcvf Monmsg cpf0864 goto endloop CRTDUPOBJ OBJ(MYFILE1) FROMLIB(MYLIB) OBJTYPE(*FILE) MONMSG ... Goto strtloop :endloop > Yes you can CRTDUPOBJ more than one file. You can do it a couple of ways. > > 1 - Use generics and one command. > CRTDUPOBJ OBJ(MYFILE*) FROMLIB(MYLIB) OBJTYPE(*FILE) > MONMSG ... > > 2 - Or single string them. > CRTDUPOBJ OBJ(MYFILE1) FROMLIB(MYLIB) OBJTYPE(*FILE) > MONMSG ... > CRTDUPOBJ OBJ(MYFILE2) FROMLIB(MYLIB) OBJTYPE(*FILE) > MONMSG... >
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.