Hi all,
I have a job which is sending data from a file to target.
After the job run I need to maintain a stastics table which should contain the following information.
1-file name
2-job name
3-start date
4-no of records processed
5-no of records rejected
can anybody suggest how to acheive this.
Search found 200 matches
- Thu May 10, 2007 7:40 am
- Forum: General
- Topic: How to collect job status
- Replies: 12
- Views: 5812
- Thu May 10, 2007 12:57 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: XML Output collects multiple records into single parent node
- Replies: 11
- Views: 11815
XML Output collects multiple records into single parent node
Hi All, I have a server job that generates an XML output from a database table based on an XSD. I have 50 records in the test table and all of them have unique Keys. In one particular instance i have 3 records that have the same data for all the 20 columns. The output of 97 records look fine <Rec1> ...
- Wed May 09, 2007 11:57 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Accesing XML Schema in a Job
- Replies: 7
- Views: 2548
Accesing XML Schema in a Job
Hi All, I have a server job that reads from a Database table, applies some transform and then outputs to an XML Output stage. The XML Output stage is designed to generate output based on an imported XSD. I need to output a particular value if the schema definition has a specific rule for a column. e...
- Tue May 08, 2007 11:41 pm
- Forum: General
- Topic: Performing corelated subquery in datastage
- Replies: 2
- Views: 1971
Performing corelated subquery in datastage
Hi All, I have the source data like this sid,sname,recv_date,no_of_records,ind ---------------------------------------------- 1, A, 09-may-2007,800, 1 2, B, 08-may-2007,700, 1 3, A, 08-may-2007,900, 1 4, A, 07-may-2007,600, 0 5, B, 07-may-2007,400, 0 ------------------------------------------------ ...
- Thu May 03, 2007 12:43 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Putting condition in stage variable
- Replies: 7
- Views: 4367
Putting condition in stage variable
Hi all, I am facing some errors in the stage variable derivation stage. My source data is like this code name --------------- A USA B Uk C AUS ---------------------------- I want the out put in the condition that if code=A then name should be AAA.For this I have used the stage variable as below. inp...
- Thu Apr 26, 2007 10:35 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ODBC Stage Warnings
- Replies: 5
- Views: 1288
Work Around
Hi All,
I have managed to work around this by doing the job in EE instead. Same SQL, same job set up.. but in EE it works! :shock:
I have managed to work around this by doing the job in EE instead. Same SQL, same job set up.. but in EE it works! :shock:
- Thu Apr 26, 2007 8:27 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ODBC Stage Warnings
- Replies: 5
- Views: 1288
- Thu Apr 26, 2007 8:02 am
- Forum: General
- Topic: How to call a sdk category routine in the transformer stage
- Replies: 6
- Views: 2300
- Thu Apr 26, 2007 3:04 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ODBC Stage Warnings
- Replies: 5
- Views: 1288
Thanks Brian. I don't really want to update the key - I really want to just say: Is code field on table? If yes, ignore and continue, if no... store the new code in the table. Basic overview is that the larger table is updated everyday so that it will always contain data for all codes. The single fi...
- Thu Apr 26, 2007 2:20 am
- Forum: General
- Topic: How to call a sdk category routine in the transformer stage
- Replies: 6
- Views: 2300
How to call a sdk category routine in the transformer stage
Hi all,
Can anybody suggest me how to call a sdk category routine in the column derivation stage of the transformer.
For example in the date catagory of sdk there is a routine called DateGenericToTimeStamp.I want to use this routine in the derivation stage.
Can anybody suggest me how to call a sdk category routine in the column derivation stage of the transformer.
For example in the date catagory of sdk there is a routine called DateGenericToTimeStamp.I want to use this routine in the derivation stage.
- Wed Apr 25, 2007 10:31 pm
- Forum: General
- Topic: how to call an unix script in sequence job
- Replies: 10
- Views: 5241
- Wed Apr 25, 2007 4:14 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ODBC Stage Warnings
- Replies: 5
- Views: 1288
ODBC Stage Warnings
Hi All, I have stumbled across some very strange behaviour using an ODBC stage in a Server job that I hope someone might be able to help with. Basically, the job I have takes an input sequential file and loads to two different ODBC stages. One table contains all the fields in the input, the second c...
- Wed Apr 25, 2007 8:06 am
- Forum: General
- Topic: how to call an unix script in sequence job
- Replies: 10
- Views: 5241
I gave full path for the file skey.txt in the unix script. Then after running the sequence I am getting following log report. -------------------------------------------------------------------------------- mail_alert_seq..JobControl (@Execute_Command_11): Executed: /data/skscript Reply=126 Output f...
- Wed Apr 25, 2007 7:35 am
- Forum: General
- Topic: how to call an unix script in sequence job
- Replies: 10
- Views: 5241
Hi Craig, In the log it is showing that sequence job is finished. But the script is not getting executed. I am able to run the script in the unix env and getting the result properly. This is the log report I am getting. ---------------------------------------------------------------- mail_alert_seq....
- Wed Apr 25, 2007 6:53 am
- Forum: General
- Topic: how to call an unix script in sequence job
- Replies: 10
- Views: 5241
Hi , I have to perform the sequence job bcz there is another job which will remove one file after executing the script. In the exec command stage I tried basic unix commands like rm,cp and its working fine,but to execute the unix script while giving sh /data/script1.txt command I am not geting the r...