Subroutines > Detailed Descriptions > CGIUTL

Retrieve envvar into envdef

xcall CGIUTL, 5, envvar, envdef, status

opcode 5 retrieves the contents of the environment variable envvar into the string variable envdef. status will be set to 0 for OK, or 1 if the variable had to be truncated to fit in envdef. If there was no such variable defined, envdef will be null.