DECAT

Produces intermediate object code ($/£ item) from a cataloged DataBasic program residing in POINTER-FILE or the source file, and saves it in the source file.

Caution

Used in upgrade procedure via SYS-UPDATE. Do not run from TCL unless advised to do so.

Syntax

DECAT cataloged-program-name {(options}

or

DECAT POINTER-FILE item-id {(options}

Syntax Elements

cataloged-program-name
name used when the program was last cataloged. The command definition indicates where the executable item is located. If the executable item is in the source file, DECAT only overwrites the intermediate item if the O option is specified.

item-id identity of actual object item in POINTER-FILE, with the format account*C*source-item-id. The intermediate item is written to the file specified in the header of the POINTER-FILE item.

Options

H Uses item-id from header for item name (in case pointer has been copied to a new name).

O Overwrite existing intermediate object code item.

Comments

DECAT is also useful when a source item has been lost and the intermediate item is corrupted (does not BVERIFY), when DECAT can be used to recover the intermediate item.