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

DATASORT error


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

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Wed Oct 07, 2009 12:08 am
Reply with quote

Hi,

I tried to use the below statement in TOOLIN to sort the records between HEADER and TRAILER.
Code:
 DATASORT FROM(IN) TO(OUT) HEADER TRAILER USING(CTL1)

But I got the below error message in TOOLMSG.
Code:
ICE600I 0 DFSORT ICETOOL UTILITY RUN STARTED                                                                                                           
ICE650I 0 VISIT http://www.ibm.com/storage/dfsort FOR ICETOOL PAPERS, EXAMPLES A
                                                                               
ICE632I 0 SOURCE FOR ICETOOL STATEMENTS:  TOOLIN                               
                                                                               
                                                                               
ICE630I 0 MODE IN EFFECT:  STOP                                                 
                                                                               
            DATASORT FROM(IN) TO(OUT) HEADER TRAILER USING(CTL1)               
            $                                                                   
ICE614A 0 INVALID OPERATOR                                                     
ICE602I 0 OPERATION RETURN CODE:  12                                           
                                                                               
                                                                               
ICE601I 0 DFSORT ICETOOL UTILITY RUN ENDED - RETURN CODE:  12                   


When I check //SYSOUT of another sort step, I could see this.
Code:
ICE21I F RECORD TYPE ...

Any PTF is missing at my installation? Please let me know.
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Wed Oct 07, 2009 12:51 am
Reply with quote

DATASORT requires the July, 2008 DFSORT PTF. But the ICE201I F message says you have that PTF. So something doesn't make sense.

Are you sure you ran the ICETOOL job and the DFSORT job on the same system?

To see what going on, try using this in TOOLIN:

COPY FROM(IN) TO(OUT)
DATASORT FROM(IN) TO(OUT) HEADER TRAILER USING(CTL1)

and post all of the TOOLMSG and DFSMSG messages you receive.
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Wed Oct 07, 2009 10:07 am
Reply with quote

Hi Frank,

Thanks for the reply.
Quote:
Are you sure you ran the ICETOOL job and the DFSORT job on the same system?
Yes.

