Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

QUSRSYS QUESTION on system i

Posted on 2014-02-06
5
Medium Priority
?
530 Views
Last Modified: 2014-02-06
I would like to create a multiple QUSRSYS libraries (QUSRSYSA, QUSRSYSB....)  and defined each to specific groups of users (possibly via the JOBD) .  Currently QUSRSYS is part of the system library list.  

My question (concern) is are there any caveats to removing QUSRSYS from the system library list or concerns with creating multiple QUSRSYS Libraries?

The reasoning is to segregate the outq within each QUSRSYS.
0
Comment
Question by:ckellems
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 39840338
I'm not sure exactly what you are trying to accomplish, or why, but QUSRSYS, as you've noted is part of the default system library list.

You can create as many OUTQs as you like, and put them in any library you like.  

For example, you could have:

QUSRSYS/GROUP1 *OUTQ
QUSRSYS/GROUP2 *OUTQ
QUSRSYS/GROUP3 *OUTQ

all in QUSRSYS.

And in the various jobd's just point them to the appropriate outq.

Also "Q" library names are generally reserved for IBM use, so I'd suggest picking a different name if you do need to create dedicated libraries for each group for some reason.

Maybe if you provided a better explanation of your requirements, we can help you figure out the best practice for handling the issue.
0
 

Author Comment

by:ckellems
ID: 39840389
Gary,   Thanks...I guess I was asking if there are any "unintended consequences" for removing the QUSRSYS from the QSYSLIBL list.  

I can see your point with creating non-OS "Q" objects.  Yet I am looking for a simplified method to keep the existing outq (currently stored in QUSRSYS)  when I migrate multiple systems (servers) to a single server.    I was thinking of naming the QUSRSYS from machine A to QUSRSYSA on the consolidating server (as there will be about 20 different servers being moved to this consolidating server.)

Any caveats?
0
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 39840628
Ah, server consolidation.

That's a big topic.  Let me stick to the topic at hand:  No, don't take QUSRSYS out of the system libl.  It is the default library for creation of certain new objects, and needs to be in the system portion of the libl.

Do a WRKLIB and take a look at all the stuff in QUSRSYS (besides outqs and jobqs) - you'll see journal receivers, journals, data queues, user queues, user indexes, job schedules, validation lists, and files that are used by various system facilities, and need to be findable.

Instead, I suggest locating any user objects in QSYS, QHLPSYS, QUSRSYS, and QSYS2 on each system and getting them moved into user libraries.  Then you can add the appropriate user libraries to each group.

By convention, suggest you avoid "Q" names, for user libraries.

I've done quite a few system consolidations and mergers over the years - don't hesitate to post back if you need help.

- Gary

Check out my EE profile:  http://www.experts-exchange.com/M_4382324.html
0
 
LVL 35

Accepted Solution

by:
Gary Patterson earned 2000 total points
ID: 39840672
You basic idea is sound, though.  You'll probably find yourself needing to create multiple versions of common libraries that cannot be merged - usually due to name conflicts.

Merging libs with the same name is the best strategy when possible.

Renaming libs creates all kinds of problems.

Hardcoded library names in programs (and I've occasionally seen library names stored in database files) are the big problem when doing this kind of consolidation.  We use some simple tools we built to scan objects - programs, of course, but also source members, DB2 stored procedures and UDFs, QSH and PASE scripts, Java source, table trigger constraints, and even database table columns that may contain library names used dynamically to execute programs of find files.  Journals, journal receivers, and logical files can be linked to physical files in specific named, and depending on the rename and move process, these links can get broken.

Similar issues sometimes exist in the non-QSYS parts of the IFS.

Programs that construct library names (or IFS names) based on a naming convention are even trickier to track down.

You'll also have to deal with potential device and user name conflicts, too.

Of course, a lot depends on the systems that you are merging, and now much overlap you have in library names and objects in shared libs.

And of course, test, test, test.
0
 

Author Comment

by:ckellems
ID: 39840674
Gary....Sage advice which I will follow.  Thanks!
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever stumbled upon a software that is so great that you just love? It happened to me. Love at first sight. Filezilla Server.   Ok its not the most advanced ftp server I've came across. But its a fairly simple piece of software to get the …
Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question