Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to define a new DS HLQ

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
autobox

New User


Joined: 19 Aug 2005
Posts: 48

PostPosted: Sun May 15, 2011 6:54 pm    Post subject: How to define a new DS HLQ
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: 1717
Location: UK

PostPosted: Sun May 15, 2011 7:52 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Sun May 15, 2011 7:54 pm    Post subject: Reply to: How to define a new DS HLQ
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
http://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: 48

PostPosted: Mon May 16, 2011 1:52 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Mon May 16, 2011 2:07 pm    Post subject:
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

Senior Member


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

PostPosted: Mon May 16, 2011 2:46 pm    Post subject: Reply to: How to define a new DS HLQ
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 User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Tue May 17, 2011 2:09 pm    Post subject:
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

Senior Member


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

PostPosted: Tue May 17, 2011 2:25 pm    Post subject:
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: 48

PostPosted: Sat May 21, 2011 1:14 pm    Post subject:
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: 7914
Location: Bellevue, IA

PostPosted: Sat May 21, 2011 5:47 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VSAM define for large file jerryte JCL & VSAM 9 Wed Oct 05, 2016 1:51 am
No new posts How to define PCB for paired segments ashok_uddaraju IMS DB/DC 4 Tue Jun 14, 2016 11:40 pm
No new posts Define Alias for multiple Data sets u... sandy98669 JCL & VSAM 4 Fri May 27, 2016 1:07 pm
No new posts trying to define a VSAM Cluster in JCL t5590ag JCL & VSAM 10 Thu May 19, 2016 5:52 am
No new posts Need Help to Define 36 Input Fields (... satish.ms10 CLIST & REXX 2 Sat May 07, 2016 3:08 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us