My first guess is that the input is not properly terminated (end of
file) in the first example. In the second example, the input is
terminated by statement 83, which has slashes in columns 1 and 2.

Assuming the wasn't an email formatting snafu, the input data steam
appears to consist of two records. Had the '/*' appeared in columns one
and two instead of two and three, the result may be different and may
work as desired. 

As a personal habit, I like to terminate a job stream with a statement
with // in one and two, and blanks in three on.  

HTH and good luck. 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Anton Britz
Sent: Tuesday, August 12, 2008 2:42 PM
To: [email protected]
Subject: zOs 1.7 JCL concatenation question ?

Hi,

Why do we not see the concatenated SYSIN when we code the JCL the 
following way :

80 XXCMSYNIN  DD DDNAME=SYSIN                          
81 //CMWKF02  DD DSN=SYS3.APRCB.PROD.UNDUP(+1),      
   //            DISP=(NEW,PASS,DELETE),               
   //            UNIT=SYSDA,SPACE=(TRK,(20,2),RLSE),   
   //            DCB=SYS3.PATTERN.RECL0020              
82 //SYSIN    DD DSN=SYS3.ANATP.LOGON,DISP=SHR       
83 //         DD *                                     
    INPUT
    /*

But if we code it this way, the second SYSIN concatenation is seen by
the 
program :

80 XXCMSYNIN  DD DDNAME=SYSIN                          
81 //SYSIN    DD DSN=SYS3.ANATP.LOGON,DISP=SHR       
82 //         DD *                                     
    INPUT
    /*
83 //CMWKF02  DD DSN=SYS3.APRCB.PROD.UNDUP(+1),      
   //            DISP=(NEW,PASS,DELETE),               
   //            UNIT=SYSDA,SPACE=(TRK,(20,2),RLSE),   
   //            DCB=HWG.PATTERN.RECL0020              

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to