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

Abend with U0016 while using DATASORT


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
yugendran

New User


Joined: 14 Dec 2007
Posts: 51
Location: indore

PostPosted: Tue Jan 24, 2012 4:58 pm
Reply with quote

Hi,

I have got a error U0016 while run a DATASORT. From the msg, i couldn't find the problem causing the error.

Code:
//PS010    EXEC PGM=ICETOOL                                         
//TOOLMSG  DD SYSOUT=*                                               
//DFSMSG   DD SYSOUT=*                                               
//SYSOUT   DD SYSOUT=(,)                                             
//SORTWK01 DD UNIT=SCRPK,SPACE=(TRK,(45,15))                         
//SORTWK02 DD UNIT=SCRPK,SPACE=(TRK,(45,15))                         
//SORTWK03 DD UNIT=SCRPK,SPACE=(TRK,(45,15))                         
//IN1      DD DSN=XXXX,             
//            DISP=SHR,                                             
//            DCB=BUFNO=40                                           
//OUT1     DD DSN=YYYY,               
//            DISP=(NEW,CATLG,CATLG),                               
//            UNIT=DEVPK,                                           
//            SPACE=(CYL,(15,15),RLSE),                             
//            DCB=*.IN1                                             
//TOOLIN   DD *                                                     
  DATASORT FROM(IN1) TO(OUT1) HEADER(1) TRAILER(1) USING(CTL1)       
/*                                                                   
//CTL1CNTL DD *                                                     
  SORT FIELDS=COPY           
/*                 


ToolMsg:

Code:
SYT000I  SYNCTOOL RELEASE 1.6.2 - COPYRIGHT 2007  SYNCSORT INC.                 
SYT001I  INITIAL PROCESSING MODE IS "STOP"                                     
SYT002I  "TOOLIN" INTERFACE BEING USED                                         
                                                                               
           DATASORT FROM(IN1) TO(OUT1) HEADER(1) TRAILER(1) USING(CTL1)         
SYT020I  SYNCSORT CALLED WITH IDENTIFIER "0001"           

DFSMsg:

Code:
CTL1CNTL :                                                                     
  SORT FIELDS=COPY                                                             
  INCLUDE COND=(6,8,CH,EQ,C'XXXXXXXX')                                     
PARMLIST :                                                                     
OPTION RESINV=0,ARESINV=0,MSGDDN=DFSMSG,SORTIN=SORTIN,SORTDD=CTL1,SORTOUT=SORTO
T,DYNALLOC,CMP=CLC,NOVLSHRT,EQUALS                                             
SORT FIELDS=COPY                                                               
MODS E15=(SYNC##15,4096,,N),E35=(SYNC##35,4096,,N)                             
WER428I  CALLER-PROVIDED IDENTIFIER IS "0001"                                 
WER211B  SYNCSMF  CALLED BY SYNCSORT; RC=0000                           


Please help in resolving this error.

Thanks,
Yuge
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jan 24, 2012 5:01 pm
Reply with quote

WER messages are of SYNCSORT and you have tried to use ICETOOL syntax

A simple search should have helped you to solve it by yourself icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jan 24, 2012 5:10 pm
Reply with quote

Quote:
WER messages are of SYNCSORT and you have tried to use ICETOOL syntax


Yes, but there are also the SYT messages which come from the SYNCSORT counterpart of ICETOOL
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jan 24, 2012 5:13 pm
Reply with quote

enrico-sorichetti wrote:
Quote:
WER messages are of SYNCSORT and you have tried to use ICETOOL syntax


Yes, but there are also the SYT messages which come from the SYNCSORT counterpart of ICETOOL


Agreed but the program name should not be ICETOOL

Correct me if I am wrong
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jan 24, 2012 5:18 pm
Reply with quote

Quote:
Agreed but the program name should not be ICETOOL

why not...
usually DFSORT competitor when installing their product install the ALIASes
for the equivalent IBM names

the TS used ICETOOL and correctly SYNCTOOL was invoked
Back to top
View user's profile Send private message
yugendran

New User


Joined: 14 Dec 2007
Posts: 51
Location: indore

PostPosted: Tue Jan 24, 2012 5:22 pm
Reply with quote

Hi All,

I forgot to mention, my i/p and o/p files are VB files..
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jan 24, 2012 5:23 pm
Reply with quote

iirc DATASORT wants a SORT not a copy ( thats the IBM ICETOOL/SORT) behavior

if the header and trailer can be identified then a couple more of include clauses should do the trick
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Jan 24, 2012 5:24 pm
Reply with quote

too bad that You did not post the complete sysout
Back to top
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Jan 24, 2012 5:29 pm
Reply with quote

I guessed Aliases was the trick my bad didnt realise it the first time icon_redface.gif
Back to top
View user's profile Send private message
yugendran

New User


Joined: 14 Dec 2007
Posts: 51
Location: indore

PostPosted: Tue Jan 24, 2012 5:31 pm
Reply with quote

Hi Enrico,

I didn't get anything in sysout.. just the info that i already given is all that i have in my DFSMSG & TOOLMSG..

Not sure if i understand it clearly,,,
is it a prob with CTL1 cards or i can't use datasort for this scenario?

Thanks.
Back to top
View user's profile Send private message
yugendran

New User


Joined: 14 Dec 2007
Posts: 51
Location: indore

PostPosted: Tue Jan 24, 2012 5:35 pm
Reply with quote

Hi Enrico,

I understand it now.. after i modified my cntl card now it is working..

//CTL1CNTL DD *
SORT FIELDS=(5,1,CH,A)
/*

Thanks to all for your valuable suggestions..
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Need to get an DLI abend like U0200 IMS DB/DC 2
Search our Forums:

Back to Top