I ran this ICETOOL step and got MAXCC=12.
Code:
//STEP10 EXEC PGM=ICETOOL                               
//TOOLMSG   DD  SYSOUT=*                                 
//DFSMSG    DD  SYSOUT=*                                 
//IN DD *                                               
HEADER                                                   
AAA                                                     
FFF                                                     
CCC                                                     
TRAILER                                                 
/*                                                       
//OUT DD SYSOUT=*                                       
//TOOLIN DD *                                           
  COPY FROM(IN) TO(OUT)                                 
  DATASORT FROM(IN) TO(OUT) HEADER TRAILER USING(CTL1)   
/*                                                       
//CTL1CNTL   DD *                                       
  SORT FIELDS=(1,3,CH,A)                                 
/*                               

TOOLMSG is as follows,
Code:
ICE600I 0 DFSORT ICETOOL UTILITY RUN STARTED                                   
                                                                               
ICE650I 0 VISIT http://www.ibm.com/storage/dfsort FOR ICETOOL PAPERS, EXAMPLES A
                                                                               
ICE632I 0 SOURCE FOR ICETOOL STATEMENTS:  TOOLIN                               
                                                                               
                                                                               
ICE630I 0 MODE IN EFFECT:  STOP                                                 
                                                                               
            COPY FROM(IN) TO(OUT)                                               
ICE627I 0 DFSORT CALL 0001 FOR COPY FROM IN       TO OUT      COMPLETED         
ICE602I 0 OPERATION RETURN CODE:  00                                           
                                                                               
            DATASORT FROM(IN) TO(OUT) HEADER TRAILER USING(CTL1)               
            $                                                                   
ICE614A 0 INVALID OPERATOR                                                     
ICE602I 0 OPERATION RETURN CODE:  12                                           
ICE601I 0 DFSORT ICETOOL UTILITY RUN ENDED - RETURN CODE:  12               

DFSMSG is ...
Code:
1ICE200I 0 IDENTIFIER FROM CALLING PROGRAM IS 0001                             
 ICE143I 0 BLOCKSET     COPY  TECHNIQUE SELECTED                               
 ICE250I 0 VISIT http://www.ibm.com/storage/dfsort FOR DFSORT PAPERS, EXAMPLES A
 ICE000I 0 - CONTROL STATEMENTS FOR 5694-A01, Z/OS DFSORT V1R5 - 20:31 ON TUE OC
0          DEBUG NOABEND,ESTAE                                                 
           OPTION LIST,MSGPRT=ALL,MSGDDN=DFSMSG,RESINV=0,SORTIN=IN,SORTOUT=OUT,D
                          ALLOC                                                 
           SORT FIELDS=COPY                                                     
 ICE201I 0 RECORD TYPE IS F - DATA STARTS IN POSITION 1                         
 ICE751I 0 C5-BASE   C6-BASE   C7-BASE   C8-Q83041 E9-BASE   C9-BASE   E5-Q90312
 ICE193I 0 ICEAM2 ENVIRONMENT IN EFFECT - ICEAM2 INSTALLATION MODULE SELECTED   
 ICE088I 0 GNANASJ .STEP10  .        , INPUT LRECL = 80, BLKSIZE = 80, TYPE = FB
 ICE093I 0 MAIN STORAGE = (MAX,6291456,6278238)                                 
 ICE156I 0 MAIN STORAGE ABOVE 16MB = (6200798,6200798)                         
 ICE127I 0 OPTIONS: OVFLO=RC0 ,PAD=RC0 ,TRUNC=RC0 ,SPANINC=RC16,VLSCMP=N,SZERO=Y
 ICE128I 0 OPTIONS: SIZE=6291456,MAXLIM=1048576,MINLIM=450560,EQUALS=N,LIST=Y,ER
 ICE129I 0 OPTIONS: VIO=N,RESDNT=ALL ,SMF=NO   ,WRKSEC=Y,OUTSEC=Y,VERIFY=N,CHALT
 ICE130I 0 OPTIONS: RESALL=4096,RESINV=0,SVC=109 ,CHECK=Y,WRKREL=Y,OUTREL=Y,CKPT
 ICE131I 0 OPTIONS: TMAXLIM=6291456,ARESALL=0,ARESINV=0,OVERRGN=16384,CINV=Y,CFW
ICE132I 0 OPTIONS: VLSHRT=N,ZDPRINT=Y,IEXIT=N,TEXIT=N,LISTX=N,EFS=NONE    ,EXIT
ICE133I 0 OPTIONS: HIPRMAX=OPTIMAL,DSPSIZE=MAX ,ODMAXBF=0,SOLRF=Y,VLLONG=N,VSAM
ICE235I 0 OPTIONS: NULLOUT=RC0                                                 
ICE084I 0 BSAM ACCESS METHOD USED FOR OUT                                     
ICE084I 0 BSAM ACCESS METHOD USED FOR IN                                       
ICE751I 1 EF-Q91626 F0-Q84357 E8-Q91626                                       
ICE090I 0 OUTPUT LRECL = 80, BLKSIZE = 80, TYPE = FB                           
ICE055I 0 INSERT 0, DELETE 0                                                   
ICE054I 0 RECORDS - IN: 5, OUT: 5                                             
ICE052I 0 END OF DFSORT                                                       

Please look into these and let me know where I'm wrong.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 07, 2009 1:06 pm
Reply with quote

Frank is in a different time zone, will take a few hours to look at Your issue,

I just looked at Your sysouts

Your run sysout has ...

Code:
ICE201I 0 RECORD TYPE IS F - DATA STARTS IN POSITION 1       


but You also quote a
Code:
ICE201I F RECORD TYPE ... 


before proceeding further it would be wiser to investigate with Your support about Your environment

maybe You are working in a shared spool environment and the job You looked at run in a different lpar
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Wed Oct 07, 2009 8:30 pm
Reply with quote

ICE201I 0 RECORD TYPE IS F - DATA STARTS IN POSITION 1

This indicates you do not have the latest PTF installed on that system. In fact, it indicates that system has a very old level of DFSORT so you can't use DATASORT (or lots of other DFSORT/ICETOOL functions) on that system.

If you saw

ICE201I F RECORD TYPE IS F - DATA STARTS IN POSITION 1

that was on another system that is more up to date. You can run DATASORT on that system.

Ask your System Programmers to install z/OS DFSORT V1R5 PTF UK90013 (July, 2008) on the system where you see ICE201I 0. That will get you all of the latest DFSORT/ICETOOL functions.
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 Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top