On Thu, 25 Jan 2018 23:21:53 -0600
Bruce Hewson <bruce_hew...@hotmail.com> wrote:

> As I see it you have 2 problems:
> 
> 1. identify the running  HSM task name.
> 2. identify the active BCDS dataset name.
> 
> How about using some ENQUEUE queries?
> 
> firstly find the HSM task name:. 
> 
> some suitable MAJOR names to check - ARCDSN, ARCENQG, SYSZARC
> 
> that gives you the associated task name.
> 
> Then you can check for SYSDSN enqueue's for that task name.
> 
> That will at least give you the allocated dataset names. 
> Dataset naming conventions may allow you to identify the BCDS name.
> 

The program is supposed to run on systems where I do not
necessarily know the naming conventions. If I'd know the dataset naming
conventions I would probably know the names of the BCDS/MCDSes.


-- 
Manfred

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to