| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| HenriqueS Beginner
 
 
 Joined: 01 Feb 2007
 Posts: 29
 Topics: 14
 
 
 | 
			
				|  Posted: Fri Mar 18, 2011 5:15 pm    Post subject: Multiline STDPARM for BPXBATCH |   |  
				| 
 |  
				| Hello, 
 How to I write an STDPARM instream DD card with multiple lines representing a single command for Unix System Services ?
 
 Example:
 
  	  | Code: |  	  | //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 |  | 
	
		|  | 
	
		| kolusu Site Admin
 
  
 
 Joined: 26 Nov 2002
 Posts: 12394
 Topics: 75
 Location: San Jose
 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| HenriqueS Beginner
 
 
 Joined: 01 Feb 2007
 Posts: 29
 Topics: 14
 
 
 | 
			
				|  Posted: Fri Mar 18, 2011 6:43 pm    Post subject: |   |  
				| 
 |  
				| Thanks for the feedback. 
 Solved.
 
 Just leave one space.
 
 Also, 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 |  | 
	
		|  | 
	
		|  | 
	
		|  |