Page 1 of 1

Nesting run time parms?

PostPosted: Fri Oct 01, 2010 10:14 pm
by Balr14
I'm running a test shell that uses a parm to identify the application program to be executed. But, that application program also requires a parm and I don't know how to specify that. How do I get the parm to the program being driven by a parm?

Re: Nesting run time parms?

PostPosted: Fri Oct 01, 2010 10:23 pm
by NicC
You would have to pass it to your shell program which would then pass it on to the program being tested.

Re: Nesting run time parms?

PostPosted: Fri Oct 01, 2010 11:43 pm
by steve-myers
When I've done this type of stuff, I've always done something like

// EXEC PGM=SHELL,PARM='program-name/parms for program'

Re: Nesting run time parms?

PostPosted: Sat Oct 02, 2010 1:32 am
by Balr14
Thanks, that worked.