I have a fully re-written startup program placed in my library,and for some reason if i pwrdwn/IPL or after option21 backup startup program does not autostart but if i call the program it works,the system value is set to look at mystartpgm in mylib but doesn't work instead gives message saying "Program specified will not be run" and leaves box in restricted state.
Software/Hardware used:
AS400 V5r4
ASKED:
November 19, 2009 9:56 AM
UPDATED:
November 20, 2009 8:03 AM
Note that CHGPGM USRPRF(*OWNER) won’t make any difference if the program is never run.
The error text shown was “Program specified will not be run”. But what message ID is it? And where was the message found?
Tom
“Program specified will not be run.” That’s the 1st-level text of CPI0915, but it’s not clear where the message may appear. Probably the QHST queue, probably the joblog of an auto-start entry in the controlling subsystem (and probably sent from within program QWDAJPGM in job QSTRUPJD) and probably in QSYSOPR.
As said above, the QSTRUPJD joblog is the best place to look for the reason your program wasn’t run. Most common is that QPGMR wasn’t granted authority to the program.
Tom
TomLiotta thank you,it seems you were right on the money,i have now given QPGMR and QSYS authority to the library that hold the startup program and will test sometime this weekend,once thank you all and chat soon.