Mark I was able to get this to work with some tinkering. #1 thing is you must make sure the RCLSTG cmd has its Where allowed to run includes *INTERACT. #2 while * would NEVER use the *NOMAX. IF you do and it hangs on an error the best recovery is using the control panel to recover. If you set a time long enough to run plus some and it does hang, the system will restart when the time limit is reached, #3 Good error recovery in your CL...message: 1
date: Wed, 29 Jul 2009 10:55:19 -0400
from: "Mark S. Waterbury" <mark.s.waterbury@xxxxxxx>
subject: running commands in restricted state -- will this work?
A client of ours has a small model 170 running V5R2 ... it uses a genunie IBM twinax console (so we cannot access the console for that system remotely, e.g. when it is running in 'restricted state').
Recently, they saw some error messages indicating that they need to do a RCLRSC *DBXREF ...
Can we automate this by adding some code to their QSTRUP *PGM to invoke the RCLRSC *DBXREF before it starts up any subsystems, so that, the next time they IPL, this will happen automatically?
Mark S. Waterbury