Obtaining Abaqus Environment Variables

Utility routines GETENVVAR and VGETENVVAR can be called from any Abaqus/Standard or Abaqus/Explicit user subroutine, respectively, to obtain the value of an environment variable.

This page discusses:

Utility Routine Interface

character*256 ENVVAR
...
CALL GETENVVAR( 'ENVVARNAME',  ENVVAR, LENVVAR )
CALL VGETENVVAR( 'ENVVARNAME',  ENVVAR, LENVVAR )
...

Variables to Be Provided to the Utility Routine

ENVVARNAME

Environment variable name.

Variables Returned from the Utility Routine

ENVVAR

Character string to receive the value of the environment variable.

LENVVAR

Length of the character string ENVVAR.