In a program, a loop doing some operations... and I got some program error/file error and in *PSSR I want to handle the error then to resume the program to flow with the next record.
But, how to pass the control to the loop to read from the next continution record.
In Main routine,
MAIN LOOP TEMPFILE1
JOBNUM CHAIN TEMPFILE1
UPDATE File 2
DELTE File 3
// Here I want to instruct the program to execute from the point it breaks?? how to write the code here..
Ex: If JOBNUM = 100 has failed due to record locks, and I want to contine from JOBNUM=101 record...
Could you pls instruct me how to do code exactly to get the flow contine.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.
Your password has been sent to:email@example.com
To follow this tag...
Thanks! We'll email you when relevant content is added and updated.
Share this item with your network: