|
1) Yes, but it's easier to change it in the job description for the startup job: CHGJOBD QSYS/QSTRUPJD 2) The job will fail and send messages like any other batch job. The controlling subsystem is up and running at this point so the console will be available. Messages will be on QSYSOPR. 3) IBM is guaranteeing that their versions of the commands will run. You're right, other versions of the commands could run if they were in libraries placed higher in the system library list than QSYS. Also, I wonder if qualifying the commands guarantees that the program runs even if you pull QSYS out of your system library list. I usually create a library called SYSTEM and keep it ahead of QSYS in the library list for anything that I modify from QSYS, so that it doesn't get overlayed during an OS/400 upgrade. I tend to qualify every new command in QSTRUP so that it isn't dependent on library lists. -Jim James Damato Manager - Technical Administration Dollar General Corporation <mailto:jdamato@dollargeneral.com> -----Original Message----- From: D.BALE@handleman.com [mailto:D.BALE@handleman.com] Sent: Thursday, June 07, 2001 4:36 PM To: MIDRANGE-L@midrange.com Subject: start-up program QSTRUP I have some questions regarding the start-up program (QSTRUP), of which the IBM docs did not answer. (Note that we have retrieved the source from QSYS/QSTRUP and modified that source, compiled it in a user library, and changed the system value QSTRUPPGM to point to that program.) 1. Can I safely use CHGJOB LOG(4 00 *SECLVL) LOGCLPGM(*YES) in this program? We made a change to this program that supposedly did not do what it was supposed to, but we have no record of whether or not this is true. We would like to be able to look at the job log for the startup program to check this. 2. When I insert new commands to run, I believe I need to at least duplicate IBM's effort to monitor for escape messages. IBM uses MONMSG MSGID(CPF0000) . Is that enough? I thought I have seen in the past where the absolute catch-all MONMSG monitored for CPF0000, CPF9999, & MCH0000. Yea or nay? What happens if a command fails and a message is issued waiting for a reply? Will the console ever show a signon screen? 3. Doesn't it seem odd that IBM qualifies all the commands except the MONMSG, IF, CALL, and others? Don't these also have the same exposure to being "hijacked" by another library higher than QSYS in the library list? Is it possible to have a library higher than QSYS during the normal execution of this command at IPL? (Possibly the QSYSLIBL system library list?) TIA - Dan Dan Bale says "BAN DALE!" IT - AS/400 Handleman Company 248-362-4400 Ext. 4952 D.Bale@Handleman.com Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.) +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.