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
 

 

ABEND S000 U0016

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: ABEND S000 U0016
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10278
Location: italy

PostPosted: Tue Feb 12, 2008 8:43 pm    Post subject: Reply to: ABEND S000 U0016
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    Post subject: Reply to: ABEND S000 U0016
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    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 C03 ABEND sjiraga PL/I & Assembler 1 Thu Jun 01, 2017 4:51 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
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 abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm


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