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
 

 

GDG as input to ICEGENER for copy to output dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
Lisa Burgess

New User


Joined: 13 Dec 2006
Posts: 2
Location: Jacksonville

PostPosted: Thu Dec 14, 2006 10:58 pm    Post subject: GDG as input to ICEGENER for copy to output dataset
Reply with quote

I am experiencing error messages during a JCL scan when I use a GDG in the LIKE parameter of the SYSUT2 dataset.
The error message I am receiving is
DSS8010E - INVALID DATA SET NAME SPECIFIED IN "LIKE"
Can anyone help?
Back to top
View user's profile Send private message

Rajen

New User


Joined: 05 May 2005
Posts: 61

PostPosted: Thu Dec 14, 2006 11:35 pm    Post subject: Re: GDG as input to ICEGENER for copy to output dataset
Reply with quote

Hi Lisa,
Please post your JCL here.

Thanks,
Rajen.
Back to top
View user's profile Send private message
Lisa Burgess

New User


Joined: 13 Dec 2006
Posts: 2
Location: Jacksonville

PostPosted: Fri Dec 15, 2006 2:57 am    Post subject: Re: GDG as input to ICEGENER for copy to output dataset
Reply with quote

Code:

//**********************************************************
//*         COPY FILE WITHOUT HEADERS & ADD HEADERS         
//**********************************************************
//STEP03 EXEC PGM=ICEGENER                                 
//SYSPRINT  DD SYSOUT=*                                     
//SYSIN     DD DUMMY                                       
//SYSUT1    DD DSN=&FNME,                                   
--SYSUT1    DD DSN=P2OD.C4721.ESCROW.REPORT(+1),           
//             DISP=(SHR,&DISP1,KEEP),                     
--             DISP=(SHR,KEEP,KEEP),                       
//             DCB=(BUFL=32760)                             
//SYSUT2    DD DSN=&EDIFILE,                               
--SYSUT2    DD DSN=P2IO.N04721.NO4721.R$\Y.$\M.$\D..LFN0587,
//             LIKE=&FNME,                                 
--             LIKE=P2OD.C4721.ESCROW.REPORT(+1),           
//             DISP=(NEW,CATLG,DELETE),             
//             SPACE=(CYL,(500,500),RLSE),   
//             UNIT=&OUNIT,                 
--             UNIT=(SYSDA,20),             
//             DCB=(CPI.MODLDSCB)
Back to top
View user's profile Send private message
srinut123

New User


Joined: 11 Oct 2005
Posts: 62
Location: India

PostPosted: Fri Dec 15, 2006 11:12 am    Post subject:
Reply with quote

Hi Lisa

The LIKE parameter copies the attributes of a CATALOGED data set.. In ur case the GDG that u r referencing is not CATALOGED yett.. that is the reason u r getting this error.

Srinivas
Back to top
View user's profile Send private message
Rajen

New User


Joined: 05 May 2005
Posts: 61

PostPosted: Fri Dec 15, 2006 11:47 am    Post subject: Re: GDG as input to ICEGENER for copy to output dataset
Reply with quote

Hi Lisa,

Apart from what Srinut has mentioned i would to add few notes.

The LIKE parameter is used to copy the attributes and allocation
information for a new data set from an existing data set. LIKE is
ignored other than syntax checking if SMS is not active.

You can copy LRECL, RECFM, KEYOFF, KEYLEN, SPACE, AVGREC, and data set organization (RECORG) using the LIKE parameter. If you code any of the JCL parameters on the same DD statement as LIKE, then they override the parameter modeled by LIKE.

Quote:
DO NOT use LIKE= to model the characteristics of a PDS member coded in JCL, a GDG, or a temporary data set. Also, please note that the EXPDT or RETPD dates are NOT copied by LIKE. LIKE should not be coded on the same DD statement with the SYSOUT, DYNAM or REFDD parameters.
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm


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