Get started Bring yourself up to speed with our introductory content.

Is the system in a restricted state?

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.


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

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.