View previous topic :: View next topic
|
Author |
Message |
yugendran
New User
Joined: 14 Dec 2007 Posts: 51 Location: indore
|
|
|
|
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 |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
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 |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
yugendran
New User
Joined: 14 Dec 2007 Posts: 51 Location: indore
|
|
|
|
Hi All,
I forgot to mention, my i/p and o/p files are VB files.. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
too bad that You did not post the complete sysout |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
I guessed Aliases was the trick my bad didnt realise it the first time |
|
Back to top |
|
|
yugendran
New User
Joined: 14 Dec 2007 Posts: 51 Location: indore
|
|
|
|
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 |
|
|
yugendran
New User
Joined: 14 Dec 2007 Posts: 51 Location: indore
|
|
|
|
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 |
|
|
|