|
Don't know if this is 'the best way' but how about something like this: D system PR 10i 0 extproc('system') executes a command D cmd * value options(*string) C Eval RC = system('SIGNOFF LOG(*LIST)') HTH, Tom Daly | -----Original Message----- | Subject: how best to end an interactive job | | | I have a srvpgm which swaps user profiles. It is used by | interactive pgms. It swaps, does a task, then swaps back. | If for any reason the profile can't swap back, I want to | sign the user off and create a joblog. | | What's the best way to do that?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.