|
But is the program waitting for user input the whole while? If so, you are never getting to the SHTDN command before the job ends. > I am using *CTRLD. >> How is the session being ended? >> >> If *IMMED is used, SHTDN doesn't matter. In order to give your >> applications time to shut themselves down, you _have_ to use >> *CTRLD. >>> I have an interactive program in which I update the Audit File >>> when user exits the application. I also intend to update the file >>> when the interactive session is control ended using ENDJOB or user >>> session is Timed out. >>> >>> I am using SHTDN with an indicator . If the indicator is on I >>> update the Audit File. For some reasons or other its not working. >>> Please advice.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.