avaneendra_linga
New User
Joined: 13 Dec 2006 Posts: 73 Location: Hyderabad
|
|
|
|
Hi,
i am getting SOC7 abend while doing TOT in trailer record.
can anybody help on this...
Code: |
//STEP1 EXEC PGM=SORT
//SORTIN DD *
12,345
01,234
/*
//RPT3 DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//SYSIN DD *
OPTION COPY
OUTFIL FNAMES=RPT3,
OUTREC=(9:9,6,ZD,EDIT=(SIIIIIT),SIGNS=(,-),X,80:X),
TRAILER1=(1:'TOTALS',9:TOT=(9,6,ZD,M12,LENGTH=6))
/* |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
I think that the commas in your 9,6 field are the problem, rather than ZD, DFSORT has UFF and SFF formats to take care of the imbeded commas. |
|