On Tue, 5 Jun 2012 13:59:25 -0700, Lizette Koehler <[email protected]> wrote: > >IEF694I DDNAME REFERENCE TO DD CONCATENATION REFERS ONLY TO FIRST DD > >Explanation: THE JCL DDNAME keyword has been used to refer to a DD >concatenation. When the object of a DDNAME reference is a concatenation of >multiple DDs, only the first DD in the concatenation is actually >referenced. > >System Action: The system issues message IEF677I and continues processing >the job. The first DD in the referenced concatenation is associated with >the referencing DD. The remaining (unlabeled) DDs in the referenced >concatenation are concatenated to the labeled DD immediately preceding the >concatenation. > >User Response: If the DDNAME reference was intended to refer to the >entire concatenation, move the concatenated DDs to follow the referencing >DD rather than the referenced DD. This will ensure that the concatenation >is correctly defined to the system. > Was this truly the intent of the design, or did it just happen to work that way, so they documented it as a feature?
Does this imply that I can't code two separate DD statements, each containing the "DDNAME=..." option in the same PROC, where they refer to separate concatenations, respectively? I hate JCL! -- gil > >So you need to have your input last. > >Lizette > > >> >>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 * >> * ------------------------------------------------------------------ * >> > >---------------------------------------------------------------------- >For IBM-MAIN subscribe / signoff / archive access instructions, >send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

