Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Multiline STDPARM for BPXBATCH

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
HenriqueS

New User


Joined: 17 Feb 2007
Posts: 30
Location: Brazil

PostPosted: Sat Mar 19, 2011 3:45 am    Post subject: Multiline STDPARM for BPXBATCH
Reply with quote

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
View user's profile Send private message

HenriqueS

New User


Joined: 17 Feb 2007
Posts: 30
Location: Brazil

PostPosted: Sat Mar 19, 2011 5:11 am    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Sat Mar 19, 2011 5:14 am    Post subject:
Reply with quote

Have you removed line numbers from your JCL?
Back to top
View user's profile Send private message
HenriqueS

New User


Joined: 17 Feb 2007
Posts: 30
Location: Brazil

PostPosted: Sat Mar 19, 2011 7:45 pm    Post subject:
Reply with quote

Yes. All solved now.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help in reading and validating a... ABINAYATHULASI COBOL Programming 8 Tue Apr 18, 2017 11:42 am
No new posts '-c ' in STDOUT of BPXBATCH Ronin. TSO/ISPF 8 Fri Jul 11, 2014 6:09 am
No new posts BPXBATCH output Grant Goodale All Other Mainframe Topics 12 Fri Jun 06, 2014 6:19 am
No new posts BPXBATCH access problem tuxama JCL & VSAM 2 Fri Apr 26, 2013 12:35 pm
No new posts BPXBATCH PARM TOO LONG abhijit.nayak01 All Other Mainframe Topics 10 Fri Jan 27, 2012 5:07 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us