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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm


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