Search found 98 matches

by monaz
Tue Mar 31, 2009 2:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine or Unix Script
Replies: 5
Views: 1647

Routine or Unix Script

hi All, There is a requirement in project is that we need to implement the following in two ways the same code as descriped 1.The job1 will give me a output file with two columns Id and Name 2. I need to use job1 file output to the job 2 as parameter( Id and Name) What job2 will do is that it will h...
by monaz
Tue Mar 31, 2009 4:54 am
Forum: General
Topic: How to use job parameters as the input
Replies: 1
Views: 891

How to use job parameters as the input

Hi Can any one help me how to use the job parameter for the job. Job-1 is giving the output as two feilds Id(param1) and the where_condition clause(param2). job-2 will use the above feilds in as the parameter. Can i know how to call the job parameter of job1. because i want to use in the job2 SQL wh...
by monaz
Tue Feb 24, 2009 11:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to generate config file
Replies: 3
Views: 1648

Please explain what a "config file" actually means in the context (that of a Sybase stored procedure executed from the command line, presumably). Do you mean a "script file"? Can you provide an examp ... Ray, You have understood correct, can you please guide me in how can we exe...
by monaz
Mon Feb 23, 2009 1:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to generate config file
Replies: 3
Views: 1648

how to generate config file

Hi, Can anyone guide me how to use config file as the input to the job. Requirement- I am using a sybase stage with a stored procedure contains more than 7 left outer joins to the master table and then using sort and aggregator stage (Max() function for row to column conversion) and loading into seq...
by monaz
Tue Feb 17, 2009 11:02 pm
Forum: General
Topic: case condition
Replies: 2
Views: 1314

case condition

Hi, I have an requirement in which i need to check the condition for multiple tables and populate for a single column. Ex- I need to check [if tableA.col1=tableB.col1 then tableB.col else if tableA.Col1=tablec.Col1 then tablec.Col else tableA.col] as newcolumn I could write in the stored procedure o...
by monaz
Fri Feb 06, 2009 1:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Record Count of Hashed File
Replies: 12
Views: 6479

Re: Record Count of Hashed File

Is there any way that we can get the record count of a hashed file? I do realize that we can write it to a sequential file and then get the count. When it comes to datasets, we are able to use the orchadmin commands to get the count. Similarly, is there any way to get the record count of a hashed f...
by monaz
Thu Feb 05, 2009 12:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenate 3 files and generate sequence number
Replies: 14
Views: 8742

Here are the steps you could proceed with
1. In job properties, in after job subroutine tab select EXEC DOS

2. Can use the below command
(copy /b /y File1Name+File2Name+File3Name FinalOutputFileName)
by monaz
Tue Nov 04, 2008 3:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine Material
Replies: 2
Views: 1259

Routine Material

Hi,

As i have to develope routines and new to data stage. Can Anyone help me providing documents for developing routine with simple examples how to start with it.


Please advice..
by monaz
Sat Oct 11, 2008 4:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Fmt function for decimal data type
Replies: 1
Views: 1078

Fmt function for decimal data type

Hi all, I have an problem with FMT function. I have requirement where i have to do RIGHT ALIGN Space fill for decimal field. eg:- Quantity- decimal(17,4) is the input given OutPut:- < 645.0000> So to do right align space fill i wrote the below derivation for quantity filed as FMT(Quantity, "17'...
by monaz
Tue Oct 07, 2008 12:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sort and aggregator
Replies: 1
Views: 836

sort and aggregator

Hi All, Is it a good idea to have around 3 sort stage and 3 aggregator in a single job... Is performance wise also is it good....? In my case i have used sort and aggregator 1) for Sorting the data as per requirement 2) Sorting and doing row to column by MAX 3)Finding the number of records passed to...
by monaz
Mon Oct 06, 2008 5:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sort stage problem
Replies: 1
Views: 1656

sort stage problem

Hi I have problem with the sort stage.My job is getting aborted by the below FATAL ERROR: "CopyOfTestRSNAM_ExtractBPSA_Seg10..Sort_28: ct_fetch failed or canceled Sybase Open Client error: ct_fetch(): user api layer: internal common library error: The bind of result set item 6 resulted in an ov...
by monaz
Mon Sep 08, 2008 4:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: pivoting data in rows to column
Replies: 9
Views: 21882

My requirement is that for example INPUT is given below empid line_num Text 100 1 a 100 2 b 100 3 c 200 1 aa 200 2 bb 300 1 ccc OUTPUT should be:- emp text 100 abc 200 aabb 300 ccc I have applied the same logic as given above. but i am not the output as above. Instead the output i am getting is emp ...
by monaz
Mon Sep 08, 2008 4:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: pivoting data in rows to column
Replies: 9
Views: 21882

Thanks, i have applied the same logic what you specified. Are we not going to use any constraints.
by monaz
Tue Sep 02, 2008 9:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Decimal to Character
Replies: 7
Views: 2518

Thanks it has been worked out...
by monaz
Tue Sep 02, 2008 8:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Decimal to Character
Replies: 7
Views: 2518

Re: Decimal to Character

is it not necessary to convert decimal to character...I tried working with CONVERT function but i am getng the below warring.
"Insufficient result space for explicit conversion of NUMERIC value '128119000.00' to a CHAR field".