Robert > ... or you can just use the Modify (F) or STOP (P) command.
That "just" is suspicious. The program needs to support the MODIFY/STOP interface and not all programs do. It took IMS "for ever" to provide this alternative to the WTOR interface and I vaguely remember it took CICS quite a while before you could "talk" to it with MODIFY commands. Obviously a program has to have logic to respond to MODIFY commands and, perhaps less obviously, to a STOP command. Only CANCEL is/can be independent of the program. The starting point for research into MODIFY/STOP support is the following: z/OS MVS Programming: Authorized Assembler Services Guide, SA22-7608-15, 2.3 Communicating with a program (EXTRACT, QEDIT) http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/iea2a8b0/2.3 I used to use MODIFY support extensively in my mickey-mouse programs using the VTAM API. It's not at all difficult. Chris Mason On Tue, 28 Sep 2010 22:26:29 -0400, Robert A. Rosenberg <[email protected]> wrote: >At 16:03 +0200 on 09/28/2010, Peter Nuttall wrote about Re: Really >dumb IPL question: > >>Setting this up as a >>started task and then explaining to Ops/Automation that the only way to >>stop it was to Cancel the Started task was not fun (against their >>operational procedures) .... > >Shutting down a Started Task can be done in the way other STCs are >controlled. You can issue a WTOR which allows the request to shut >down to be sent or you can just use the Modify (F) or STOP (P) >command . If MODIFY is good enough for TCP, TSO, etc, it should be >good enough for your RYO STC. It sounds like those Ops/Automation >types are brain dead and do not understand what they are doing. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

