View previous topic :: View next topic
|
Author |
Message |
Mike.Fulton
New User
Joined: 11 Jun 2014 Posts: 22 Location: Canada
|
|
|
|
I'm trying to automate some code and I've got 2 variables that people have to set.
I'd like to eliminate them.
One is ISPF_HLQ, i.e. where is ISPF installed, which typically defaults to ISP.**
The other is the ISMF_HLQ, i.e. where are datasets like DGTLLIB at. Seems to typically be SYS1.DGTLLIB, but again, I can't rely on that.
I'm hoping folks have some tricks up their sleeves... |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
It is non-trivial. Try listing which data sets are allocated, then for each data set, see if contains a known member. |
|
Back to top |
|
|
Mike.Fulton
New User
Joined: 11 Jun 2014 Posts: 22 Location: Canada
|
|
|
|
Thanks @Pedro ... That's what I am currently doing. Was hoping there might be some more elegant way, but I'll use this approach for now.
Perhaps this is something the ISPF team could consider helping with? Not sure if this is something others would find useful too (I've seen a lot of JCL and scripts where you have to update the HLQ to your installation defined location and it would be great if we could eliminate that extra work for people installing software). |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
One is ISPF_HLQ, i.e. where is ISPF installed, which typically defaults to ISP.** |
I've worked at multiple sites which used SYS1.ISP.** so while it may be "typical" to be ISP.** it certainly is not uncommon the HLQ to be different. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
Quote: |
Perhaps this is something the ISPF team could consider helping with? |
I do not think IBM monitors this forum. Despite the domain name here having 'IBM', it is not associated with IBM.
You should submit an RFE from developerworks: www.ibm.com/developerworks/rfe/
You will need to create an userid on developerworks, then submit the RFE. |
|
Back to top |
|
|
|