DCL:MATH1:SYSLIB : Internal Variable Management and Message Output:Explanation of Subroutines
Inquires/changes character-type internal variables used in MATH1.(GLCSTX allows changes through runtime options.)
CALL GLCGET(CP,CPARA)
CALL GLCSET(CP,CPARA)
CALL GLCSTX(CP,CPARA)
CP (C*8) Name of an internal variable CPARA (C*(*)) Value of a character-type internal variable
The following is a list of names that can be specified as CP.
'DCLRC' (C) Name of an external file that is read for runtime options. (Takes the value value .dclrc. in the standard library). However, the value of this internal variable is not used directly as the file name. See notes for detail. 'DUPATH' (C) Pathname under which various database files for the user are placed. The initial value in the standard library is ' ' . (Blank: represents current directory). 'DSPATH' (C) Pathname under which various database files provided by the system is placed. In the standard library, it takes the value specified by $(DCLDBASE) upon installation.
GLCQNP(NCP) Calculates the total number NCP of internal variables. GLCQID(CP,IDX) Determines the position IDX of an internal variable CP GLCQCP(IDX,CP) Inquires the name CP of an internal variable at position IDX GLCQVL(IDX,CPARA) Inquires the value IPARA of an internal variable at position IDX GLCSVL(IDX,CPARA) Changes the value IPARA of an internal variable at position IDX