IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DD DATA,DLM='&&' override statement dont seem to be


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Kenwood

New User


Joined: 27 Jul 2006
Posts: 2

PostPosted: Thu Jul 27, 2006 12:30 am
Reply with quote

Hey im running a JCL PROC, for a class project. Im sorry to bother anyone, but ive been doing this for a good 24 hours and ive can't get around a JCL error, the DD DATA,DLM='&&' override statement doesnt seem to be working, its a requirement in the project, whats wrong with the DLM override statement im so lost. Thanks for any help


//KC03B8CM JOB (3U39170000034),'WOOD K',MSGLEVEL= (1,1),NOTIFY=KC03B8C,
// MSGCLASS=Q (1,1),NOTIFY=KC03B8C,
// MSGCLASS=Q
//MYPROC PROC SYSOUT=Q
//GENER EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=&SYSOUT
//SYSPRINT DD DUMMY
//SYSUT1 DD DUMMY
//SYSUT1 DD DATA,DLM='@@'
//THIS IS NOT A JCL STATEMENT
/* AND THIS STATEMENT DOES NOT END THE INPUT STREAM.
@@
//SYSUT2 DD SYSOUT=&SYSOUT
//PEND PEND
//MYPROC1 EXEC MYPROC,SYSOUT=Q
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Thu Jul 27, 2006 12:52 am
Reply with quote

Try this:

Code:

//MYPROC PROC SYSOUT=Q
//GENER EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=&SYSOUT
//SYSUT1 DD DUMMY
//SYSUT2 DD SYSOUT=&SYSOUT
// PEND
//MYPROC1 EXEC MYPROC,SYSOUT=Q
//GENER.SYSUT1 DD DATA,DLM='@@'
//THIS IS NOT A JCL STATEMENT
/* AND THIS STATEMENT DOES NOT END THE INPUT STREAM.
@@


The //GENER.SYSUT1 DD DATA,DLM='@@' statement overrides SYSUT1 within the instream PROC.
Back to top
View user's profile Send private message
Kenwood

New User


Joined: 27 Jul 2006
Posts: 2

PostPosted: Thu Jul 27, 2006 1:24 am
Reply with quote

Thanks a lot it worked, i owe ya, icon_eek.gif
Back to top
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Thu Jul 27, 2006 1:43 am
Reply with quote

No problem. You can never use DD * or DD DATA within a PROC (instream or catalogued).
Back to top
View user's profile Send private message
parsesource

New User


Joined: 06 Feb 2006
Posts: 97

PostPosted: Fri Jul 28, 2006 3:39 am
Reply with quote

cpuhawg wrote:
No problem. You can never use DD * or DD DATA within a PROC (instream or catalogued).


true - one of these silly jcl limitations ......
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 2
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top