Find object for a program source given

5 pts.
Tags:
AS/400 administration
AS/400 objects
i want program which can check if the object exist for a particular object and vice versa

Answer Wiki

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

Hi,

in AS/400 you can use WRKOBJ followed by program name. If you have forgotten the program name type WRKOBJ and first two or three letters of the Program Name followed by *. Press F4 and then enter *ALL in library parameter.

try this.

Thanks
Siddharth
///////////////////////////////////////////////////////////////////////
You would create two files
– one listing the source — DSPFD mySrcLib/QRPGLESRC *MBRLIST *outfile MyLib/Mbrlist
– the other listing the objects – DSPOBJD myPgmlib/*All *pgm *outfile MyLib/PgmList
add to this list the DSPOBJD myPgmlib/*All *SVCPGM *outfile MyLib/PgmList

Then you can create two SQL’s or queries to join the two lists on Objname – MbrName
– one shows items in mrblist not matched with pgmList
– the other shows items in pgmList not matched with mbrlist

But if you are using ILE and modules you may find a number of sources that are modules in programs — not actual programs.

Phil

Discuss This Question:  

 
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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following