Re: How to delay until JES2 has finished startup



We do something similar for other tasks.

Set up an MPF exit to trigger on a message, say $HASP492 JES2 ALL-MEMBER
WARM START HAS COMPLETED

Have the exit issue a START JESDEP command.

Create a procedure called JESDEP (start JES dependant tasks) that uses
program COMMAND (from www.cbttape.org) or similar to issue start
commands for the tasks you want.

Alan

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@xxxxxxxxxxx] On
Behalf Of SUBSCRIBE IBM-MAIN M. Ioia
Sent: Wednesday, December 17, 2008 20:57
To: IBM-MAIN@xxxxxxxxxxx
Subject: How to delay until JES2 has finished startup

After extensive searching, I could not find a best practice way of
delaying the
startup of some STCs until JES has completed its startup.

By best practice, I mean, that the solution should be as pure z/OS as
possible. Ideally, a command or option that implies 'START xxx' only
after JES
is started. Maybe an exit of some sort?

I'm aware of some automation solutions that can do this based on message
id
triggers, and some homegrown SLEEP or DELAY commands. And of course
there is always the human eye, that watches for the right message before

continuing.

But my strategy is always to first search for the solution with the
least
amount of additional software to acquire or maintain. If I cannot find
one,
then I consider the next best solution.

I appreciate any input.

Thanks.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
.



Relevant Pages

  • Re: dd command & reading in background
    ... ^ D,"UnixReview: Shell Corner: The dspl Korn Shell ... user input timeout, do a search on C.U.S. for the ... # 0<c<127 - job exited with this exit code ...
    (comp.unix.shell)
  • Re: Most dependable way to run system commands
    ... Eventually I'd like to bring the execution of a few system commands ... specific execution issue (it dealt more with executing Perl code)). ... Unix and many similar systems, the exit status is an integer, with 0 ... variable after running a command via system or backticks. ...
    (perl.beginners)
  • Re: Autoincremental field in VFP7
    ... I made a gross mistake and pointed you to CREATE TRIGGER ON INSERT .command. ... ALTER TABLE x ALTER COLUMN keyfield Int AUTOINC [NEXTVALUE NextValue[STEP ... You triugger would not fail if you used this command ...
    (microsoft.public.fox.helpwanted)
  • Re: very slow cursor in CMD window w/Text editor?
    ... REM MS-DOS-based application, Windows runs COMMAND.COM. ... To run CMD.EXE, the Windows command prompt, ... The exit command is an internal command part of command.com or cmd.exe. ...
    (microsoft.public.windowsxp.general)
  • Re: difference between the -o and || conditionals.
    ... you are running a first "[" command with ... equal to the number whose string representation is in its third ... a non-0 exit status otherwise. ... the cat and grep commands are run and its (possibly ...
    (comp.unix.shell)