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

How to define a new DS HLQ


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
autobox

New User


Joined: 19 Aug 2005
Posts: 51

PostPosted: Sun May 15, 2011 6:54 pm
Reply with quote

Hi All,

Could you please provide JCL samples for how to define a new DS HLQ to mainframe?

Or can I create any HLQ on mainframe only by defining a DS with the HLQ wanted?

Thanks in advance!
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sun May 15, 2011 7:52 pm
Reply with quote

Probably not the thing that the ordinary programmer would do - you should speak to your storage people as ther may be SMS ramifications. They may also be the people who would create the HLQ for you. You would also need to speak to your security people so that you get the correct RACF/ACF2 accesses set up.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Sun May 15, 2011 7:54 pm
Reply with quote

in IT using proper terminology is essentioal to proper communications...
are You asking how to define an ALIAS perchance ???

nothing that You could not find out by Yourself looking at the manuals
here for example
z/OS V1R10.0 DFSMS Access Method Services for Catalogs
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2I270/CCONTENTS?SHELF=DGT2BK81&DN=SC26-7394-08&DT=20080602132758


anyway speak to your storage support for the standards to be followed in Your organization
if You have the need to know/do they will be glad to provide the proper jcl for the task
Back to top
View user's profile Send private message
autobox

New User


Joined: 19 Aug 2005
Posts: 51

PostPosted: Mon May 16, 2011 1:52 pm
Reply with quote

I checked again, the 'HLQ' I mentioned above actually is the *ALIAS showed in ISPF 3.4.

So I can create any HLQ as I wanted on z/OS, and it's a naming plan/policy to be managed by SMS and RACF.

Correct me if my understanding is wrong. Thanks all!
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon May 16, 2011 2:07 pm
Reply with quote

That depends firstly on wether or not it is your job to do this.
Also if you have UPDATE access to the master catalog.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon May 16, 2011 2:46 pm
Reply with quote

I'd echo this line from Nic:
Quote:
Probably not the thing that the ordinary programmer would do


If you tell us why do you want to do that, there might be some alternate solution/s to do what you are wanting to do, possibly.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Tue May 17, 2011 2:09 pm
Reply with quote

Ditto to all the above. Creating a new HLQ is not as simple or innocuous as it may seem. Apart from needing the RACF access to update the mastercatalog and define the ALIAS, whatever users or applications that will access the files will also need RACF access.

You also have to be aware of:

1. What Usercatalog would be appropriate to point the alias to. If you choose the wrong one it may get filled up and cause an outage to many other users or applications. If there are going to be a very large number of datasets with the hlq it may warrant a new usercatalog for example, and that requires some knowledge of how to get it into CAS VLF or ECS and what volume would be appropriate, what freespace and BUFND,BUFNI and STRNO values to apply.


2. The ALIAS MUST be defined in ALL mastercatalog connected to the sysplex using IMPORT CONNECT ALIAS otherwise some LPARS may not see the dataset entries.

3. What effect would this have on your Disaster Recovery process at a remote site. Would the alias need defining somewhere else?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue May 17, 2011 2:25 pm
Reply with quote

Pete Wilson wrote:
Ditto to all the above. Creating a new HLQ is not as simple or innocuous as it may seem.
Yup, agree. In my small career in IT, as an Application Developer, I was never bothered to define an HLQ of my choice. Why should I, is the first question I'd ask myself. They have hired System Programmers, Storage Admins and many more -- what will they do, if I'm doing this!...icon_smile.gif
Back to top
View user's profile Send private message
autobox

New User


Joined: 19 Aug 2005
Posts: 51

PostPosted: Sat May 21, 2011 1:14 pm
Reply with quote

Just want to know its definition/meaning and how it comes to be availble.

Thanks guys, I learnt much more than I aked here.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Sat May 21, 2011 5:47 pm
Reply with quote

If an attempt is made to allocate a data set with a new high level qualifier not in the catalog, the system attempts to place the catalog entry in the master catalog. Since most sites restrict master catalog updates to systems programmers, such an attempt will most likely fail and cause a visit from the security person to the programmer to find out why unauthorized access is being attempted. Depending upon the results of that visit, the programmer may not still be working at the site (most sites do NOT look kindly on attempts to do system-level unauthorized activities).

When a systems programmer defines a new high level qualifier, it is defined and then related to a user catalog so new data sets are cataloged in the user catalog, not the master catalog. This removes the need for application programmers to update the master catalog.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts Define default volume for DSN storage... JCL & VSAM 8
No new posts define 1 DCB parms for multiple outpu... JCL & VSAM 9
This topic is locked: you cannot edit posts or make replies. REXX to find /* Define and write the ... CLIST & REXX 5
No new posts How to define transaction that trigge... CICS 3
Search our Forums:

Back to Top