0

I have a job that run multiple times in a day and I would like to get the info that whether the current run is for which run in that day.

E.g. Run schedule: 2,4,6,8 am on Monday

If the job starts at 4:00 am (or 5:10 am if there are delay on autosys or dependency reason), I can use that variable/info from autosys to identify that run is for 4 am run.

I use JIL command to pass in the script I use and the job_id name by variable %AUTO_JOB_NAME%

Is there any environment variable can be pulled from Autosys and can be used in my script, without depending on the current timestamp that run the job?

Sherry
  • 3
  • 1
  • 4

0 Answers0