× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jim Sloan, of TAATOOL fame, has a command that solves this problem:

ADDJOBDLIB ADD JOB DESCRIPTION LIBRARY TAAJBDD

---------- --------------------------- -------



The Add Job Description library tool supports the ADDJOBDLIB and

RMVJOBDLIB commands to add or remove a single library from the

INLLIBL parameter of one, all, or generic job descriptions in a

library. A POSITION parameter similar to ADDLIBLE is supported.

This simplifies mass changes to job descriptions or the simple step

of adding or removing a library.



A typical command to add library LIBA to all job descriptions

beginning with the name ABC in library LIB1 would be:



ADDJOBDLIB JOBD(LIB1/ABC*) LIB(LIBA)



By default, the library is added at the end of the existing libraries

in the INLLIBL parameter of each job description. A POSITION
parameter exists (similar to ADDLIBLE) to allow the library to be
added as the first library, the last library, after or before a
reference library, or to replace a library.

A typical command to add LIBA after LIBB to a job description would
be:

ADDJOBDLIB JOBD(xxx) LIB(LIBA) POSITION(*AFTER LIBB)

The POSITION parameter may also be used when multiple job
descriptions are changed.



Kenneth
Kenneth E. Graap


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tim Gornall
Sent: Friday, July 10, 2009 10:42 AM
To: midrange-l@xxxxxxxxxxxx
Subject: JobD update challenge - How to?

I need to insert a new lib into many jobd's, and each jobd can have
different lib lists. If a lib exists in the jobd lib list, I need to
add the new lib just ahead of the existing one in the list. In other
words, I need to search 50+ jobd's for libX, if libX exists in a jobd, I
need to insert libY just ahead of it. Doing this manually seems very
tedious, especially since the new lib needs to be put in the middle of
the stack.
Any ideas?

Tim


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.