Newsletters Subscriptions Media Kit About Us Contact Search Home

mgo
OS/400 Edition
Volume 3, Number 52 -- August 8, 2003

Reader Feedback and Insights: Soft-Coded Library Lists


Hey, Ted:

This regards adding library lists at runtime ["Hard-Coded Library List Woes"]. I would like to suggest a technique that we implemented in a project I worked on.

This is using the concept of library groups available from the TAATOOL toolset package. I believe this library is available on most AS/400 systems. We can group a set of libraries under a common name. We can then add this library group to the system at runtime. We also can specify things like library priorities. Here is a small example:

DCL        VAR(&LIBGRPLIB) TYPE(*CHAR) LEN(10)
RTVDTAARA  DTAARA(SYTSYSGRPL) RTNVAR(&LIBGRPLIB)
ADDLIBGRP  LIBGRP(HAWKIGRP) LIBGRPPLIB(&LIBGRPLIB)
HAWKBAR

--Prajeesh


The TAATOOL package originally shipped as a freebie add-on to OS/400. The tools carried no guarantee. At some point, the package ceased to be shipped with OS/400 and became available for sale from Jim Sloan Inc. Jim Sloan has continued to enhance the package, and there are many more tools now. I occasionally hear of a shop that still has the old code and is running some it. I don't know if the ADDLIBGRP utility was part of the package back in the old days.

--Ted


Sponsored By
ADVANCED SYSTEMS CONCEPTS

Quoted from an experienced programmer
new to the iSeries (AS/400):

"The best thing about working on the AS/400 is using ASC's SEQUEL product."

If you're tired of the limitations imposed by Query/400 or ODBC-based query and reporting tools, you need SEQUEL. Discover how thousands of sites around the world have improved access to iSeries data using SEQUEL's Windows- and Web-interfaces. It's the one tool you can rely on for virtually all your iSeries data access needs.
FREE trial available.

Read More about SEQUEL


THIS ISSUE
SPONSORED BY:

Advanced Systems Concepts
WorksRight Software


BACK ISSUES

TABLE OF
CONTENTS

Calling CL Programs as Stored Procedures

Guarantee Unique Key Values

Reader Feedback and Insights: Soft-Coded Library Lists


Editors
Howard Arner
Joe Hertvik
Ted Holt
David Morris

Managing Editor
Shannon Pastore

Publisher and
Advertising Director:

Jenny Thomas

Advertising Sales Representative
Kim Reed

Contact the Editors
Do you have a gripe, inside dope or an opinion?
Email the editors:
editors@itjungle.com

Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.