Welcome To T24All
Welcome, Guest
Please Login or Register.    Lost Password?

Compiled Object Question
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Compiled Object Question
#4642
Compiled Object Question 5 Months, 4 Weeks ago Karma: 0
Hello everyone,

I hope if anyone could help me find a way to know the date and time of the compilation of a routine compiled by EB.COMPILE, since I cannot rely on the UNIX file system attributes for the object file creation and modification dates due to copies and movements of files from one location to another.

In other words, is there an object attribute that says when the object was first created? If yes, please help me know how to know that.

Regards

T24 Version: R07
jBASE Version: 5
Operating System: AIX 5.3
KMoharram
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4647
Re:Compiled Object Question 5 Months, 4 Weeks ago Karma: 0
Lior
Expert Boarder
Posts: 93
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4648
Re:Compiled Object Question 5 Months, 3 Weeks ago Karma: 0
Thank you Lior, you have saved the day.

Regards
KMoharram
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4652
Re:Compiled Object Question 5 Months, 3 Weeks ago Karma: 1
I think jshow command returns timestamp of last compilation (not sure about jbase 5), maybe you ask wrong question..
If you want to know date and time of first compilation and you have all logs archived you should look in COMO

ls | grep COMPILED.PGM | xargs grep -B 1 name_of_routine
dajrokan
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4668
Re:Compiled Object Question 5 Months, 3 Weeks ago Karma: 0
Thanks dajrokan

But the following command has some wrong argument

ls | grep COMPILED.PGM | xargs grep -B 1 name_of_routine

-B 1 before the name_of_route is an invalid argument

Also, the COMPILE.PGM file does save the history per day, meaning if a routine is compiled several times in one day, it will only save the last one. Nonetheless, COMPILE.PGM.* is serialized in a non-uniform sequence, so forth you have to sort it by date.

Hence, this does not show a full history of the compilation of the routine.
KMoharram
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4676
Re:Compiled Object Question 5 Months, 3 Weeks ago Karma: 1
Hi
it depends on version of grep command you are using (check for newer version), -B 1 flag prints one line of leading context before matching line, where timestamp was stored. Anyway, you are right. File suffix is a port number and if operator compiled more than one routine under same port, file is rewrited :(

d.
dajrokan
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#5269
Re:Compiled Object Question 2 Months, 2 Weeks ago Karma: 0
hi,

can any body tell me the procedure for archiving large tables in the database?

regards
LSRao
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
lsrao
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1