Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
RealityV15.1Online Documentation (MoTW) Revision 7
DECAT command (DataBasic) (m618704+decat.htm)
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.
DECAT cataloged-program-name {(options}
or
DECAT POINTER-FILE item-id {(options}
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.
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.
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.