|
If you use PDM, you can use F16 to add your own option and PDM will fill in the variables. Your SBMJOB would become SBMJOB CMD(CRTBNDRPG PGM(&l/&n) SRCFILE(&l/&f) . . . HTH, Steve "Hatzenbeler, Tim" <thatzenbeler@xxxxxxxxxxxxx> wrote in message news:F0C10B9F28EC1C47B16BC2D75176919E6BE988@xxxxxxxxxxxxxxx >I have small script, that I would like to use replacement values... > > For example... > > SBMJOB CMD(CRTBNDRPG PGM(CGINEW/mysrcmember) SRCFILE(CGINEW/CGISRCPGM) > DBGVIEW(*LIST)) JOB(CGICOMPILE) JOBD(CGINEW/CGIJOBD) OUTQ(TIMHQ) > INLLIBL(*JOBD) > > And I would like to do this.. > > SBMJOB CMD(CRTBNDRPG PGM(___LIBR___/__SCRIPT__) > SRCFILE(___LIBR___/___FILE___) > > The problem is this... > > The output is : > SBMJOB CMD(CRTBNDRPG PGM(CGINEW /source ) SRCFILE(CGINEW /CGISRC > ) > > The extra spaces, causes the command to fail... Short of writing a > procedure to remove spaces within '( )', is there a work around? > > Thanks, tim > > This e-mail message, including any attachments, is for the sole use of the > intended recipient(s) and may contain confidential or privileged > information. Any unauthorized review, use, disclosure or distribution is > prohibited. If you are not the intended recipient, please contact the > sender by reply e-mail and destroy the message. > -- > 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.