I have to set up alert at a specific time on AS400 which will check if the backup job is running.
If the backup is not running at that specific time,it should send an alert'Backup Not Running' else it should send an alert'Backup is running'/'Backup is in Message Wait'.
Can anyone please suggest me a CL which will check this.I am new to CL and I have been unable to put the above logic.
I have an idea where we need to run WRKJOB <Backup Job Name> and then trap the status of the job ie.whether ACTIVE/MSGW or NOT FOUND .But unfortunately I have been unable to code this logic.
Please can anyone help me with this.
May 19, 2010 4:48 AM
June 6, 2010 9:46 AM