This call returns the address of the process environment string for the current process.
DosGetEnv
EnvSegment (PSEL) - output
DosGetEnv can be used by dynamic link library routines that need to determine the environment for the current process.
When a process issues DosExecPgm to start another process, the program that receives control is returned a pointer to the environment segment.