Nesting run time parms?



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Nesting run time parms?

Postby Balr14 » Fri Oct 01, 2010 10:14 pm

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?
Balr14
 
Posts: 41
Joined: Fri Oct 01, 2010 9:43 pm
Has thanked: 0 time
Been thanked: 1 time

Re: Nesting run time parms?

Postby NicC » Fri Oct 01, 2010 10:23 pm

You would have to pass it to your shell program which would then pass it on to the program being tested.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: Nesting run time parms?

Postby steve-myers » Fri Oct 01, 2010 11:43 pm

When I've done this type of stuff, I've always done something like

// EXEC PGM=SHELL,PARM='program-name/parms for program'
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Nesting run time parms?

Postby Balr14 » Sat Oct 02, 2010 1:32 am

Thanks, that worked.
Balr14
 
Posts: 41
Joined: Fri Oct 01, 2010 9:43 pm
Has thanked: 0 time
Been thanked: 1 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post