× 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.



Not sure about the jobdapi part but sonething like -

dspobjd type *jobd to an outfile

read the outfile

use jobdapi to retrieve the libl of the jobd

decide if and where to put the new library

rebuild the initial library list

use chgjobd to change it

We did something like this to manage the initial library list for users in
a geo-mirroring environment

Jim Horn

message: 6
date: Fri, 10 Jul 2009 11:51:55 -0600
from: Alan Campin <alan0307d@xxxxxxxxx>
subject: Re: JobD update challenge - How to?

Look in the V5R4 infocenter for the program JOBDAPI. This retrieves the
job
description.

[1]http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp

You could then issue a CHGJOBD to replace the library list.

CHGJOBD JOBD(ALANC)
INLLIBL(XTEMP ILTESTDTA TEMP ILDTAQ IL OMNISITE OMNI
FIXES OMNIDATTST OMNITRACS OMNINATL ILWORK L
ISUG QGPL ABSTRACT EZVIEW GDE19OND DBU80 ILC
STMSRC ILMODULE ILPGMR)

On Fri, Jul 10, 2009 at 11:41 AM, Tim Gornall <tgornall@xxxxxxxxxx>
wrote:

> 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 email is intended only for the person or entity
to which it is addressed and may contain information
that is privileged, confidential or otherwise protected
from disclosure. If you are not the named addressee
or an employee or agent responsible for delivering
this message to the named addressee, you are not
authorized to read, print, retain copy, and disseminate
this message or any part of it. If you have received this
message in error please notify us immediately by email,
discard any paper copies and delete all electronic files
of this message.

References

Visible links
1. http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.