Search found 195 matches
- Tue Feb 15, 2005 4:03 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Reset the Status/ Return Code of A routine
- Replies: 2
- Views: 825
Reset the Status/ Return Code of A routine
Hi, I have written a routine, in which I am reading from a file and doing some operations. Now after the Routines reaches the end of file it returns a status code 1, which means end of file reached. which is fine. but I want to reset the status to 0(only if end of file is reached), in the same routi...
- Tue Feb 15, 2005 3:11 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problem with Routines
- Replies: 8
- Views: 6073
- Tue Feb 15, 2005 1:46 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Attempt to convert String value to Date type unsuccessful
- Replies: 17
- Views: 20602
- Tue Feb 15, 2005 12:38 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Attempt to convert String value to Date type unsuccessful
- Replies: 17
- Views: 20602
well I would suggest is, read the column as varchar2(10) through-out all the stages from source till last oracle stage and then write a USER-Defined Query, in which for that column you use date function. Insert into <Table name> (Col1,Col2) values (:1,To_date(:2,'MM/DD/YYYY'). There will be no overh...
- Wed Feb 09, 2005 5:52 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Loading Date Values
- Replies: 15
- Views: 6956
well i was also fed up with such kind of error, so to resolve I have made a practice as described below: say my file has col1 as date having, date format: MM/DD/YYYY. I declare col1 as varchar2(10) in all the stages(including oracle stage) of my Job and then I write a user defined sql, say for inser...
- Wed Feb 09, 2005 5:25 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Getting a list of parameters
- Replies: 4
- Views: 1783
Result = DSGetJobInfo (JobHandle,DSJ.PARAMLIST)--returns a comma-separated list of parameter names. Result = DSGetParamInfo(JobHandle, ParamName,InfoType) InfoType Specifies the information required and may be one of: Result depends on the specified InfoType, as follows: DSJ.PARAMDEFAULT String - Cu...
- Wed Feb 09, 2005 4:12 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Job Parameter value
- Replies: 4
- Views: 1229
If you want to do it on Datastage, you can write DS basic code, in your job control.Sort the data on transaction_id.Then read from the sequential file(sequentially) and for every NEW transaction_id open a new sequential file (<file name>.transaction_id) to write the records , for this use the same l...
- Wed Feb 09, 2005 3:45 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Changing database schema name across all jobs
- Replies: 6
- Views: 1988
- Sun Feb 06, 2005 11:22 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: converting rows to columns
- Replies: 6
- Views: 2908
Use of aggregator is the best and simplest way as Kcbland has suggested. Use of hash file or a database is an extra overhead and its not advisable as its not a good design. As you can think of if your source file size is huge, then your going to eat up lots of space of your server/Database if you ha...
- Fri Feb 04, 2005 5:00 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Derived parameters
- Replies: 11
- Views: 3929
- Thu Feb 03, 2005 12:40 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: call custom user-defined,Routine or transform in job control
- Replies: 3
- Views: 1545
- Thu Feb 03, 2005 12:16 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Derived parameters
- Replies: 11
- Views: 3929
- Wed Feb 02, 2005 11:58 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: call custom user-defined,Routine or transform in job control
- Replies: 3
- Views: 1545
call custom user-defined,Routine or transform in job control
In one of my job, i wanted to call a routine(transform) in the job control to get a value then passing that derived value to a job invoked in the same job control. I was geting error message: Array 'Routinename' never dimensioned.It was considering the 'Routinename' as an array, as the the call was ...
- Wed Feb 02, 2005 10:58 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: ORA:00904 Error
- Replies: 6
- Views: 2962
- Wed Feb 02, 2005 10:47 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Derived parameters
- Replies: 11
- Views: 3929
An Alternative method, without using Job sequence. Say You server jobname is JOBA. I will create another server job JOBB, with all the parameters, that you have defined for JOBA. JOBB wont be having any mappings/stages. In the Job Control of JOBB, i will write a piece of code, like: SITE,DBName,DBUs...