AS/400 Library List

AS/400 Library List

Most systems have a way to find objects when a specific path is not specified. The same is true of the AS/400 and it uses an object called the library list (*LIBL). This object doesn't exist on its own and is always associated with another object like a job or a job description (*JOBD). As of OS/400 V5R1 the user portion of the Library List can contain up to 250 library names. Prior to that it could only have 25 libraries. (This is something to keep in mind when selling software because on OS/400 V4R5 and below a job description with more than 25 libraries in its library list cannot be restored.)

A job's library list consists of four sections:

* System portion: Always at the top and contains AS/400 system libraries like QSYS, QHLPSYS, QUSRSYS, etc. The system portion can hold up to 15 library names. The default contents of the system portion are specified in the QSYSLIBL system value. The contents of the system portition can be changed for the current job to differ from QSYSLIBL by using the CHGSYSLIBL command.
* Product portion: When a CL command is executed that specifies a production library that library will be added to the product portion of the library list for the duration of the command. It follows the system portion and the O/S will maintain up to two libraries in it.
* Current library: Is a special library associated with a user profile and there can only be one in the list at a time. This library is useful for programmers to have their personal library at the top of the list regardless of what the user portion is changed to. It can be changed locally using the CHGCURLIB command. To change it for the user on all future jobs use the CHGUSRPRF command.
* User portion: The last part of the library list that contains all of the application libraries. The list is normally assigned to the job from the job description but for batch jobs this can be overridden using the SBMJOB command's INLLIBL parameter. A job's library list can be changed locally with the EDTLIBL, CHGLIBL, ADDLIBLE, and RMVLIBLE command.

As was mentioned above the user portion of the library list for any job can be stored in a job description so that when a job starts up it will use the list specified there. Some job descriptions specify the special value *SYSVAL which means that the library list can be found in the system value QUSRLIBL. Please note that the AS/400 Operating System will allow you to delete a library that is in a job description or either of the library list system values provided there are no jobs locking the library. However, all future jobs that use these now tainted lists will fail to start.


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • AS/400 library — A library (*LIB) on the AS/400 is an object that is used as a system directory to keep track of other objects. (It is also keeps track of PTFs in AS/400 system libraries.) (The other directories that can be used are the directory (*DIR) and… …   Wikipedia

  • List of Alpha Phi Alpha brothers — The list of Alpha Phi Alpha brothers (commonly referred to as Alphas cite web |url=http://www.union.arizona.edu/csil/greek/chapters/view.php?id=39 |title=Arizona Student Unions |work=Fraternity and sorority programs |publisher=University of… …   Wikipedia

  • List of Indian inventions — [ thumb|200px|right|A hand propelled wheel cart, Indus Valley Civilization (3000–1500 BCE). Housed at the National Museum, New Delhi.] [ 200px|thumb|Explanation of the sine rule in Yuktibhasa .] List of Indian inventions details significant… …   Wikipedia

  • Library science — is an interdisciplinary science incorporating the humanities, law and applied science to study topics related to libraries, the collection, organization, and dissemination of information resources, and the political economy of information.… …   Wikipedia

  • List of republics — is a list of countries or states governed as a republic.For Antiquity (or later in the case of societies that did not refer to a Western terminology to qualify their form of government) the assessment of whether a state organisation is a republic …   Wikipedia

  • List of BASIC dialects by platform — List of BASIC dialects by platform: This is a list of dialects of the BASIC computer programming language, sorted into groups for better conceptual organization.There is also an alphabetical list of BASIC dialects. These two lists should contain… …   Wikipedia

  • List of Peruvian Navy ships — List of ships of the Peruvian Navy currently comprising almost every Peruvian warship commissioned after 1840.Vessels Acquired in the 1840s and 1850sPresident Castilla sought to expand and well equip the Peruvian Navy. His naval policy was to if… …   Wikipedia

  • List of former Christian Science churches, societies and buildings — List of former Christian Science churches, societies, buildings, etc. Some are on the National Register of Historic PlacesIn spite of its early meteoric rise, it appears likely that the Christian Science Church has suffered a decline in… …   Wikipedia

  • List of California ballot propositions 2000–2009 — List of California ballot propositions: 2000 2009ElectionsMarch 7, 2000*1A Passed Gambling on Tribal Lands. Legislative Constitutional Amendment. *12 Passed Safe Neighborhood Parks, Clean Water, Clean Air, and Coastal Protection Bond Act of 2000 …   Wikipedia

  • List of Statutory Rules and Orders of the United Kingdom — is an incomplete list of Statutory Rules and Orders of the United Kingdom.Statutory Rules and Orders were the predecessor of Statutory Instruments and they formed the secondary legislation of England, Scotland and Wales prior to 1948 and the… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”