Question

  Asked: Jun 8 2008   6:30 PM GMT
  Asked by: Mdshahid


File Objects creation


CRTDUPOBJ, iSeries programming commands, AS/400

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.

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



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.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on AS/400.

Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register