Hi all,
I am in need of getting the job status of a submitted job in my CL program.
The scenario:
A Java application is submitted to batch in AS400 by a CL. An RPG program is to be executed followed by the batch job, but only after the initialization stuff are completed by the Java programs and the job status changes to JVAW status.
So, i have to ensure that the submitted job has turned into JVAW status before the RPG is invoked by the same CL that submitted the batch job.
Advice please
I am in need of getting the job status of a submitted job in my CL program.
The scenario:
A Java application is submitted to batch in AS400 by a CL. An RPG program is to be executed followed by the batch job, but only after the initialization stuff are completed by the Java programs and the job status changes to JVAW status.
So, i have to ensure that the submitted job has turned into JVAW status before the RPG is invoked by the same CL that submitted the batch job.
Advice please
Comment