Information about activities in DataStage

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
egury
Participant
Posts: 8
Joined: Fri Jan 28, 2005 9:04 am
Contact:

Information about activities in DataStage

Post by egury »

Hello.

I would like to collect some information about activities in DataStage.

1) Time of beginning and ending of session.
2) Identification of the user who performs actualizations.
3) Identity or location of the terminal.
4) Record of successful and unsuccessful access to the system and to the data.
5) System errors.
6) Log of every task of user and resource administration inside the application.

Thank you very match.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

egury,

there is a hash file in each project called DS_AUDIT. This file contains a lot of the information that you are looking for, but not all.

You can read this file from a DataStage job and also import the metadata, but here is a list of the columns. The KEY (column 0) is the unique KEY:

Code: Select all

KEY            D    0                            Class\ID        40L    S
DTC            D    1                            Created on      20L    S
CREATOR        D    2                            Created by      20T    S
PREVDTD        D    3                            Last deleted on 20L    S
PREVDELETOR    D    4                            Last deleted by 20L    S
DTM            D    5                            Modified on     20L    M MODS
MODIFIER       D    6                            Modified by     20T    M MODS
REASON         D    7                            Reason for modi 38T    M MODS
                                                 fication
Does this help?
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Do a search for DS_AUDIT. There are several examples out there already.
Mamu Kim
egury
Participant
Posts: 8
Joined: Fri Jan 28, 2005 9:04 am
Contact:

Post by egury »

Thanks to both.

egury
egury
Participant
Posts: 8
Joined: Fri Jan 28, 2005 9:04 am
Contact:

Post by egury »

I have a question:

How do I import the metadata from DS_AUDIT using the Manager?
I tried using Import -> Table Definitions -> UniVerse Table Definitions..., but I couldn't do it.

Thanks in advance.
egury.
mhester
Participant
Posts: 622
Joined: Tue Mar 04, 2003 5:26 am
Location: Phoenix, AZ
Contact:

Post by mhester »

The DataStage repository files are not visible via the manager for import, therefore you would not be able to import the dictionary of the file.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Did you notice that there's been no response from Editor, even though you posted on the Editor's Corner forum? Editor just doesn't have the technical knowledge you have ascribed to him!

The reason Arnd posted the column definitions for DS_AUDIT is that they can't be imported; they, like all Repository tables, are explicitly blocked from the Import process. Create a table definition manually; use VarChar as the data type for all columns (precision as per Arnd's post), mark the table definition as able to handle multi-valued fields, and ensure that you record DTM, MODIFIER and REASON as multivalued and associated by the name MODS.

Alternately, execute the following command (in Administrator client)

Code: Select all

COPY FROM VOC 'DS_AUDIT','MY_AUDIT' 
to create a synonym called MY_AUDIT and import the table definition for MY_AUDIT in Manager.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
egury
Participant
Posts: 8
Joined: Fri Jan 28, 2005 9:04 am
Contact:

Post by egury »

I'm sorry. I posted this to Editor's corner by error (this is my first post !!!)

How can I move to server forum?

Regards.
egury.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You can't move this thread - Ray has asked The Powers That Be to do that for us. For now, just take this conversation over to the proper forum if you have any other questions! :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Editor
Posts: 265
Joined: Wed Oct 30, 2002 11:19 am
Location: Dallas TX
Contact:

Post by Editor »

Okay, now the scoop, as you might have seen in my recent posts, their is a change of the guard. The reason this post hasn't moved into the server section is that Walter is getting up to speed with the site duties. I will ask him to move this directly.

Ray is right, don't anyone think that I can support even the lightest of technical questions.

But we have some experts that can make the 'grade'. :D

Dennis,

Editor.
whardeman
Posts: 111
Joined: Mon Oct 21, 2002 11:17 am
Location: Fort Worth, Tx
Contact:

Post by whardeman »

Topic moved to Server forum
Post Reply