I wonder if CICS REXX interface would support "CONSOLE SYSCMD(D A,CICSPROD)
CART('CMDTEST')" statement?
This came from IBM-MAIN archives.
Something interesting to try.
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf
Of Miklos Szigetvari
Sent: Wednesday, August 06, 2014 10:27 AM
To: [email protected]
Subject: Re: How to check if a job is running in a SYSPLEX
I would also suggest to use the shared SPOOL, but maybe a "ROUTE *ALL,D
A,jobname " would do this.
With EXEC CICS SPOOLOPEN, EXEC CICS SPOOLWRITE you can submit a job and you
can get back the result via EXEC CICS SPOOLREAD.
Another option would be via RMF II API interface, (ERB2XDGS) query for the
SMF 79 subtype 2 records.
On 06.08.2014 11:25, Jim McAlpine wrote:
> We currently have an assembler routine which is called from CICS to
> check whether a particular job is running in the same z/OS system as
> the CICS system. This routine was written back in the dark ages and
> accomplishes this by chasing the ASCB chain and comparing the jobname
> of each address space. We now have the need to check to see if the job
> in question is running in any z/OS instance of a SYSPLEX. Any
> suggestions as to what is the best way to accomplish this.
>
> TIA
>
> Jim Mc
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send
> email to [email protected] with the message: INFO IBM-MAIN
>
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to
[email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN