× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.