I'm wondering if anyone else has seen this phenomenon.  Doesn't seem right 
to me. 

I have a proc that looks like this

//SHOWIT  PROC 
//STEP010 EXEC PGM=IEBGENER 
//SYSPRINT  DD SYSOUT=* 
//SYSUT1    DD DDNAME=INPUT  
//SYSIN     DD DUMMY 
//SYSUT2    DD SYSOUT=* 
//SHOWIT  PEND 

in the dataset ISCLG.JCL(SHOWIT) 

I execute it with JCL like 
//ISCLGTES JOB 3432000, 
//             'CHIP GRANTHAM X7382', 
//             CLASS=S, 
//             MSGCLASS=X 
// JCLLIB ORDER=ISCLG.JCL 
//STEP010 EXEC SHOWIT 
//INPUT   DD  *        
 * ------------------------------------------------------------------ * 
 * THIS IS THE PROC YOUR EXECUTING                                    * 
 * ------------------------------------------------------------------ * 
//        DD  DISP=SHR,DSN=ISCLG.JCL(SHOWIT) 

I only receive the DD * data in SYSUT2, not the copied ISCLG.JCL(SHOWIT) 
proc. 
 * ------------------------------------------------------------------ * 
 * THIS IS THE PROC YOUR EXECUTING                                    * 
 * ------------------------------------------------------------------ * 

If I change the proc so that SYSUT1 is last statement, everything works 
fine (I see the proc as well as the comments). 

 * ------------------------------------------------------------------ * 
 * THIS IS THE PROC YOUR EXECUTING                                    * 
 * ------------------------------------------------------------------ * 
//SHOWIT  PROC 
//STEP010 EXEC PGM=IEBGENER 
//SYSPRINT  DD SYSOUT=* 
//SYSIN     DD DUMMY 
//SYSUT2    DD SYSOUT=* 
//SYSUT1    DD DDNAME=INPUT  
//SHOWIT  PEND 

Is this right?

Chip Grantham  |  Ameritas  |  Sr. IT Consultant | [email protected] 
5900 O Street, Lincoln NE 68510 | p: 402-467-7382 | c: 402-429-3579 | f: 
402-325-4030

 
*******
This message may contain confidential information intended only
for the use of the addressee(s) named above and may contain
information that is legally privileged. If you are not the
addressee, or the person responsible for delivering it to the
addressee, you are hereby notified that reading, disseminating,
distributing or copying this message is strictly prohibited.  If you
have received this message by mistake, please immediately notify
us by replying to the message and delete the original message
immediately thereafter.  Thank you.
*******


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to