Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Programmatically determine HLQ ISPF is installed at

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

New User


Joined: 11 Jun 2014
Posts: 10
Location: Canada

PostPosted: Sat Dec 01, 2018 8:05 am    Post subject: Programmatically determine HLQ ISPF is installed at
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

Senior Member


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

PostPosted: Sat Dec 01, 2018 11:17 am    Post subject: Reply to: Programmatically determine HLQ ISPF is installed at
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: 10
Location: Canada

PostPosted: Mon Dec 03, 2018 10:57 pm    Post subject: Programmatically determine HLQ ISPF is installed at
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: 8410
Location: Dubuque, Iowa, USA

PostPosted: Tue Dec 04, 2018 1:24 am    Post subject:
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

Senior Member


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

PostPosted: Tue Dec 04, 2018 11:02 am    Post subject: Reply to: Programmatically determine HLQ ISPF is installed at
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: https://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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Modify the value of a extensionvariab... UmeySan CLIST & REXX 29 Wed Nov 14, 2018 11:48 pm
No new posts ISPF 3.4 edit of a ps file, disp use... Carrie Da Silva TSO/ISPF 3 Fri Sep 21, 2018 3:01 am
No new posts KSDS file fields update by passing va... Anil Kumar Prajapati TSO/ISPF 5 Wed Jul 11, 2018 5:59 am
No new posts presentation for ISPF developer newby Pedro TSO/ISPF 3 Tue Feb 13, 2018 4:37 am
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us