The DltEnvVar procedure (or DltEV) deletes a single, job-level environment variable or deletes all environment variables from the current job.
The DltEnvVar procedure can be used by a CGI program to retrieve a specific CGI environment variable value.
bSucceeded DltEnvVar( szEnvVar * VALUE OPTIONS(*STRING) ) |
If the function succeeds, the return value is '1' (*ON) otherwise the return value is '0' (*OFF).
.....C..n01..............OpCode(ex)Extended-factor2+++++++++++++++++++
C CallP DltEnvVar('CUSTNO')
This call to DltEnvVar deletes the CUSTNO environment variable from the environment.
The alternative name for this procedure is DLTEV.