Today, I just had occasion to DSPOBJD a program I restored to a local
partition and the create date was/is obviously "intact".
The creation data is prior to existence of this program on this partition,
this program has yet to be compiled on this partition,
and we have no system named "ADA".
The change data fits with my memory of the restore, and I
have not changed this object.
Here is a snip of DSPOBJD output:
Display Object Description - Full
Library 1 of 1
Object . . . . . . . : JDBCGATE Attribute . . . . . : RPGLE
Library . . . . . : JVAGATE Owner . . . . . . . : QPGMR
Library ASP device . : *SYSBAS Library ASP group . : *SYSBAS
Type . . . . . . . . : *PGM Primary group . . . : *NONE
User-defined information:
Attribute . . . . . . . . . . . . . :
Text . . . . . . . . . . . . . . . . : SQL CLIENT INTEGRATION EXIT PROGRAM
Creation information:
Creation date/time . . . . . . . . . : 08/28/10 12:23:10
Created by user . . . . . . . . . . : BENDER
System created on . . . . . . . . . : ADA
Object domain . . . . . . . . . . . : *USER
Change/Usage information:
Change date/time . . . . . . . . . . : 09/13/11 11:29:54
Usage data collected . . . . . . . . : YES
Last used date . . . . . . . . . . . : 12/09/11
Days used count . . . . . . . . . . : 12
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of paul therrien
Sent: Friday, December 09, 2011 10:22 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Create/Last Used Program Dates
I may be missing a nuanced conversation here but ...AFAIK the create date is
the create date is the create date. The change date may be affected by a
couple of operations, but the create date is the compile date. I may be wrong, but I have no reason to believe otherwise.
Now, if the program object was placed on the system by a restore command then this may be a different kettle of fish.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry C. Adams
Sent: Friday, December 09, 2011 10:31 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Create/Last Used Program Dates
Or the source could have been changed at a later date. I do that periodically when I want to add some documentation to the source (radical idea, I know).
Jerry C. Adams
IBM i Programmer/Analyst
Behind every successful man is his woman. Behind the fall of a successful man is usually another woman.
--
A&K Wholesale
Murfreesboro, TN
615-867-5070
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Morgan, Paul
Sent: Friday, December 09, 2011 10:14 AM
To: Midrange Systems Technical Discussion
Subject: RE: Create/Last Used Program Dates
Jerry,
You could look at the creation date on the source member used to create the program. It won't be exact (the program could have been compiled on a later
date) but that could be close enough for your purposes.
Paul Morgan
Principal Programmer Analyst
IT Supply Chain/Replenishment
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry C. Adams
Sent: Friday, December 09, 2011 10:30 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: Create/Last Used Program Dates
Did some more searches and still couldn't find the answer to my first question. I thought, perhaps, that when a program was re-compiled, that the creation date *might* be unchanged; i.e., retaining it from the object it was replacing.
But I tested that (lame) theory by re-compiling a program. Its creation date is now today. So I guess there's no way to tell when a program was originally created absent a journal entry, right?
Jerry C. Adams
IBM i Programmer/Analyst
Knowledge is knowing a tomato is a fruit. Wisdom is not putting it in a fruit salad.
--
A&K Wholesale
Murfreesboro, TN
615-867-5070
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry C. Adams
Sent: Friday, December 09, 2011 7:26 AM
To: Midrange-L
Subject: Create/Last Used Program Dates
I have a program that, using DSPOBJD, shows a creation date of 9 May 2006.
I know there's been a lot of discussion about creation dates and, especially, last used dates here. I tried searching the archives and the Info Center but could not find what I need.
Is the created date the actual date that the object was created? It, also, shows a last used date of 9 December 2011 (today). I ran this at 0630, when I first got here, and I'm the first one in the building. In fact every program I checked (even unused or rarely used ones) shows the same last used date. The library was backed up (via a WRKJOBSCDE entry) early this morning. It seems that saving the library also changes the last used date; is that correct?
Jerry C. Adams
IBM i Programmer/Analyst
We never really grow up, we only learn how to act in public.
--
A&K Wholesale
Murfreesboro, TN
615-867-5070
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.