|
Hello all! I hate using QCMDEXC but sometimes when the right API is not there that is what I land up doing. Now normally here we try to stay away from as many CL programs as we can and use APIs or QCMDEXC, but I have hit a problem which has prompted me to post here. When we use QCMDEXC normally it is done like this. BldTmpFilesCMD = 'CRTDUPOBJ '+ 'OBJ(OPS005LF2) '+ 'FROMLIB(*LIBL) '+ 'OBJTYPE(*FILE) '+ 'TOLIB(QTEMP) '+ 'NEWOBJ(*OBJ) '+ 'ASPDEV(*) ' + 'TOASPDEV(*ASPDEV) '+ 'DATA(*NO)'; BldTmpFiles(BldTmpFilesCMD:%len(BldTmpFilesCMD)); Where we have a prototype to QCMDEXC named BldTmpFiles. This works great until we try to use this using SBMJOB. Has anyone out there had good success using QCMDEXC to do SBMJOB that has a program with Parms? Thanks! Thank you, Jason Olson IBM ISeries Engineer Amkor Technology 480.821.5000.5625 jolso@xxxxxxxxx "The smart shall inherit the work."
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.