View previous topic :: View next topic
|
Author |
Message |
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 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: 2146 Location: At my coffee table
|
|
|
|
Ditto?
Redefine it as a "U" file and display it with HEX ON? |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 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 Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Gerry,
Thanks for the link, got what I was searching for. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 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 Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 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
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 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
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|