Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: DD DATA,DLM='&&' override statement dont seem to be
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    Post subject: Re: JCL ERROR
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    Post subject: Re: JCL ERROR
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    Post subject: Re: JCL ERROR
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    Post subject: Re: JCL ERROR
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us