David,

That API will change the source information in the *SERVICE portion of an
object description.  I think Leif is referring to the source that a *MODULE
was created from when in a bound program.  This is in the *MODULE's list in
DSPPGM and cannot be changed via the QLICOBJD API.

Mark





                    "David Morris"
                    <David.Morris@plumc       To:     <midrange-l@midrange.com>
                    reek.com>                 cc:
                    Sent by:                  Subject:     Re: Source/Object 
mismatch
                    midrange-l-admin@mi
                    drange.com


                    02/07/02 03:58 PM
                    Please respond to
                    midrange-l






Leif,

Don't have access to your book, but you can use API's to change the
object source information. The iseries-toolkit
(http://iseries-toolkit.sourceforge.net)
includes a chgobj command that allows you to change the service
information for an object.

The source for the change object API program is here:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/iseries-toolkit/CVSROOT/src/qrpglesrc/chgobjd.irp?rev=HEAD&content-type=text/vnd.viewcvs-markup


David Morris

>>> leif@leif.org 02/07/02 12:59PM >>>
From: Reeve Fritchman <reeve@ltl400.com>
> Yes, it is available in DSPPGM in the "Modules" subfile.  Too bad we
can't
> get an outfile...
>

chapter 38 of my eBook at http://iseries400.org shows how to write
a program to retrieve (and even change) this information.
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
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 ...


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.