Start DFU (STRDFU)
Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Control Language (CL) command STRDFU starts the data file utility (DFU).
Error messages for STRDFU
*ESCAPE Messages
- DFU0005
- The command failed.
- DFU0018
- The Run option is not valid.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
OPTION | Option | Element list | Optional, Positional 1 |
Element 1: DFU option | 1-5, *SELECT | ||
Element 2: Run option | 1-2, *NONE | ||
DFUPGM | DFU program | Qualified object name | Optional, Positional 2 |
Qualifier 1: DFU program | Name, *PRV | ||
Qualifier 2: Library | Name, *PRV, *LIBL, *CURLIB | ||
FILE | Data base file | Qualified object name | Optional, Positional 3 |
Qualifier 1: Data base file | Name, *PRV, *SAME | ||
Qualifier 2: Library | Name, *PRV, *LIBL, *CURLIB | ||
MBR | Member | Name, *PRV, *FIRST | Optional, Positional 4 |
Top |
Option (OPTION)
Specifies the option to use as a value for the DFU main menu.
The possible values are:
- *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.
Top |
DFU program (DFUPGM)
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).
The possible values are:
- *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.
Top |
Data base file (FILE)
Specifies the database file you want to change or display.
The possible values are:
- *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.
Top |
Member (MBR)
Specifies the member in the file you want to change or display.
The possible values are:
- *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.
Top |
Examples
NoneTop |
Top |