DSPOBJD in iSeries

290 pts.
Tags:
AS/400
DSPOBJD
iSeries
I used rename function and renamed the library. But when I used the command DSPOBJD to see the source information relating to the object, the library still point to old name. How to resolve this without recompiling all the objects again?


Software/Hardware used:
Iseries command, CL400
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

What you see is what how the operating system is designed. It records the facts as they were at the time of object creation.

When you rename the library it does not got through every object to make changes. You will need to recompile if you want the information to changes.

Discuss This Question: 6  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • philpl1jb

    What you describe cannot happen.

    Perhaps, you copied the library instead or renaming it.

    Or perhaps, your rename ended in error so the library wasn't renamed.

    54,090 pointsBadges:
    report
  • pdraebel
    I do not think a recompile is necessary. There is an API QLICOBJD that can be used to change the source references in the Object description. Try Googling for program/CMD CHGOBJSRC. I found that way back in a 1994 article from News 400. I am not sure if it will allow changeing the Module source of RPGLE programs. But it could work.
    7,545 pointsBadges:
    report
  • ToddN2000
    I have never had a need to do that. I did not think there was a way but I'll have to take a look at pdraeble recommendation and check out the API. I might still not do it though. The reason being if someone else were to check the object they would assume it was compiled from that source. If there were changes being made and not yet compiled, some may assume it has already been done and have issues trying to debug the code.
    133,790 pointsBadges:
    report
  • philpl1jb

    Guess I got lost in space (the space between my ears).

    Yes the source indicates the date, time and location of the source when the object was created.

    54,090 pointsBadges:
    report
  • Babs312

    Hi All,


    Thanks for all your suggestions.  Basically I got the information what I am looking for.  Thank you very much.

    290 pointsBadges:
    report
  • pdraebel
    I wanted to add one more thing. The API can also be used to stamp the Object with release version and so on. So it is woth checking out.

    7,545 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: