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.
Previous topicNext topic

Topic Author
VB RDW

Help needed in viewing RDW of a record.

Post by VB RDW » Sat Dec 26, 2015 10:40 am

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: 583
Joined: Wed Apr 23, 2014 8:45 pm

Re: Help needed in viewing RDW of a record.

Post by nicc » Sat Dec 26, 2015 3:33 pm

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: 1340
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

Re: Help needed in viewing RDW of a record.

Post by Robert Sample » Sat Dec 26, 2015 6:40 pm

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
Zodiac: Scorpio

Re: Help needed in viewing RDW of a record.

Post by ApexNC » Sat Dec 26, 2015 9:13 pm

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.




Topic Author
VB RDW

Re: Help needed in viewing RDW of a record.

Post by VB RDW » Sun Dec 27, 2015 10:58 am

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.



Previous topicNext topic

Return to “You are a Guest.”