CATALOG

Finds the catalog for the graphs
Operating state: All

Syntax

CALL GASK('CATALOG', libref, memname, return-code-variable);

Required Arguments

libref
character variable name; returns the libref of the library in which the current catalog is stored.
memname
character variable name; returns the name of the current output catalog.
return-code-variable
numeric variable name; returns the return code of the routine call, which is 0. See Return Codes for DSGI Routines and Functions.

Details

The GASK('CATALOG', . . . ) routine returns the libref and the name of the current output catalog. GASK('CATALOG', . . . ) returns the default catalog, WORK.GSEG, if no other catalog has been specified with the GSET('CATALOG', . . . ) function.