Previous Topic: How to Modify the VPE File TablesNext Topic: How to Modify the SCPSUTIL Output Printer Control Character or Filenames


ROSFD Macro

The following is the syntax for the ROSFD macro:

►►─ namelabl ─ ROSFD ─ ACCMETH= ─┬─ BDAM ─┬─ , ───────────────────────────────►
                                 └─ SEQ ──┘

 ►─┬───────────────────────────┬─ , ─ BLKSIZE= ─ nnnnn ───────────────────────►
   └─ ADDRESS= ─┬─ ABS ──────┬─┘
                ├─ RELBLK ───┤
                └─ RELTRK ◄ ─┘

 ►─ CTLCHAR= ─┬─ YES ─┬─ , ─┬────────────────────────────┬─ , ────────────────►
              └─ ASA ─┘     └─ DDNAME= ─┬─ namelabl ◄ ─┬─┘
                                        └─ ddname ─────┘

 ►─ LRECL= ─ nnnn ─ , ────────────────────────────────────────────────────────►◄
namelabl

This label is a required field. At execution time, it is used as the name provided on VPE I/O service calls for the data set. If you do not specify a name for the following DDNAME= keyword, ROSFD uses this name for the data set.

ACCMETH=

Specifies the access method used for the data set. Valid values are:

BDAM

Default.

SEQ

Specifies the sequential access method.

ADDRESS=

Specifies the type of addressing used for data sets specified as ACCMETH=BDAM. Valid values are:

ABS

Absolute Addressing, which uses the MBBCCHHR addressing

RELBLK

Relative Block Addressing.

RELTRK

Relative Track Addressing, which uses the TTR addressing scheme. This is the default scheme.

BLKSIZE=

Specifies a data set's block size. Valid values are 0 through 32767 bytes. If you specify BLKSIZE=0, you must place the BLKSIZE value in the JCL or the DSCB of the data set.

CTLCHAR=

Specifies the type of printer control character. Valid values are:

ASA

ANSI

YES

360-machine type

DDNAME=

Specifies the ddname that identifies a physical data set. You can enter a valid ddname or omit a value. If you omit a value, the name label is used as the ddname.

LRECL=

Specifies the logical record length of the data set. If you specify LRECL=0, you must place the LRECL value in the JCL or the DCB of the data set.