View previous topic :: View next topic
Author
Message
Itanium Active User Joined: 22 Jan 2006Posts: 114 Location: India
I tried to execute the same code and got the below abend, Can you please check and tell me the issue.
Code:
SYNCSORT FOR Z/OS ....
.
.
SYSIN :
OPTION COPY
INREC IFTHEN=(WHEN=INIT,OVERLAY=(81:C'AAAAA')),
*
IFTHEN=(WHEN=(1,1,FS,EQ,NUM),OVERLAY=(81:C'N'),HIT=NEXT),
IFTHEN=(WHEN=(2,1,FS,EQ,NUM),OVERLAY=(82:C'N'),HIT=NEXT),
IFTHEN=(WHEN=(3,1,FS,EQ,NUM),OVERLAY=(83:C'N'),HIT=NEXT),
IFTHEN=(WHEN=(4,1,FS,EQ,NUM),OVERLAY=(84:C'N'),HIT=NEXT),
IFTHEN=(WHEN=(5,1,FS,EQ,NUM),OVERLAY=(85:C'N'))
OUTFIL FNAMES=ALPHA,INCLUDE=(81,5,CH,EQ,C'AAAAA'),BUILD=(1,80)
OUTFIL FNAMES=NUM,INCLUDE=(81,5,CH,EQ,C'NNNNN'),BUILD=(1,80)
OUTFIL FNAMES=ALPHANUM,SAVE,BUILD=(1,80)
WER268A INREC STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Back to top
dick scherrer Moderator Emeritus Joined: 23 Nov 2006Posts: 19244 Location: Inside the Matrix
Hello,
Your system uses Syncsort.
The posted solution is for DFSORT.
For whatever reason you cut off part of the Syncsort messages. I'll guess that you are not running Syncsort 1.3 but some earlier version. If your system is upgraded to Syncsort 1.3, i believe this solution will work for you.
Back to top
Itanium Active User Joined: 22 Jan 2006Posts: 114 Location: India
you are correct Dick, it's not 1.3.
Code:
SYNCSORT FOR Z/OS 1.2.2.1R
I had to cut part of synsort messages as it had my shop details.
Thanks,
Itanium
Back to top
CICS Guy Senior Member Joined: 18 Jul 2007Posts: 2146 Location: At my coffee table
Untested, but something like this should work (I think?????)
Code:
SORT FIELDS=COPY
OUTFIL FNAMES=NUM,
INCLUDE COND=(1,1,EQ,C'0,1,2,3,4,5,6,7,8,9,0',AND
2,1,EQ,C'0,1,2,3,4,5,6,7,8,9,0',AND
3,1,EQ,C'0,1,2,3,4,5,6,7,8,9,0',AND
4,1,EQ,C'0,1,2,3,4,5,6,7,8,9,0',AND
5,1,EQ,C'0,1,2,3,4,5,6,7,8,9,0'),FORMAT=CH
OUTFIL FNAMES=ALPHA,
INCLUDE COND=(1,1,NE,C'0,1,2,3,4,5,6,7,8,9,0',AND
2,1,NE,C'0,1,2,3,4,5,6,7,8,9,0',AND
3,1,NE,C'0,1,2,3,4,5,6,7,8,9,0',AND
4,1,NE,C'0,1,2,3,4,5,6,7,8,9,0',AND
5,1,NE,C'0,1,2,3,4,5,6,7,8,9,0'),FORMAT=CH
OUTFIL FNAMES=ALPHANUM,
INCLUDE COND=(1,1,EQ,C'0,1,2,3,4,5,6,7,8,9,0',OR
2,1,EQ,C'0,1,2,3,4,5,6,7,8,9,0',OR
3,1,EQ,C'0,1,2,3,4,5,6,7,8,9,0',OR
4,1,EQ,C'0,1,2,3,4,5,6,7,8,9,0',OR
5,1,EQ,C'0,1,2,3,4,5,6,7,8,9,0'),AND,
(1,1,NE,C'0,1,2,3,4,5,6,7,8,9,0',OR
2,1,NE,C'0,1,2,3,4,5,6,7,8,9,0',OR
3,1,NE,C'0,1,2,3,4,5,6,7,8,9,0',OR
4,1,NE,C'0,1,2,3,4,5,6,7,8,9,0',OR
5,1,NE,C'0,1,2,3,4,5,6,7,8,9,0'),FORMAT=CH
And by the way, Itanium, did you attempt to manually align the * under the syntax error?
Back to top
Itanium Active User Joined: 22 Jan 2006Posts: 114 Location: India
Quote:
Itanium, did you attempt to manually align the * under the syntax error?
i dont think so.. just copied and pasted.
Back to top
dick scherrer Moderator Emeritus Joined: 23 Nov 2006Posts: 19244 Location: Inside the Matrix
Hello,
Did you try the solution that CG suggested? If so, what happened?
Back to top
Itanium Active User Joined: 22 Jan 2006Posts: 114 Location: India
Back to top
Please enable JavaScript!