IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Programmatically determine HLQ ISPF is installed at


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mike.Fulton

New User


Joined: 11 Jun 2014
Posts: 22
Location: Canada

PostPosted: Sat Dec 01, 2018 8:05 am
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2594
Location: Silicon Valley

PostPosted: Sat Dec 01, 2018 11:17 am
Reply with quote

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
View user's profile Send private message
Mike.Fulton

New User


Joined: 11 Jun 2014
Posts: 22
Location: Canada

PostPosted: Mon Dec 03, 2018 10:57 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Tue Dec 04, 2018 1:24 am
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2594
Location: Silicon Valley

PostPosted: Tue Dec 04, 2018 11:02 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Preserve changes to ISPF Panel Variables TSO/ISPF 5
No new posts can an ISPF appl save user changes in... TSO/ISPF 14
No new posts Unload and Load ISPF Table TSO/ISPF 4
No new posts ISPF Table to add a new column TSO/ISPF 1
No new posts Looking for a little history of ISPF ... TSO/ISPF 5
Search our Forums:

Back to Top