I'm looking to add a REXX logic to the beginning of an ad-hoc STC.
Runs twice in an hour. Problem is, sometimes some instances just hang around 
due to an XCOM issue.
Yes, the *real* answer is to fix the XCOM issue but I'm just handing one thing 
at a time.

So my idea of handling this is to add a starting step to the STC that does the 
following in REXX:
1. Issue D A,<jobname>
2. Find if there are active instances, apart from itself
3. Cancel all active instances (sometimes, I found instances from many days ago 
just hanging around doing nothing)
4. REXX exits cleanly so that a new instance runs

– Vignesh
Mainframe Infrastructure

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Elardus Engelbrecht
Sent: Thursday, February 04, 2016 12:54 PM
To: [email protected]
Subject: Re: Obtaining current ASID in REXX

Binyamin Dissen wrote:

>PSAAOLD->ASCB (ASCBASID)

That chasing of the pointers should work.

Vignesh wrote:

>:>If I'm running a REXX via a job, the output should be the ASID of the job.
>:>If I'm running a REXX via a ISPF, the output should be the ASID of my logon 
>procedure.

What do you want to do with that ASID? Perhaps there is a better solution or 
way to get this info.

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

MARKSANDSPENCER.COM
________________________________
 Unless otherwise stated above:
Marks and Spencer plc
Registered Office:
Waterside House
35 North Wharf Road
London
W2 1NW

Registered No. 214436 in England and Wales.

Telephone (020) 7935 4422
Facsimile (020) 7487 2670

www.marksandspencer.com

Please note that electronic mail may be monitored.

This e-mail is confidential. If you received it by mistake, please let us know 
and then delete it from your system; you should not copy, disclose, or 
distribute its contents to anyone nor act in reliance on this e-mail, as this 
is prohibited and may be unlawful.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to