How to know the update date and time of a source

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
gpbarsky
Participant
Posts: 160
Joined: Tue May 06, 2003 8:20 pm
Location: Argentina

How to know the update date and time of a source

Post by gpbarsky »

Hi, my friends....

I'm looking a way to know each job modification date (server or sequencer).

If I compile the job today, I can see that the Date/Time modified (within Manager) is set to today date.

Is there a way to get the real job update date and time ?

Thanks in advance.

:wink:
Guillermo P. Barsky
Buenos Aires - Argentina
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

'Real' job update date/time? Depending on what that means, you could query the DS_AUDIT table in the repository for that I would think.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ag_ram
Premium Member
Premium Member
Posts: 524
Joined: Wed Feb 28, 2007 3:51 am

Re: How to know the update date and time of a source

Post by ag_ram »

gpbarsky wrote:Hi, my friends....

I'm looking a way to know each job modification date (server or sequencer).

If I compile the job today, I can see that the Date/Time modified (within Manager) is set to today date.

Is there a way to get the real job update date and time ?
What you need exactly? Job Modification TimeStamp or Job Compilation TimeStamp

Job Modification TimeStamp - DS_AUDIT
Job Compilation TimeStamp - RT_CONFIGnnn(31th Field, in DataStage internal format)
ag_ram
Premium Member
Premium Member
Posts: 524
Joined: Wed Feb 28, 2007 3:51 am

Re: How to know the update date and time of a source

Post by ag_ram »

gpbarsky wrote:Hi, my friends....

I'm looking a way to know each job modification date (server or sequencer).

If I compile the job today, I can see that the Date/Time modified (within Manager) is set to today date.

Is there a way to get the real job update date and time ?
What you need exactly? Job Modification TimeStamp or Job Compilation TimeStamp

Job Modification TimeStamp - DS_AUDIT
Job Compilation TimeStamp - RT_CONFIGnnn(31st Field, in DataStage internal format)
gpbarsky
Participant
Posts: 160
Joined: Tue May 06, 2003 8:20 pm
Location: Argentina

Post by gpbarsky »

Thanks, Ram and Craig.

Do you know the format of the DS_AUDIT table ?
Guillermo P. Barsky
Buenos Aires - Argentina
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

It's not in the public domain, but you can do a 'LIST.DICT' on it or just a 'select * from' and see what you get.
-craig

"You can never have too many knives" -- Logan Nine Fingers
gpbarsky
Participant
Posts: 160
Joined: Tue May 06, 2003 8:20 pm
Location: Argentina

Post by gpbarsky »

Thank you very much, Craig.

I'll try to develop the DS job to list the DS_AUDIT table. I know that this is not an easy task, but I will try.

:wink:
Guillermo P. Barsky
Buenos Aires - Argentina
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You could also do a 'LIST.DICT DS_AUDIT' from the Administrator client. Search the forums for COMO to find ways to get that output in a file.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Tip: create/import a table definition with "metadata supports multi-valued fields" check box checked. Then use a UniVerse stage to extract from DS_AUDIT. Use two output links, one un-normalized and the other normalized on MODS.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply