Date: Wed, 26 Sep 2007 22:32:31 +0100
Reply-To: CICS List <CICS-L@LISTSERV.UGA.EDU>
Sender: CICS List <CICS-L@LISTSERV.UGA.EDU>
From: Dave Key <dave_key@UK.IBM.COM>
Subject: Re: Using CPSM API to quiesce an AOR
In-Reply-To: <200709261731.l8QFZpGP013485@mailgw.cc.uga.edu>
Content-Type: multipart/alternative;
Ray,
There are two steps required:
To identify the Workload you need to add a PARM statement to the command
... i.e. PARM('WORKLOAD(workload).')
The command will be performed against all CICS Regions which are returned
in the Result Set implicitly created by the PERFORM OBJECT command, by
default this will be ALL of the AORs within the specified WORKLOAD. To
restrict the command you can add a CRITERIA string to the PERFORM OBJECT
command to specify only the AOR you want ... i.e.
CRITERIA('AOR=target_aor.')
So the full command would now read ....
PERFORM OBJECT(WLMAWAOR) ACTION(QUIESCE)
PARM(WORKLOAD(workload).) PARMLEN(19)
CRITERIA(AOR=cicsaor1.) LENGTH(13)
(changing the lengths to match the real workload and AOR names)
Hope that helps
Dave Key
CICS TS System Test
IBM Hursley Park
Ray Parrish <raymond.parrish@THOMSON.COM>
Sent by: CICS List <CICS-L@LISTSERV.UGA.EDU>
26/09/2007 18:31
Please respond to
CICS List <CICS-L@LISTSERV.UGA.EDU>
To
CICS-L@LISTSERV.UGA.EDU
cc
Subject
Using CPSM API to quiesce an AOR
I am looking at a way to quiesce an AOR from an active workload via CPSM
API (versus the WLMAWAOR screen). As I understand it, the syntax is
'PERFORM OBJECT(WLMAWAOR) ACTION(QUIESCE)', however I don't see a way to
specify the workload or AOR. Can anyone provide more specifics, or
possibly share a sample program being used to accomplish this? Thanks -
Ray
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
[text/html]