Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Can we show the contents of RDW ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Anuj Dhawan

Senior Member


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

PostPosted: Thu Sep 11, 2008 5:22 am    Post subject: Can we show the contents of RDW ?
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

Senior Member


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

PostPosted: Thu Sep 11, 2008 5:39 am    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Thu Sep 11, 2008 6:21 am    Post subject:
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: 1703
Location: Australia

PostPosted: Thu Sep 11, 2008 6:57 am    Post subject:
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: 1288
Location: Chennai, India

PostPosted: Thu Sep 11, 2008 11:04 am    Post subject: Reply to: Can we show the contents of RDW ?
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

Senior Member


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

PostPosted: Mon Sep 15, 2008 7:03 am    Post subject:
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

Senior Member


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

PostPosted: Mon Sep 15, 2008 7:05 am    Post subject:
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

Senior Member


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

PostPosted: Mon Sep 15, 2008 7:05 am    Post subject:
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

Site Director


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

PostPosted: Mon Sep 15, 2008 7:27 am    Post subject:
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

Senior Member


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

PostPosted: Mon Sep 15, 2008 7:44 am    Post subject:
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

Site Director


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

PostPosted: Mon Sep 15, 2008 8:17 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm
No new posts Consolidating and summing file contents Kevin Lindsley SYNCSORT 14 Thu Jun 09, 2016 5:24 am
No new posts Read contents of PS file scorp_rahul23 JCL & VSAM 3 Mon Mar 28, 2016 10:28 pm
No new posts Combining contents of 2 files in to s... sprikitik SYNCSORT 1 Fri Jan 22, 2016 2:16 pm
No new posts Need to show date in "DYYMMDD.TH... deepak_shrivastava DFSORT/ICETOOL 2 Tue Jan 05, 2016 7:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us