Search found 200 matches

by sjordery
Thu May 10, 2007 7:40 am
Forum: General
Topic: How to collect job status
Replies: 12
Views: 5812

How to collect job status

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.
by sjordery
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> ...
by sjordery
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...
by sjordery
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 ------------------------------------------------ ...
by sjordery
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...
by sjordery
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:
by sjordery
Thu Apr 26, 2007 8:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ODBC Stage Warnings
Replies: 5
Views: 1288

Thanks Nick - I will give it a go and see what happens.

Cheers
by sjordery
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

My requeirement is like this

my input data for a particular column is like 02-feb-2007 its date-time data type.

I want the out put in 20070202 format
So can I use that iconv or oconv function in the parallel extender or is there any other method for this please suggest.
by sjordery
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...
by sjordery
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.
by sjordery
Wed Apr 25, 2007 10:31 pm
Forum: General
Topic: how to call an unix script in sequence job
Replies: 10
Views: 5241

Hi,

Thanks to all.
I gave the command as . /data/script and 777 permission to the script.
Its working fine now.
by sjordery
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...
by sjordery
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...
by sjordery
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....
by sjordery
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...