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

identify which records are spanned in VBS file


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

Active User


Joined: 25 Apr 2007
Posts: 206
Location: Bangalore

PostPosted: Wed May 12, 2010 12:35 pm
Reply with quote

Hi,

I have a VBS file. It has spanned records (this is shown in the output from the HISTOGRAM (an old utility from SYNCSORT), but i am not able to find exactly which records are spanned records.

Can anyone please help?

Thank You
Ajay
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed May 12, 2010 3:06 pm
Reply with quote

What are the file attributes, RECFM & LRECL
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed May 12, 2010 5:09 pm
Reply with quote

The key question to me, is why on earth would you want to know this?

The RDW (Record Descriptor Word) at the front of each record is 4 bytes. The first two bytes are the length of the record. The second two bytes have, AFAIK, 4 possible values:
00 -- record begins and ends in the current block
01 -- record begins but does not end in the current block
02 -- record ends but does not begin in the current block
03 -- record neither begins nor ends in the current block

The 02 and 03 meanings may be swapped; it's been a long time since I looked at the manual that describes these fields.
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(F1 & F2) and writ... JCL & VSAM 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top