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
 

 

issue with SORT card

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
devd

New User


Joined: 19 Mar 2009
Posts: 11
Location: Chennai

PostPosted: Wed Jun 29, 2011 4:02 pm    Post subject: issue with SORT card
Reply with quote

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
View user's profile Send private message

mahi

New User


Joined: 04 Apr 2006
Posts: 86
Location: Pune

PostPosted: Wed Jun 29, 2011 4:38 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Wed Jun 29, 2011 4:44 pm    Post subject: Reply to: issue with SORT card
Reply with quote

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
View user's profile Send private message
devd

New User


Joined: 19 Mar 2009
Posts: 11
Location: Chennai

PostPosted: Wed Jun 29, 2011 4:48 pm    Post subject:
Reply with quote

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 icon_smile.gif
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Wed Jun 29, 2011 4:50 pm    Post subject:
Reply with quote

How'd you get it not correct on the sysin and "correct" in the post?
Back to top
View user's profile Send private message
devd

New User


Joined: 19 Mar 2009
Posts: 11
Location: Chennai

PostPosted: Wed Jun 29, 2011 4:54 pm    Post subject:
Reply with quote

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 icon_sad.gif
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Wed Jun 29, 2011 4:59 pm    Post subject:
Reply with quote

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
View user's profile Send private message
devd

New User


Joined: 19 Mar 2009
Posts: 11
Location: Chennai

PostPosted: Wed Jun 29, 2011 6:20 pm    Post subject:
Reply with quote

Thank you, Bill icon_smile.gif
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 How to change 'K' or 'M' use Sort vice_versa DFSORT/ICETOOL 5 Thu May 18, 2017 7:11 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
This topic is locked: you cannot edit posts or make replies. SORT trick needed bshkris SYNCSORT 6 Tue May 02, 2017 4:35 am
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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