On Sun, 28 Jun 2009, Rob Lister wrote: > > Because all the processes are started via appl mngmnt, when I added a > _BPX_JOBNAME to each startup script, this was ignored and the > _BPX_JOBNAME allocated to app mngmnt used for all subsequent processes.
The RACF id under which the app mngmnt process is running must have at least READ access to the BPX.JOBNAME profile in the FACILITY class in RACF. If it doesn't, then the _BPX_JOBNAME is ignored. > > The Application Management task is obviously required for our application on > other platforms but I would have thought that on Z we already have > everything that our App mngmnt task does. If I was to remove app mngmnt, > could I sub JCL via OPC/TWS or by automation? Yes, I think so. You should really read up on JZOS and how it can be used in a batch job or STC. > > So here goes with a few Dumb questions: > > 1) The processes show as STC so I assume there must be JCL behind them? Yes. The name is BPXAS. This is a STC which works a lot like a JES managed initiator. That is, they are started and stopped "as needed". Basically when a fork() is done, an idle BPXAS is selected to run the UNIX program. If there is no idle BPXAS available, one is started if there are sufficient resources available (if not the fork() fails). A BPXAS "hang around" waiting for work for some period of time, then terminates if there isn't any. > > 2) If so, how can I see this JCL as looking via SDSF(PS) I see nothing. When > I > look at the startup process, all I see is a shell script? Trying to look at this is like trying to look at a JES initiator. Very difficult. > > 3) Do/can USS processes run under JES control? (I assume not as we have > sometimes two or three processes with the same name which is a no-no in Z) Yes, they do run under the primary JES. There is no restriction in z/OS about not having duplicate names with STCs. And, if you look at the newer parameters in JES2, you can even run batch jobs with duplicate jobnames now. > > 4) Can OPC/TWS sub/control tasks to USS? I don't know OPC/TWS. -- Trying to write with a pencil that is dull is pointless. Maranatha! John McKown ---------------------------------------------------------------------- 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

