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
 

 

S001 abend during sort

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

New User


Joined: 17 May 2008
Posts: 10
Location: Hyderabad

PostPosted: Wed Sep 17, 2008 4:02 am    Post subject: S001 abend during sort
Reply with quote

Hi
I am getting S001 abend during sort
Please help
Code:

000013 //STEP010 EXEC PGM=SARBCH                           
000014 //*                                                 
000015 //SYSOUT    DD SYSOUT=*                             
000016 //SYSPRINT  DD SYSOUT=*                             
000017 //*                                                 
000018 //SARRPT1   DD DSN=VENEPU.CP000000.GLOB.FFB.SYSOUT, 
000019 //          DISP=(MOD,CATLG,DELETE),                 
//          DCB=(DSORG=PS,LRECL=133,RECFM=FB),             
//          UNIT=SYSDA,                                     
//          SPACE=(CYL,(1,1),RLSE)                         
//*                                                         
//SYSIN     DD DSN=VENEPU.VINOD.CTC(SARCTC),DISP=SHR       
//*                                                         
//STEP11   EXEC PGM=SORT                                   
//SYSOUT   DD *                                             
//SYSPRINT DD SYSOUT=*                                     
//SORTIN   DD DSN=VENEPU.CP000000.GLOB.FFB.SYSOUT,         
//            DISP=(MOD,CATLG,DELETE)                       
//SORTOUT  DD DSN=VENEPU.TSOXC.JOBS,                       
//            DISP=(NEW,CATLG,DELETE),                     
//            DCB=(LRECL=100,RECFM=FB),                     
//            UNIT=SYSDA,                                   
//            SPACE=(CYL,(1,1),RLSE)                       
//SYSIN    DD *                                             
              SORT FIELDS=COPY                             
              INCLUDE COND=(86,10,CH,EQ,C'09/16/2008')     
/*                                                         

This is the jcl i am using
I am getting an error message as
IEC020I EROPT IS 'ABE' OR NOT SPECIFIED
WER999A SARBAT02,STEP11 , - UNSUCCESSFUL SORT 001 S
IEC020I 001-1,SARBAT02,STEP11 ,SYSOUT ,JES
Code:
Back to top
View user's profile Send private message

gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Wed Sep 17, 2008 4:25 am    Post subject:
Reply with quote

Hi,

your problem is this statement
Code:
//SYSOUT   DD *   



it shoud be
Code:
//SYSOUT   DD SYSOUT=*




Gerry
Back to top
View user's profile Send private message
akpannur
Currently Banned

New User


Joined: 17 May 2008
Posts: 10
Location: Hyderabad

PostPosted: Wed Sep 17, 2008 4:45 am    Post subject:
Reply with quote

Hi

Thank u very much : icon_surprised.gif
Thanks for helping
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Sep 17, 2008 7:08 am    Post subject:
Reply with quote

Hello,

Your system uses Syncsort rather than DFSORT - the topic has been moved to JCL where Syncsort topics are discussed.

Code:
//SORTIN   DD DSN=VENEPU.CP000000.GLOB.FFB.SYSOUT,         
//            DISP=(MOD,CATLG,DELETE)   
I believe changing the disp to OLD would be better. You should not issue CATLG more than once for a dataset.
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 Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


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