Previous Topic: OPS/REXX ProgramsNext Topic: WRITETBL Program—Create Backup RDF Table


READTBL Program—Read Backup Data Set

The READTBL OPS/REXX program reads the backup data set created by the WRITETBL program and rebuilds the table on the target CA OPS/MVS system using the data from the data set. Use the TABLE keyword to rename the reconstructed table.

To invoke the READTBL program, issue the following command:

OI READTBL
[CMDRESP(TERMINAL|XDQ)]
[DSNAME(datasetname)]
[FIND(tablename)]
[LIST]
[SUBSYS(subsystem)]
[TABLE(tablename)]

Specify these keywords when you invoke the READTBL program:

CMDRESP

(Optional) Has the following possible values:

TERMINAL

Causes messages to be issued to the terminal or default destination.

XDQ

Causes messages to be placed in the REXX external data queue.

Default: TERMINAL

DSNAME

(Optional) Defines the name of the backup data set. To specify the full data set name, enclose the name within a pair of single quotes, as shown in the following example. If you omit the quotes, the user ID becomes the high-level node.

DSNAME('OPS.BACKUP.STCTBL')

Note: The backup data set must have the attributes DSORG=PS, RECFM=FB, LRECL=80. In addition, WRITETBL must have been used to offload the table into this data set.

Note: If you specify no data set name, CA OPS/MVS uses the default name userid.subsys.WRITETBL.

FIND

(Optional) Searches the backup data set for a matching table name. If a matching table name is found, the table is recreated.

LIST

(Optional) Reads a backup data set and issues a message for each table name that is found.

SUBSYS

(Optional). Defines the subsystem name of CA OPS/MVS that contains the desired table.

TABLE

(Optional) Defines the name of the recreated table.

Default: The original name of the table.