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

Difference in IDCAMS and ICETOOL


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
thirunarayanan

New User


Joined: 06 Oct 2006
Posts: 9

PostPosted: Tue Oct 17, 2006 12:17 pm
Reply with quote

Hi Everyone

I have been trying to move a hardcoded value to a GDG generation. I had used IDCAMS for the same, which ran unsuccessfully with MAXCC=8 saying the Maximum record length exceeded. Then I used ICETOOL for the same and it worked fine.

What am I doing wrong with using IDCAMS?

Code:

//SGDGCPY EXEC PGM=IDCAMS
//SYSIN    DD  *
  REPRO IFILE(UT01) OFILE(UT11)
//UT01     DD  *
01NA00000000000/00/000000/00/000000:00:00CLAIM          LIVE
//UT11     DD  DSN=NUWCD.TNS.EE005.SORTAUD.CWCSFAUD(0),
//             DISP=SHR
//SYSPRINT DD  SYSOUT=*


The above step gave Maxx=08

Code:

//SGDGCPY EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//TOOLIN DD *
COPY FROM(CON) TO(OUT)
//CON      DD  *
01NA00000000000/00/000000/00/000000:00:00CLAIM          LIVE
//OUT      DD  DSN=NUWCD.TNS.EE005.SORTAUD.CWCSFAUD(+1),
//             DISP=(,CATLG,DELETE),
//             UNIT=DEVPOOL,
//             SPACE=(TRK,(100,25)),
//             DCB=(NU.MODEL.DSCB,RECFM=FB,LRECL=100,BLKSIZE=0)


The above step ran successfully.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Oct 17, 2006 1:40 pm
Reply with quote

What is the LRECL of NUWCD.TNS.EE005.SORTAUD.CWCSFAUD in your IDCAMS job? What is the LRECL of the GDG dataset?

O.
Back to top
View user's profile Send private message
thirunarayanan

New User


Joined: 06 Oct 2006
Posts: 9

PostPosted: Tue Oct 17, 2006 2:50 pm
Reply with quote

LRECL of gdg dataset that is created is 100 too.
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 Shift left VB record without x00 endi... DFSORT/ICETOOL 11
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts Timestamp difference and its average ... DB2 11
Search our Forums:

Back to Top