Scenario: From a menu, user runs vendor-supplied program A. PGM A calls user written PGM B for data validation. If program B discovers invalid data, it will issue an error message, then end itself and PGM A, returning the user to the menu.
Problem: How can PGM B end itself and PGM A without also ending the menu program? I tried ENDJOB but it ends everything and returns the user to the sign on screen.
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!