Update Data with Temp Program (UPDDTA)
Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Control Language (CL) command UPDDTA creates and runs a temporary DFU program. You can use this temporary program to enter new records or change existing records in an existing database file.
Error messages for UPDDTA
*STATUS Messages
- DFU0251
- DFU is creating temporary program &1 for you to run.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
FILE | Data base file | Qualified object name | Optional, Positional 1 |
Qualifier 1: Data base file | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
MBR | Member | Name, *FIRST | Optional, Positional 2 |
Top |
Data base file (FILE)
Specifies the qualified name of the data file to be updated.
- *LIBL
- DFU will use your library list to search for a specified program.
- *CURLIB
- Type *CURLIB to use your current library. If no current library entry exists in the library list, QGPL is used. If you do not specify a library name, *LIBL is used.
Top |
Member (MBR)
Specifies the member in the file you want to update.
The possible values are:
- *FIRST
- You will update the first member of the file.
- member-name
- Type the name of the member you want to update.
Top |
Examples
NoneTop |
Top |