Instead of concatenating the module names, how about writing them into a BNDDIR and compiling with that?
-----Message d'origine-----
De : midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Smith, Mike
Envoyé : lundi 10 novembre 2008 16:10
À : Midrange Systems Technical Discussion
Objet : Automating CRTPGM command
Suppose I wanted to automate the CRTPGM command.
ie,
DSPOBJD OBJ(SRWORK/*ALL) OBJTYPE(*MODULE) OUTPUT(*OUTFILE)
read file
concatanate the module names
loop
Then do a
CRTPGM PGM(TSTMIS/USCHLOGE) MODULE(&MODULES')
My problem is when I do this, I get the quotes in the module parameter like this and the command chokes.
CRTPGM PGM(TSTMIS/USCHLOGE) MODULE('CALLERID USCHLOGE')
I'm probably missing something really simple here, but I can't seem to get over this issue.
Mike
--
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.