Joined: 20 May 2004 Posts: 97 Topics: 43 Location: hyderabad, India
Posted: Tue Aug 31, 2004 10:28 am Post subject: sorting a Variable Length VSAM file using DFSORT
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.
Joined: 02 Dec 2002 Posts: 1618 Topics: 31 Location: San Jose
Posted: Tue Aug 31, 2004 10:53 am Post subject:
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:
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