MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2012

RE: Custom startup program



fixed

Jerry,
Thanks for the code example.

Of particular interest was:
IF COND((&CTLSBSD *NE 'QCTL QSYS ')<

Which matches a statement in our old pgm.

Also similar, our old startup was from 2008,
so there has been a lot of manual, post-startup
adjustment - after a phone call or two...


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry C. Adams
Sent: Friday, September 14, 2012 7:53 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Custom startup program

Typically, one has to do that to even begin modifications, Don, as the source isn't (to my knowledge) provided. That said, my guess is that whoever retrieved and modified the original did so outside of a CMS or didn't archive the original.

That said, and for what it's worth this late on Friday, this is the order that subsystems were started originally on our system (B5R1, though) from the original, archived source:

QSYS/STRSBS SBSD(QSPL)
MONMSG MSGID(CPF0000)
QSYS/STRSBS SBSD(QSERVER)
MONMSG MSGID(CPF0000)
QSYS/STRSBS SBSD(QUSRWRK)
MONMSG MSGID(CPF0000)
QSYS/RLSJOBQ JOBQ(QGPL/QS36MRT)
MONMSG MSGID(CPF0000)
QSYS/RLSJOBQ JOBQ(QGPL/QS36EVOKE)
MONMSG MSGID(CPF0000)
QSYS/STRCLNUP
MONMSG MSGID(CPF0000)
QSYS/RTVSYSVAL SYSVAL(QCTLSBSD) RTNVAR(&CTLSBSD)
IF COND((&CTLSBSD *NE 'QCTL QSYS ') *AND (&CTLSBSD *NE-
'QCTL QGPL ')) THEN(GOTO CMDLBL(DONE))
QSYS/STRSBS SBSD(QINTER)
MONMSG MSGID(CPF0000)
QSYS/STRSBS SBSD(QBATCH)
MONMSG MSGID(CPF0000)
QSYS/STRSBS SBSD(QCMN)
MONMSG MSGID(CPF0000)

The only thing after that was to start the writers (depending upon the system value). Also, this was source I retrieved on my first day on the job last year (3 January). I can't verify that no one had changed it before I got there (wanna bet that didn't happen?!), but they didn't leave any tracks.

Jerry C. Adams
IBM i Programmer/Analyst
The largest vehicle always has the right of way.
--
A&K Wholesale
Home Office: 615-832-2730
email: midrange@xxxxxxxx

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Don
Sent: Friday, September 14, 2012 8:02 PM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Custom startup program

Have you thought of doing a rtvclsrc of the original startup CL???




-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Gary Thompson
Sent: Friday, September 14, 2012 5:46 PM
To: Midrange Systems Technical Discussion
Subject: Custom startup program

I was just asked to check our modified startup program (late Friday, is there no justice?).

So, I'm definitely not the best fit for this, but here is my question:

Is there any recommended order for starting subsystems?

The startup pgm being replaced did the following as it's first four:
QSPL
QINTER
QBATCH
QCMN



Any hints, comments, or pokes welcomed...
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.








Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact