Command reference / db

STRDFU

Start DFU

The Control Language (CL) command STRDFU starts the data file utility (DFU).

Allowed environments: *INTERACT, *IPGM, *IREXX, *EXEC. Positional parameters: 4.

Parameters

OPTION Option

Specifies the option to use as a value for the DFU main menu.

Type
*ELEM
Required
No
Case
Uppercase
*SELECT
The DFU main menu appears. You can select an option from the menu.
first-menu-option
Type a number between 1 and 5. Type 1 to run, 2 to create, 3 to change, or 4 to delete a DFU program. Type 5 to run a temporary DFU program.
second-menu-option
If you type 1 (to run a DFU program), you can also type a second option. The second option must be 1 or 2. Type 1 to change data, or 2 to display data without changing it.
*NONE
No run option is specified.
Elements in order

DFU option DFU option

Type
*DEC
Required
No
Default
*SELECT
Length
1
Range
1 to 5
Case
Uppercase

Suggested / special values: *SELECT

Run option Run option

Type
*DEC
Required
No
Default
*NONE
Length
1
Range
1 to 2
Case
Uppercase

Suggested / special values: *NONE

DFUPGM DFU program

Specifies the name of the DFU program to be run, created, changed, or deleted. You do not use this parameter if you select option 5 (to run a temporary DFU program).

Type
*QUAL
Required
No
Default
*PRV
Case
Uppercase
*PRV
DFU will use the program that was used in your last DFU session.
program-name
Type the qualified name of the DFU program to be used.
Library: *LIBL
Search the library list for the object.
Library: *CURLIB
Search the current library for the object.
Qualified parts (object, then library; write LIBRARY/OBJECT)

DFU program DFU program

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *PRV

Library Library

Type
*NAME
Required
No
Default
*PRV
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB, *PRV

FILE Data base file

Specifies the database file you want to change or display.

Type
*QUAL
Required
No
Default
*PRV
Case
Uppercase
*PRV
DFU will use the file that was used in your last DFU session.
*SAME
DFU will use the file that was used to define the program. You can specify *SAME only if you select option 1 (to run a DFU program) or option 3 (to change a DFU program).
file-name
Type the qualified name of the data file you want DFU to process. (If you do not specify a library name, *LIBL is used.) Note: Make sure the data-file name is different from the DFU program name.
Library: *LIBL
Search the library list for the object.
Library: *CURLIB
Search the current library for the object.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Data base file Data base file

Type
*NAME
Required
No
Length
10
Case
Uppercase

Suggested / special values: *PRV, *SAME

Library Library

Type
*NAME
Required
No
Default
*PRV
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB, *PRV, *SAME

MBR Member

Specifies the member in the file you want to change or display.

Type
*NAME
Required
No
Default
*PRV
Length
10
Case
Uppercase

Suggested / special values: *PRV, *FIRST

*PRV
DFU will use the member that was used in your last DFU session.
member-name
Type the name of the member you want DFU to process.
*FIRST
Use the first member in the file.

IBM command documentation

Generated from os/cl/catalog/STRDFU.json and os/cl/help/STRDFU.json.