|
Al RTVJOBA has a parameter for returning the library list - you could run that, then scan for the library you are interested in. And this gives you something to restore to when you clean up after yourself. ;-) Vern -------------- Original message -------------- From: Al Mac <macwheel99@xxxxxxxxxxx>
I have a similar scenario with a CL that I want to be able to run * on line from within the users standard *LIBL * on JOBQ ditto * from job scheduler where lots of standard *LIBL and *JOBD must be setup I tried CHKOBJ *LIB and if not there try to ADDLIBLE it I wanted some test ... is such & such a library in *LIBL but I could not figure out command to do that If it is already in the *LIBL, then I not want to mess with anything, because this must be other than job scheduler. Now there are ways to find out if the current job is interactive or *BATCH then do this checking inside such a DO. Al Mac -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.