|
At 09:02 AM 8/21/00 -0400, you wrote: The restriction exists for only *ALL. You could retrieve the list of active subsystems (There's an API and a TAA Tool), and end them one at a time. Al >For our weekly backup program, we want to end the system to a restricted >condition. The program works great when run from a command line, but bombs >when run from the internal job scheduler (WRKJOBSCDE) or the advanced job >scheduler (GO JS). The error message I'm getting is: > >4800 - ENDSBS SBS(*ALL) OPTION(*IMMED) >CPF1052 Escape 40 ENDSBS *ALL not allowed in current environment. > ENDSBS *ALL is not allowed only from an interactive job that is >started from a *SIGNON workstation entry in the controlling subsystem. >ENDSBS *ALL is not allowed from a target pass-through job. > >The job is submitted to the QCTL subsystem, running as user QSYSOPR. > >Is there an easy way around this? > >Thanks! >Loyd > >-- >Loyd Goodbar >Programmer/Analyst >BorgWarner Incorporated >Air/Fluid Systems, Water Valley, MS > > >+--- >| This is the Midrange System Mailing List! >| To submit a new message, send your mail to MIDRANGE-L@midrange.com. >| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. >| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. >| Questions should be directed to the list owner/operator: david@midrange.com >+--- +--------------------------------------------------+ | Please do not send private mail to this address. | | Private mail should go to barsa@ibm.net. | +--------------------------------------------------+ Al Barsa, Jr. - Account for Midrange-L Barsa Consulting Group, LLC. 400 > 390 Phone: 914-251-1234 Fax: 914-251-9406 http://www.barsaconsulting.com http://www.taatool.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.