As part of the new Technology Refreshes, 7.4 TR2 and 7.3 TR8, came a table function to return information about a single library. I have to admit that I don't really care about some of the information returned in the results, but there are three columns I am going to find very useful.
The new table function LIBRARY_INFO is found in the library QSYS2. It combines data elements from the RTVLIBD and DSPOBJD commands. When calling this table function there are two parameters, one mandatory and the other is optional:
- Library name: No surprise that this is the mandatory parameter
- Ignore errors? What to do when an error is encountered. This is the optional parameter. Valid values are: YES and NO
In these examples I am not going to use the second parameter.
Right, let's jump right in and see what information we can retrieve about one of my libraries: