5.7 Environment variables for job information
When you start a job or job step, you can specify the job name, job ID, and job step name in environment variables so that this information can be referenced by the job definition script files and user programs.
ADSH_JOB_NAME (job name is specified when the job starts)
ADSH_JOBID (job ID is specified when the job starts)
ADSH_STEP_NAME (job step name is specified when the job step starts)
For details about these environment variables, see 2.5 Specifying environment variables.