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

Can we show the contents of RDW ?


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

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Sep 11, 2008 5:22 am
Reply with quote

Hi,

Subject line says it all - Can we show the contents of RDW for a given VB file ?

Why would I like to do it - well, An empty mind is evils workshop..just kidding..actually curiosity..
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Sep 11, 2008 5:39 am
Reply with quote

Please make this query availabe in DFSORT forum as well if possible.

Regards,
Anuj
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Sep 11, 2008 6:21 am
Reply with quote

Ditto?
Redefine it as a "U" file and display it with HEX ON?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Thu Sep 11, 2008 6:57 am
Reply with quote

Hi,

tryhttp://ibmmainframes.com/viewtopic.php?t=28241&highlight=vlen

http://ibmmainframes.com/viewtopic.php?t=33484


Gerry
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1287
Location: Chennai, India

PostPosted: Thu Sep 11, 2008 11:04 am
Reply with quote

Anuj,

Check the DISPLAY operator of ICETOOL.

From the manual:

Quote:
DISPLAY also has two special ON fields you can use:

ON(VLEN) can be used for variable length record data sets to print the length of each record.


Which is nothing but the contents of RDW.

RDW consists of 4 bytes out of which

first 2 bytes - Length of the record
3-4 bytes - Hexadecimal Zeroes

HTH
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Sep 15, 2008 7:03 am
Reply with quote

Gerry,

Thanks for the link, got what I was searching for.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Sep 15, 2008 7:05 am
Reply with quote

Hi CG,

Will try your suggestion soon & get back to you..BTW, I didn't get the meaning of "Ditto"..there.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Sep 15, 2008 7:05 am
Reply with quote

Hi Aaru,

I would take some time to work on your suggestion, anyhow I can't acees mainframes these days, Thanks.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Sep 15, 2008 7:27 am
Reply with quote

Hi Anuj,

Quote:
I didn't get the meaning of "Ditto"..there.
DITTO is a very old IBM utility program that was how many of us "hex-dumped" records, copied files, did rather dangerous disk "patching - DRL (disp record load) if i remember)" and many, many other things.

DITTO was/is an acronym for "Data Interfile Transfer, Testing, and Operations" Utility.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Sep 15, 2008 7:44 am
Reply with quote

Hi Dick,

I heard about DITTO in conjunction with VSAM, however never used it. I couldn't realized some/any connection of 'it' with RDW of VB files, Thanks.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Sep 15, 2008 8:17 am
Reply with quote

Hi Anuj,

DITTO is much older than vsam icon_smile.gif

One of the DITTO commands was a "disk dump" that hex dumped physical blocks rather than logical records. This would let one see both the block descriptor as well as the record descriptor.
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 Sort counter to show records combination JCL & VSAM 2
No new posts how to show listing in physical locat... PL/I & Assembler 2
No new posts Conditional step execution based on P... JCL & VSAM 9
This topic is locked: you cannot edit posts or make replies. how to show the class of an ims trans... CLIST & REXX 11
No new posts Prblem with mail having MIME contents JCL & VSAM 2
Search our Forums:

Back to Top