× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Since the QSTRPRTWTR system value is not changeable is not a valid parameter for the CHGSYSVAL command, nor changeable via the WRKSYSVAL list, I daresay you are correct, Rob. The system value merely indicates what the last status of the print writers was, supposedly, at at last IPL.
I say "supposedly" because I did an IPL to test (boy, was the warehouse P-Oed). The CHGIPLA value was set to *Yes, but my QSTRUP program branched around the actual start of the writers. And yet QSTRPRTWTR has a value of '1' (started). I could not find anything in the info center that spelled this out, but it would appear that all that QSTRPRTWTR indicates is the value of the IPL options, not necessarily reality.

Plus as Mark indicated TCP did start automatically without the STRTCP command in the QSTRUP program. The only glitch, if you will, is that iNav, when I tried a refresh on the Network...Servers...TCP/IP option, came back with 'Server data could not be retrieved' but only on the first attempt; subsequent attempts showed no server started (Status = None). Closing and restarting iNav showed everything normal (i.e., the servers I expected to be started had the appropriate status).


* Jerry C. Adams
*IBM System i Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
615.995.7024
fax
615.995.1201
email
jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>



rob@xxxxxxxxx wrote:
So, what runs first:
- The stuff in DSPIPLA
- QSTRUP

I am trying to add some stuff in my startup program and I need to know.


Jerry,
As far as the printer writers goes, this is my impression of the DSPIPLA. Jerry runs:
CHGIPLA STRPRTWTR(*NO)
PWRDWNSYS OPTION(*IMMED) RESTART(*YES)
Upon IPL the system reads the DSPIPLA and performs a CHGSYSVAL QSTRPRTWTR somehow because I can't use that parameter on that command.
After the system does that, it then calls the program in QSTRUPPGM. QSTRUP (default value for QSTRUPPGM) checks that system value to decide whether or not to start the printer writers.

Default QSTRUP program:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/rzaks/rzal2chgiplstartup.htm


Rob Berendt


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.