Ways to define STDENV
You can define the STDENV environment variable file in the following
ways:
- The TSO/E ALLOCATE command Example: The environment variable definitions reside in the MVS™ sequential data set TURBO.ENV.FILE.
ALLOCATE DDN(STDENV) DSN('TURBO.ENV.FILE') SHR
- A JCL DD statement. To identify a z/OS UNIX file, use the
PATH operand and specify PATHOPTS=ORDONLY. Example: The environment variable definitions reside in the z/OS UNIX file u/turbo/env.file.
//STDENV DD PATH='u/turbo/env.file',PATHOPTS=ORDONLY
- An JCL in-stream data set Example: The environment variable definitions immediately follow the STDENV DD statement.
Trailing blanks are truncated for in-stream data sets, but not for other data sets.//STDENV DD * variable1=aaaaaaa variable2=bbbbbbbb ⋮ variable5=ffffffff /*
- SVC 99 dynamic allocation, if you are running BPXBATCH from a program
For more information about defining STDENV, see the detailed discussion about using BPXBATCH inz/OS UNIX System Services Command Reference.