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

SOC7 ABEND WHILE DOING TOT IN DFSORT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
avaneendra_linga

New User


Joined: 13 Dec 2006
Posts: 73
Location: Hyderabad

PostPosted: Fri Feb 16, 2007 4:57 pm
Reply with quote

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))   
/*
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Fri Feb 16, 2007 5:12 pm
Reply with quote

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.
Back to top
View user's profile Send private message
avaneendra_linga

New User


Joined: 13 Dec 2006
Posts: 73
Location: Hyderabad

PostPosted: Fri Feb 16, 2007 5:59 pm
Reply with quote

HiThompson,
it was working with UFF, Thx a lot it was a great help for me.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts DFsort help with SUM() DFSORT/ICETOOL 12
Search our Forums:

Back to Top