Batch Job Ends without Calling Program on AS/400 V5R2M0
I have a batch job 'JOB1' which should execute a command CALL LIB1/PGM1.Here PGM1 is CL Program.
I want to debug PGM1.
I submitted thru SBMJOB JOB(JOB1) HOLD(*YES) CURLIB(LIB1). All other are default values for SBMJOB.
I did STRSRVJOB & STRDBG. When I released Job, I set Break Point at the 1st cmd in PGM1, came back to prompt and Pressed enter to run Job.
It immediately displas message "Job being serviced ended.". If I check in Submitted Jobs list, Job Ended. It doesn't enter the PGM1 at all.
Pls help mewith the reason for the above problem.
Thanks
Reddy



