File Objects creation

5 pts.
Tags:
AS/400
CRTDUPOBJ
iSeries Commands
Is there any way to find out what command was used by an authorised user to create a file object. Any help is highly appreciated.

Answer Wiki

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

Hey,

I just tried this to see what happens on my end.

I took a file that had a Creation Date/Time of 05/28/08 16:49:52.
I just did a CRTDUPOBJ and renamed the new object.
I then did a WRKOBJ on it, found it, and just took option 8 straight out, and the new object description details are showing 06/09/08 11:49:33

Maybe it has something to do with the version/release, but it works for me. I even tried using *SERVICE, and i am getting the same results.

Try doing some test dups in your lib, but don’t do *service.

~SR~

————————————————————————————————————————-
Hi,

I don’t think there is a way of finding this out.

If a file is compiled from DDS source you can see the source details from DSPOBJD *SERVICE, but if a file is created using CRTDUPOBJ it keeps the same source details. However, if a file is created using CPYF, the source details are not kept.

Hope this gives some help,

Regards,

Martin Gilbert.

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