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

GDG as input to ICEGENER for copy to output dataset


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
Search our Forums:

Back to Top