When running TMSXTEND, receiving "IEFTMS38 - TMSINIT found cpu xxxx has flag left on prior from execution of TMSXTEND".
To determine if TMSXTEND with PARM=RECOVER needs to be run, review messages that TMSXTEND issues to see if the automatic recovery already took place.
The 2 messages which highlight this are :
TMSXT41I
AUTO-RECOVER FUNCTION STARTING.
Reason: To return to a functional state, TMSXTEND will terminate in error and start a recovery process.
Action: None. This message is informational.
TMSXT49I
RECOVER FUNCTION COMPLETE.
Reason: TMSXTEND has completed a recovery process.
Action: None. This message is informational.
If these 2 messages do not appear then TMSXTEND with PARM=RECOVER needs to be run
PARM of RECOVER causes TMSXTEND to run in recovery mode. In recovery mode, TMSXTEND will determine the status of a failed extend. If the signal to switch to the new TMC has not yet been given to all CPU's sharing the TMC, it will rename and return the old TMC to its original status, updating any control records necessary. If the signal to switch to the new TMC has been given to all CPU's sharing the TMC, it will finish updating any control records necessary.
More details on this can be found in the UTILITIES Guide under TMSXTEND Utility -- Dynamic TMC Extend Process Control Program
"TMSXTEND issues the TMSXT09I SIGNAL ALL CPUS TO ACCESS THE NEW TMC message. Once you see TMSXT09I, run TMSRINIT on all CPUs that access this TMC. These TMSRINITs do not end immediately, they stay active until the final switch over command is issued. The final switch over command is message TMSXT21I SIGNAL CPUS TO SWITCH TMCS in the TMSXTEND job. The TMSRINITs end within one minute after the TMSXT21I message is issued. Do not use PARM=STATUS on the TMSRINITs that are executed for this step. If TMSXTEND uses PARM=TEST, all messages are issued and you run TMSRINIT. The physical switch is not done. Set TMSRINIT as a started task."
Running TMSXTEND with PARM='TEST' will also turn these flag bits on, so if a test run did not complete successfully, the flag bits could be left on