MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sorting a Variable Length VSAM file using DFSORT

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
pzmohanty
Beginner


Joined: 20 May 2004
Posts: 97
Topics: 43
Location: hyderabad, India

PostPosted: Tue Aug 31, 2004 10:28 am    Post subject: sorting a Variable Length VSAM file using DFSORT Reply with quote

hi all,

As we all know that if a file is to be sorted, is a Variable length flat file , then we have to add 4 to the actual position of the field in the file b'coz first four bytes of the record are kept apart for Record Descriptor Word.

Does the above all facts doesnot hold true for VSAM files , since each CI in VSAM file has its own RDF.

please confirm.

Thanx in advnc.
P.R.Mohanty
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Frank Yaeger
Sort Forum Moderator
Sort Forum Moderator


Joined: 02 Dec 2002
Posts: 1618
Topics: 31
Location: San Jose

PostPosted: Tue Aug 31, 2004 10:53 am    Post subject: Reply with quote

DFSORT can treat a VSAM file either as an FB file or as a VB file. If all of the records in the VSAM file are the same length, you can have DFSORT treat it as an FB file. Otherwise, you can have DFSORT treat it as a VB file. When DFSORT treats a VSAM file as a VB file, it adds an RDW for input and removes the RDW for output.

For more information on processing VSAM files with DFSORT, see:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA00/1.8.3.4?SHELF=&DT=20031124143823&CASE=
_________________
Frank Yaeger - DFSORT Development Team (IBM)
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group