|
|
| Author |
Message |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 2239 Location: Mumbai, India
|
|
|
|
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 |
|
 |
References
|
|
 |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 2239 Location: Mumbai, India
|
|
|
|
Please make this query availabe in DFSORT forum as well if possible.
Regards,
Anuj |
|
| Back to top |
|
 |
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 1199 Location: At my desk
|
|
|
|
Ditto?
Redefine it as a "U" file and display it with HEX ON? |
|
| Back to top |
|
 |
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 670
|
|
| Back to top |
|
 |
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1184 Location: Chennai - India
|
|
|
|
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 |
|
 |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 2239 Location: Mumbai, India
|
|
|
|
Gerry,
Thanks for the link, got what I was searching for. |
|
| Back to top |
|
 |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 2239 Location: Mumbai, India
|
|
|
|
Hi CG,
Will try your suggestion soon & get back to you..BTW, I didn't get the meaning of "Ditto"..there. |
|
| Back to top |
|
 |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 2239 Location: Mumbai, India
|
|
|
|
Hi Aaru,
I would take some time to work on your suggestion, anyhow I can't acees mainframes these days, Thanks. |
|
| Back to top |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 8768 Location: 221 B Baker St
|
|
|
|
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 |
|
 |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 2239 Location: Mumbai, India
|
|
|
|
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 |
|
 |
dick scherrer
Global Moderator
Joined: 23 Nov 2006 Posts: 8768 Location: 221 B Baker St
|
|
|
|
Hi Anuj,
DITTO is much older than vsam
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 |
|
 |
|
|