View previous topic :: View next topic
|
Author |
Message |
devd
New User
Joined: 19 Mar 2009 Posts: 11 Location: Chennai
|
|
|
|
My SORT step reads as below
Code: |
//STEP002 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=AADFI.CS.DATA.REPORT,DISP=SHR
//SORTOUT DD DSN=AADFI.CS.DATA.REPORT1,SPACE=&SPACE,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=0),
// DISP=(NEW,CATLG,DELETE)
//SYSIN DD DSN=CADFI.SH.BMPX.PARM(CSRDEL2),DISP=SHR
//* |
CSRDEL2 reads as below :
Code: |
OPTION NULLOUT=RC4,VLSHRT
SORT FIELDS=COPY
INCLUDE COND=(13,9,CH,EQ,C'NONVSAM--')
OUTFIL VTOF,BUILD=(1:C' DELETE ',22,35,80:X) |
However when I execute the job I am facing issues and job is going down with SYSOUT giving messages as below :
Code: |
SYNCSORT LICENSED FOR XYZ Company
SYSIN :
OPTION NULLOUT=RC4,VLSHRT
*
SORT FIELDS=COPY
*
INCLUDE COND=(13,9,CH,EQ,C'NONVSAM--')
*
OUTFIL VTOF,BUILD=(1:C' DELETE ',22,35,80:X)
*
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER275A NO KEYWORDS FOUND ON CONTROL STATEMENT
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
******************************* BOTTOM OF DATA *** |
Any help or suggestion , please |
|
Back to top |
|
|
mahi
New User
Joined: 04 Apr 2006 Posts: 86 Location: Hyderabad
|
|
|
|
Hi,
This might be due to the position of the Key words. Change the position of the key words(option etc) from column 1 to 4 or 3 |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
You are showing cards in CSRDEL2 as starting in column 2, but the sysout says column 1.
So, for whatever reason, you are not showing us the cards the sort is using.
Wrong DSN. Wrong member name from that you are showing us. |
|
Back to top |
|
|
devd
New User
Joined: 19 Mar 2009 Posts: 11 Location: Chennai
|
|
|
|
Yeah I got it correct. Basically the psotion of the keywords in the parm were not correct.I corrected it and ran the job. It ran thru successfully.
Thanks guys |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
How'd you get it not correct on the sysin and "correct" in the post? |
|
Back to top |
|
|
devd
New User
Joined: 19 Mar 2009 Posts: 11 Location: Chennai
|
|
|
|
Bill
My bad.... silly error from my side when I was copying the sort card to a new member, got the position wrong and I wasted my time in doing a mini-research |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Dash, not many people own up on these fora once they've done that, so you have my respect and best wishes for the future.
Does happen sometimes, dbz |
|
Back to top |
|
|
devd
New User
Joined: 19 Mar 2009 Posts: 11 Location: Chennai
|
|
|
|
Thank you, Bill |
|
Back to top |
|
|
|