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

VSAM files first 4 bytes specify the length of that record


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
som_infotech

New User


Joined: 25 Feb 2006
Posts: 38
Location: chennai-india

PostPosted: Sat Oct 14, 2006 5:36 pm
Reply with quote

whether VSAM files first 4 bytes specify the length of that record
VSAM file is VARIABLE LENGTH.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Sat Oct 14, 2006 6:01 pm
Reply with quote

Hi There,

For a VB data set, different records can have different lengths. The first four bytes of each record contain the Record Descriptor Word or RDW, and the first two bytes of the RDW contain the length of that record (in binary).

publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/rzatb/recblock.htm

Hope it will helpful
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: Sun Oct 15, 2006 8:49 pm
Reply with quote

Quote:
whether VSAM files first 4 bytes specify the length of that record
VSAM file is VARIABLE LENGTH.


No, they don't. VSAM files have their own organization different from QSAM files. QSAM VB records have the length stored in binary in the first two bytes of the record (within the four byte RDW). VSAM variable records have the length stored in an RDF, not at the start of the record.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Store the data for fixed length COBOL Programming 1
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
Search our Forums:

Back to Top