IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

S001 abend during sort


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1702
Location: Australia

PostPosted: Wed Sep 17, 2008 4:25 am
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
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

Moderator Emeritus


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

PostPosted: Wed Sep 17, 2008 7:08 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
Search our Forums:

Back to Top