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

Sort SYSIN (Sort card meaning)


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

New User


Joined: 17 Feb 2007
Posts: 46
Location: mumbai

PostPosted: Thu Aug 19, 2010 12:51 pm
Reply with quote

Can any one explain me the following meaning of the sort card


Code:
 INREC FIELDS=(X'0000000001')                   
   SORT FIELDS=(001,01,BI,A)                     
     SUM FIELDS=(002,04,BI)                     
 OUTREC FIELDS=(002,04,BI,EDIT=(TTTTTTTTT),     
                080:01X) PAD TO 80 WITH BLANKS   "

Code'd
Back to top
View user's profile Send private message
smijoss

Active User


Joined: 30 Aug 2007
Posts: 114
Location: pune

PostPosted: Thu Aug 19, 2010 2:08 pm
Reply with quote

it will get the records count ....

it could have been coded in better way though
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Thu Aug 19, 2010 10:37 pm
Reply with quote

Yes, it's a very inefficient way to get the record count. See the "Display the number of input or output records" Smart DFSORT Trick at:

www.ibm.com/support/docview.wss?rs=114&uid=isg3T7000094

for better ways to do that.
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 Need to set RC4 through JCL SORT DFSORT/ICETOOL 5
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
Search our Forums:

Back to Top