Command reference / db

UPDDTA

Update Data with Temp Program

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.

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

Parameters

FILE Data base file

Specifies the qualified name of the data file to be updated.

Type
*QUAL
Required
No
Case
Uppercase
*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.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Data base file Data base file

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

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

Suggested / special values: *LIBL, *CURLIB

MBR Member

Specifies the member in the file you want to update.

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

Suggested / special values: *FIRST

*FIRST
You will update the first member of the file.
member-name
Type the name of the member you want to update.

IBM command documentation

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