Aaron,

It's already done that way.
DSPSBSD QCTL
3. Autostart job entries
Job Job Description Library
QSTRUPJD QSTRUPJD QSYS
DSPJOBD JOBD(QSYS/QSTRUPJD)
Request data . . . . . . . . . . . . . . . . . . : CALL QSYS/QWDAJPGM

This process starts up TCP/IP and a bunch of other stuff. Including
checking your IPL attributes to see if you ran
CHGIPLA STRRSTD(*YES)
If you haven't set your system to start up in restricted state then it
runs the program in
WRKSYSVAL SYSVAL(QSTRUPPGM)
The IBM supplied default one is normally QSYS/QSTRUP. That one you CAN do
a RTVCLSRC of.
CRTSRCPF FILE(QTEMP/QCLSRC)
RTVCLSRC PGM(QSYS/QSTRUP) SRCFILE(QTEMP/QCLSRC)
DSPPFM FILE(QTEMP/QCLSRC) MBR(QSTRUP)

The STRTCP is part of QWDAJPGM and not QSTRUP.

So, if you've brought your system into restricted state the theory is that
you can run STRSBS (controlling subsystem, usually QBASE or QCTL) and have
it bring it out of restricted state.


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.