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

Help required for the SORT card.


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

New User


Joined: 12 Sep 2005
Posts: 28

PostPosted: Thu May 04, 2006 11:59 pm
Reply with quote

Can somebody tell me what this SORT card is used for?.
The file sorted by using this SORT card is 928 byte file.

CHANGE=(4,X'0881991C',X'0000000C'),
NOMATCH=(X'9999999C'))
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: Fri May 05, 2006 12:58 am
Reply with quote

Well, that's only a portion of an INREC, OUTREC or OUTFIL control statement. There would be a p,m before CHANGE giving the starting position and length of the input field and possibly a c: before that to indicate the output field position (or the output field position could be set by default). But let's assume the input field position and output field position are the same for simplicity. In that case: The portion you show changes a X'0881991C' value in that field to a X'0000000C' value, and changes any other value in that field to a X'9999999C' value. So basically it's changing P'881991' to P'0' and any other PD value to P'9999999'.

For some more information on DFSORT's CHANGE parameter, see:

www.ibm.com/servers/storage/support/software/sort/mvs/beyond_sorting/online/srtmboft.html#olk
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