Objects in library

95 pts.
Tags:
AS/400
AS/400 Library
AS/400 objects
How can I know what are the objects present in particular Library which are created by USER ID XXX?

Software/Hardware used:
Software

Answer Wiki

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

Discuss This Question: 5  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.

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
  • CharlieBrowne
    DSPOBJD OBJ(yourlib/*ALL) OBJTYPE(*ALL) OUTPUT(*OUTFILE) OUTFILE(somelib/somefile) The field ODCRTU will tell you who created the object.
    41,380 pointsBadges:
    report
  • TomLiotta
    Note that "created" is different from "owned". CharlieBrowne has the correct answer for the easiest and quickest way to determine objects in a library "created" by a user. Once the outfile is built, you can query the outfile to see which rows have the user in the ODCRTU column. . Tom
    125,585 pointsBadges:
    report
  • NAN4AS400
    yes I got it. Thanks Charlie & Tom for helping me .. Have a Great Day :) Regards, NAN
    95 pointsBadges:
    report
  • chalenger
    TOM, What is the diffrence between "Created" and "Owned"?? Hassan
    490 pointsBadges:
    report
  • TomLiotta
    "Created by" is the user who ran the CRT* function. If a user runs CRTPF, that user is set as the "Created by" user of the PF. Same for CRTPGM, CTRDTAARA and for all other CRT* functions. . For simple user profiles, the creator is also the "Owned by" user of the object. That user will remain as the owner unless a CHGOBJOWN command is used to change the owner to be a different user. Developers often create files, programs and other objects. But they should change ownership of application objects to be one of the application profiles. . For user profiles that are group members, the user profile OWNER(*GRPPRF) attribute should usually be set. When a member profile creates an object, the ownership of the object usually should be assigned to the group profile automatically. . But even if ownership is transferred, the "Created by" attribute of the object doesn't change. . Tom
    125,585 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.

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