Work with Device Tables (WRKDEVTBL)

Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC)
Threadsafe: No
Parameters
Examples
Error messages

The Work with Device Tables (WRKDEVTBL) command allows you to display and work with finance device tables and, once they are created, allows addition or deletion of device names in these tables. Several finance device tables can be defined, but each table must have a unique name.

An updated finance device table can be accessed by any finance job submitted after all changes are completed.

Restriction: Only the QFNC user profile is authorized to use this command.

Top

Parameters

Keyword Description Choices Notes
DEVTBL Device table Name, *SELECT, *ALL Optional, Positional 1
TEXT Text 'description' Character value, *BLANK Optional
Top

Device table (DEVTBL)

Specifies the name of a device table that contains 4704 or 3624 device names.

The possible values are:

*ALL
Displays all of the device tables currently defined.
*SELECT
The Work with Device Tables display is shown. Through this display you can create, change, delete, or display device tables.
device-table-name
Specify the name of the device table that you want to work with.
Top

Text 'description' (TEXT)

Specifies the text that briefly describes the object.

The possible values are:

*BLANK
No text is specified.
'description'
Specify no more than 50 characters of text, enclosed in apostrophes.
Top

Examples

Example 1: Working With All Finance Device Tables

WRKDEVTBL   DEVTBL(*SELECT)

This command allows you to work with all of the finance device tables. The options are to add a new table, select an existing table for update, or create, delete, or display tables.

Example 2: Working With One Finance Device Table

WRKDEVTBL   DEVTBL(DEVTBL1)

This command allows you to work with the device table DEVTBL1. The options are to create a new table, or change, display, or delete the table.

Top

Error messages

*ESCAPE Messages

CPF8379
Error while processing file &1 in &2.
CPF8380
Error while opening file &1 in &2.
CPF8381
Error while closing file &1 in &2.
Top