Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 3270 Data stream error Benchwarmer CICS 4 Tue Apr 17, 2018 12:06 am
No new posts How to list data set names with diffe... murali.andaluri CLIST & REXX 8 Thu Apr 12, 2018 11:33 pm
No new posts Invalid XML character while producing... nikhil.bhole IBM Tools 4 Tue Mar 20, 2018 1:24 am
No new posts Get the list of data sets on DASD and... rakaitn JCL & VSAM 3 Thu Mar 08, 2018 12:38 pm
No new posts Data security erase on RAID device steve-myers All Other Mainframe Topics 0 Sat Jan 13, 2018 6:41 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us