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
 

 

Abend with U0016 while using DATASORT

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Abend with U0016 while using DATASORT
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

Moderator


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

PostPosted: Tue Jan 24, 2012 5:01 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Jan 24, 2012 5:10 pm    Post subject: Reply to: Abend with U0016 while using DATASORT
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

Moderator


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

PostPosted: Tue Jan 24, 2012 5:13 pm    Post subject: Re: Reply to: Abend with U0016 while using DATASORT
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Jan 24, 2012 5:18 pm    Post subject: Reply to: Abend with U0016 while using DATASORT
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    Post subject: Reply to: Abend with U0016 while using DATASORT
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Jan 24, 2012 5:23 pm    Post subject: Reply to: Abend with U0016 while using DATASORT
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Jan 24, 2012 5:24 pm    Post subject: Reply to: Abend with U0016 while using DATASORT
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

Moderator


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

PostPosted: Tue Jan 24, 2012 5:29 pm    Post subject:
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    Post subject: Reply to: Abend with U0016 while using DATASORT
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    Post subject: Reply to: Abend with U0016 while using DATASORT
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm
No new posts S213-14 ABEND explantion Apurva Mehta JCL & VSAM 5 Thu Jul 07, 2016 10:56 pm
No new posts How to determine where is error in ab... jackzhang75 PL/I & Assembler 13 Fri Apr 15, 2016 2:01 am


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