Help needed in viewing RDW of a record.

This Forum is for the guests or the users who are not registered on this board. This part allows guests to post in.
VB RDW

Help needed in viewing RDW of a record.

Post by VB RDW »

Hi,

How can we see the RDW of a file using file-aid?

After making search I found some suggestions like this:

Code: Select all

//STEP01  EXEC PGM=FILEAID                  
//SYSPRINT DD SYSOUT=*                      
//DD01     DD DSN=... input.file,DISP=SHR 
//SYSIN   DD *                              
$$DD01  LIST RDW=3 
/* 
Or form the manual:
Example 1:
$$DD01 LIST RDW=3,IF=(1,EQ,C'A'),MOVE=(1,100,1)
Example 1 lists the first 100 bytes of all records of this variable-length dataset that contain the character A in the first data byte of the record (not including the 4-byte system RDW). The RDW is not included during record processing as specified by the RDW parameter and is not printed since the MOVE parameter is present with the LIST function.
But what is the meaning of RDW=3? I have also seen RDW=2. What exactly that mean? Also in manual example, what is the benefit of using MOVE=(1,100,1)?
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: Help needed in viewing RDW of a record.

Post by nicc »

Did you a) look at the syntax diagrams and the explanations, b) try the examples?
Regards
Nic
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1885
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Help needed in viewing RDW of a record.

Post by Robert Sample »

The File Aid Batch Reference Manual has a good explanation of the use of RDW=, including the various values that can be used. If your site is licensed for File Aid, then you have access to the manuals and can read this explanation yourself.
User avatar
ApexNC
Registered Member
Posts: 10
Joined: Sun Dec 08, 2013 7:03 pm
Contact:

Re: Help needed in viewing RDW of a record.

Post by ApexNC »

From the File Aid MVS Reference Summary, p. 68:
[ ftp://ftp.compuware.com/pub/cso/germany ... ummary.pdf ]

RDW

Controls the inclusion or exclusion of the record descriptor word for variablelength
record processing. Must be the first parameter specified after a function.

RDW=n

Values for n are:
0 (Default) Include the RDW during record processing and display it on output.
1 Include the RDW during record processing, but do not display it on output.
2 Do not include the RDW during record processing, but display it on output.
3 Do not include the RDW during record processing, and do not display it on output

Personally, whenever a tool starts to impede rather than facilitate, I just use basic assembler language and all these annoyances usually disappear.
VB RDW

Re: Help needed in viewing RDW of a record.

Post by VB RDW »

ApexNC wrote:From the File Aid MVS Reference Summary, p. 68:
[ ftp://ftp.compuware.com/pub/cso/germany ... ummary.pdf ]

RDW

Controls the inclusion or exclusion of the record descriptor word for variablelength
record processing. Must be the first parameter specified after a function.

RDW=n

Values for n are:
0 (Default) Include the RDW during record processing and display it on output.
1 Include the RDW during record processing, but do not display it on output.
2 Do not include the RDW during record processing, but display it on output.
3 Do not include the RDW during record processing, and do not display it on output

Personally, whenever a tool starts to impede rather than facilitate, I just use basic assembler language and all these annoyances usually disappear.
Thank you so much. It helps.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “You are a Guest.”