How to retrieve the “created by user” attribute for IFS objects ?

Tags:
AS/400
DataCenter
RPGLE
Hi, I'm writing a program in RPGLE to fetch certain attributes of IFS objects (directories, folders and libraries), attributes like date created, date last accessed, etc. I've found an IFS API (Qp0lGetAttr) which retrieves all of the attributes I need, except one - the user who created the object. Would you know how to extract this "created by user" attribute using some API or otherwise ? Is it possible at all ? Please do let me know. Thanks so much - Shantanu.
ASKED: August 17, 2006  4:23 PM
UPDATED: December 15, 2009  7:47 AM

Answer Wiki

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

Hi Shantanu

Have you tried API QUSROBJD, format OBJD0300 positions 220-229? The manual says it holds the creators user profile.

Jonathan
www.astradyne-uk.com

===========================================================

AFAIK, there is no such attribute for IFS files. Why do you think there is?

Tom

Discuss This Question: 2  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
  • Ayahel1
    I couldn't find any API that returns the creator of the IFS file. You can retrieve the owner of the file, though. The QUSROBJD is for QSYS objects and not IFS objects.
    0 pointsBadges:
    report
  • ShantanuBiswas
    Jonathan, ayahel1... thanks for your reply. ayahel1 is right... QUSROBJD works only for the QSYS.LIB objects. The API I was looking at, Qp0lGetAttr, can get the object OWNER... but that is not always the same as the object CREATOR. Thanks - Shantanu.
    0 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