I need to test if the system is in a restricted state. What's a good way to do this from a CL program?
First of all, when you say dedicated state, I am assuming that you mean the restricted state, which means that you cannot be running a batch job. The only thing that can be running with the system in a restricted state is the console of the machine. If you are running an interactive CL, the only way that I know of is to check for certain subsystems being active such as QCTL, QBATCH, and QINTER. I would believe that if these are ended, that the system is in a restricted sate, especially QCTL.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: Tips, tutorials and more.
Visit the ITKnowledge Exchange and get answers to your systems management questions fast.
Read this Search400.com Featured Topic: Take control of your iSeries.
Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.
Dig Deeper on Security Tools
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.