The DECLARE-PROCEDURE statement defines a procedure.
The UDS online utility stores a procedure declaration internally for later processing. Faulty procedure statements are only recognized when the procedure executes.
DECLARE-PROCEDURE |
PROCEDURE-NAME = <structured-name 1..20> ,CODE = <c-string 1..1800> / <filename> / *SYSDTA |
PROCEDURE-NAME = <structured-name 1..20>
Name of the procedure which is to be stored. The procedure name may be up to 20 characters long and must be unique. The names of predefined standard procedures may not be used.
CODE = <c-string 1..1800>
Complete code of the procedure.
CODE = <filename>
Name of the file containing the procedure statements. This file can be either a SAM file or an ISAM file with default parameters (RECFORM=V, KEYLEN=8, KEY- POS=5).
CODE = *SYSDTA
The procedure statements should be read in from SYSDTA.