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 /*
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)?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.