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



On 14 Mar 2013 16:11, Michael Smith wrote:
"The only issue I believe, would be that the GO SAVE option-21
either should be modified to [or asked to; perhaps via
changed\stored defaults?] *not* restart the controlling
subsystem after it completes"

This would be the best solution, but it isn't available at the
present time.

Work around:
1> Enhance QSTRUP to read dataarea, before starting QCTL.
2> Set a dataarea ; "Do not run"
3> Execute the Go Save>Opt 21 function
(the system is reduced to a restricted state)
4> QSTRUP will read the dataarea and do a return
based on "Do not run"
5> Perform business tasks
6> Set a dataarea ; "Run"
7> Call QSTRUP

I am confused about the proposed approach. I do not think that will assist to achieve what has been stated as desired; i.e. prevention of the job scheduler from starting scheduled work.

The GO SAVE option-21 will not CALL QSTRUP.?.? AFaIK the end of the backup activity which was conducted since ENDSYS placed the system in restricted-state, will issue the request to effectively:
STRSBS SBSD(*CTLSBSD) /* where the theoretical *CTLSBSD is the name resolved from the system value QCTLSBSD; I have always wondered why there is no such special value for that parameter */

The QSTUPPGM is invoked as a *consequence* of starting the QCTLSBSD [which presumably is QCTL in this scenario]. And the STRSBS QCTL will change the status of the QCTL SBS monitor job from END to DEQW, which will also [effeectively] simultaneously have the "restricted-state" indicator turned off... probably long before the QSTRUPPGM gets called; not that when is really relevant at that point. Thus the STRSBS QCTL also causes, as a side effect, the QJOBSCD system job to stop awaiting the system coming out of restricted-state. That is because either the system job QJOBSCD was since informed by an event that the system is no longer in the restricted-state, or that the polling by QJOBSCD for the status has since detected that same /no-longer-restricted-state/ condition.

So while the described approach can stop user-activated [generally post-IPL] work and the invocations of the remainder of the /system/ startup [like starting various subsystems for spooling, comm, et al], there seems to be no hope that having done so will also prevent the QJOBSCD from activating the scheduled jobs.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.