TRANSNO

Finds the number of the transformation to be used
Operating state: GKOP, SGOP, WSAC, WSOP

Syntax

CALL GASK('TRANSNO', n, return-code-variable);

Required Arguments

n
numeric variable name; returns the number of the current transformation.
return-code-variable
numeric variable name; returns the return code of the routine call, which can be 0 or 8. See Return Codes for DSGI Routines and Functions.

Details

The GASK('TRANSNO', . . . ) routine returns the current transformation. If a transformation has not been previously selected with the GSET('TRANSNO', . . . ) function, GASK('TRANSNO', . . . ) returns the number of the default transformation, 0.