Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
U0016 abend during syncsort

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

New User


Joined: 23 Oct 2004
Posts: 5

PostPosted: Fri Nov 05, 2004 1:14 am    Post subject: U0016 abend during syncsort
Reply with quote

am getting U0016 abend.
What I am doing is reformatting a VB file (2082) to give a 2807 length VB file.
I am getting this error in copying the last few fields (of variable length)
My sort step is:


//STEP30 EXEC PGM=SORT
//SORTIN DD DSN=TSRG.FSBFC.RC199,
// DISP=(SHR,KEEP,KEEP)
//SORTOUT DD DSN=TSRG.FSBFC.RC199.REFORM,
// DISP=(OLD,CATLG,DELETE),
// DCB=(RECFM=VB,LRECL=2807,BLKSIZE=0,
// DSORG=PS),SPACE=(CYL,(900,100),RLSE),
// LABEL=RETPD=10,
// UNIT=DISK
//SYSOUT DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=COPY,STOPAFT=100
OMIT COND=(15,3,CH,EQ,C'CIF')
OUTREC FIELDS=(1,4,C'LB306AA07',8X,C'BP',3X,66,11,17X,6X'00',
64X,C'54664',10,1742,2X,1874:36X'00',6X,9X'00',X,
4X'00',10X,4X'00',4X,53X'00',10X,8X'00',8X,4X'00',
33X,62X'00',4X,2X'00',7X,17X'00',178X,32X'00',33X,
6X'00',7X,15X'00',50X,1752,3,1755,52)
/*

Till 1752,3 all is fine....

Also 1755,52 works with couple of records but not when number of records is more(e.g. 100).
Looks like space issue. Any inputs?
icon_rolleyes.gif
Back to top
View user's profile Send private message

gandhire

New User


Joined: 23 Oct 2004
Posts: 5

PostPosted: Fri Nov 05, 2004 5:50 am    Post subject:
Reply with quote

The data starts from 1751 posn - variable length and is like -

MAY YAY LAY OAY AVY PYY PUY CYY VP1 TAP FUPUCTACRE00
DTY ATY MAY YAY LAY OAY AVY PYY PUY CYY VP1 TAP FUPUCTACRE00
LAY OAY VP1 TAP SF4UXF04FUPURE00BC01
MAY YAY LAY OAY AVY PUY TAP FUPUCTACRE00

It starts at position 1751 and length is variable as this particular field is variable.
I also tried copying only the variable block records into a file.
SORT FIELDS=COPY
INREC FIELDS=(1,4,10:1755,328)
This also did not work.
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 Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
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 SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 7 Sat Jan 21, 2017 4:02 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us