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

ABEND S000 U0016


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
PRABHATH
Warnings : 1

New User


Joined: 08 Jun 2006
Posts: 28
Location: hyderabad

PostPosted: Tue Feb 12, 2008 8:39 pm
Reply with quote

I'm using the following JCL and getting the abend:ABENDED S000 U0016.

Code:

//STEP1 EXEC PGM=SORT                                 
//SORTIN DD DSN=SOPVG1.SAVE.PS,DISP=SHR                 
//SORTOUT DD DSN=&&SORTED,DISP=(,PASS,DELETE),             
//           SPACE=(TRK,(10,10)),UNIT=SYSDA             
//SYSIN DD *                                             
  SORT FIELDS=(0,10,CH,A)                                 
/*                                                       
//STEP2 EXEC PGM=IDCAMS                                 
//SYSPRINT DD SYSOUT=*                                   
//INPUT DD DSN=&&SORTED,DISP=(OLD,DELETE,DELETE)         
//OUTPUT DD DSN=SOPVG1.TEST.KSDS,DISP=SHR               
//SYSIN DD *                                             
  REPRO INFILE(INPUT)  -                                 
        OUTFILE(OUTPUT)
/*
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Feb 12, 2008 8:43 pm
Reply with quote

I might be wrong... but,
Quote:
SORT FIELDS=(0,10,CH,A)


what does the manual say about the syntax
is the first parameter an offset or a starting position ?
Back to top
View user's profile Send private message
PRABHATH
Warnings : 1

New User


Joined: 08 Jun 2006
Posts: 28
Location: hyderabad

PostPosted: Tue Feb 12, 2008 8:55 pm
Reply with quote

thanx...yes its a syntax error...sort(1,10,ch,a) is the correct way.
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 ISAM and abend S03B JCL & VSAM 9
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
No new posts Need to get an DLI abend like U0200 IMS DB/DC 2
Search our Forums:

Back to Top