Sankaranarayanan, Vignesh wrote:
>Yup, I have a copy of Mark's program available. Was hoping to find a
>simpler/shorter block of code that would work :)
;-D
>2+3 won't work... why?
Simply, because you initially said in your first post, if your program is
running in batch, it should shows the ASID of itself. Same for your TSO
session, it should says same for the TSO session.
This will not work because you said ('Find if there are active instances, apart
from itself ') later you want all instances to get rid of. Thus you need
something to check all running ASIDs and then get rid of them.
>The XCOM bit works 99% of the time, there are just some times that it doesn't
>work. The next run that happens within half an hour goes OK, in most cases.
If that is repeatable, you should check with the sysprogs and vendor. They
can't make their problem yours...
Groete / Greetings
Elardus Engelbrecht
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN