home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #23 / NN_1992_23.iso / spool / bit / listserv / ibmmain / 2369 < prev    next >
Encoding:
Text File  |  1992-10-15  |  1.0 KB  |  24 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!auvm!USCMVSA.BITNET!LDW
  3. Message-ID: <IBM-MAIN%92101420021754@RICEVM1.RICE.EDU>
  4. Newsgroups: bit.listserv.ibm-main
  5. Date:         Wed, 14 Oct 1992 17:45:00 PDT
  6. Sender:       IBM Mainframe Discussion list <IBM-MAIN@RICEVM1.BITNET>
  7. From:         Leonard D Woren <LDW@USCMVSA.BITNET>
  8. Subject:      Re: Checking if Jes is up
  9. Lines: 13
  10.  
  11. >   My question is this, How can I tell if Jes2 is up and running so I will
  12. > know whether or not to start the procedure ? Thanks in advance for the help !
  13.  
  14. Lacking any better ideas, I suppose that you could do some IEFSSREQ
  15. call, like cancel/status.  There's a specific return code for "JES
  16. not up."
  17.  
  18. If you want a q&d method, you could pick up the primary JES name from
  19. JESPJESN (macro is IEFJESCT) and search for its SSCT (macro IEFJSCVT),
  20. then check for something like SSCTSSVT and SSCTSUSE being non-zero.
  21. Note:  This is theory.  You'll have to test it.
  22.  
  23. /Leonard
  24.