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
 

 

DATASORT error

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

Active Member


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

PostPosted: Wed Oct 07, 2009 12:08 am    Post subject: DATASORT error
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 Moderator


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

PostPosted: Wed Oct 07, 2009 12:51 am    Post subject:
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: 788
Location: Chennai, India

PostPosted: Wed Oct 07, 2009 10:07 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10277
Location: italy

PostPosted: Wed Oct 07, 2009 1:06 pm    Post subject: Reply to: DATASORT error
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 Moderator


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

PostPosted: Wed Oct 07, 2009 8:30 pm    Post subject:
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    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 DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


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