View previous topic :: View next topic
|
Author |
Message |
HenriqueS
New User
Joined: 17 Feb 2007 Posts: 30 Location: Brazil
|
|
|
|
Hello,
How to I write an STDPARM instream DD card with multiple lines representing a single command for Unix System Services ?
Example:
//STDPARM DD *
SH mytool -arg1 -arg2 +
-arg3 "value" +
-arg4 "value" +
-arg5 "value"
/*
I have tried using '+', '\' and '-', but had no success trying to make a line continuation...
Regards, |
|
Back to top |
|
|
HenriqueS
New User
Joined: 17 Feb 2007 Posts: 30 Location: Brazil
|
|
|
|
Solved.
Just leave one space.
To execute more than one command no the same instream, connect them with a ";" , not repeating the "SH".
Sample:
//STDPARM DD *
SH mytool1 -arg1 -arg2
-arg3 "value"
-arg4 "value"
-arg5 "value" ;
mytool2 -arg1 -arg2
-arg3 "value"
-arg4 "value"
-arg5 "value"
/* |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Have you removed line numbers from your JCL? |
|
Back to top |
|
|
HenriqueS
New User
Joined: 17 Feb 2007 Posts: 30 Location: Brazil
|
|
|
|
Yes. All solved now. |
|
Back to top |
|
|
|