Search found 22 matches

by smrutiranjannayak
Mon Jul 02, 2007 12:46 am
Forum: General
Topic: Unable to load data in hash file
Replies: 4
Views: 2143

Yes

We have clicked the box for both keys....as well as we have taken care all conditions in hash file....

Unable to track the error . Please help.
by smrutiranjannayak
Sun Jul 01, 2007 11:38 pm
Forum: General
Topic: Unable to load data in hash file
Replies: 4
Views: 2143

Unable to load data in hash file

Hi Gurus , I am facing the following problem : In my job the following sequence has been maintained : OCI stage ......> Transformer...>Hash File ...> From Oci stage 54 rows flowing same is from Transformer output link . But when we are viewing Hashfile data we can only see 2 rows We have 2 keys in H...
by smrutiranjannayak
Wed Jun 13, 2007 6:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to read redefines using parallel complex flat file stage
Replies: 10
Views: 4129

I had some other problems

Hi , The problem i am facing is : The input file is not a fixed width file ( its a cobol data file ) I used CFF stage also to read the data means view the data.....i have some redifines and occurs clause . So i am not able to do that . Also suggest how to use redefines tab in CFF ( gurus pls answer)...
by smrutiranjannayak
Wed May 16, 2007 6:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ORA - 02291 Error coming
Replies: 2
Views: 1870

ORA - 02291 Error coming

Hi All Gurus , I am doing a job where the following scenario is there . There is 1 source table (table 1)and one look up table (table 2) . These tables are joined on a key . Now in out put i am trying to update the same look up table (table 2) putting "Update or insert records" in SQL prom...
by smrutiranjannayak
Wed May 16, 2007 12:29 am
Forum: General
Topic: Counting no of records from multiple files
Replies: 7
Views: 3642

R u want record counts for file 1 n file 2 in your output?

Do you want record counts for file 1 n file 2 in your output? Or you want physical records to be combined in out put file.......?? I fit so then use `wc -l` for file 1 and 2 then ...... If you want records then write a simple shell script as : cat $I1 > $O1 cat $I2 >> $O1 call it after Job subroutin...
by smrutiranjannayak
Tue May 15, 2007 8:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Executing Unix script from routine...
Replies: 3
Views: 2360

Alternate solution

Hi , If it is related to running a Shell script (Unix) Then you can do that using ExecSH option too . If that is permitted then just execute a after/before subroutine and give execsh option and in value give ur shell script path ( if ur script needs some parameters you can give along with that also ...
by smrutiranjannayak
Sat Apr 21, 2007 8:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to open hash file
Replies: 13
Views: 7318

All above datastage proffessionals says right

When you ask for some suggestion always give the error details . Still if you have followed the suggestion above means keeping the directory and file name same for hash while reading and writing and you still got error . Then just check your hash file it might got corrupted . I am not sure but i ha...
by smrutiranjannayak
Sat Apr 21, 2007 8:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to read redefines using parallel complex flat file stage
Replies: 10
Views: 4129

You can use the below mentioned functions

Hi even once i faced the same scenario once One way is CFF stage but i dont have much clarity on that.... I followed the alternate sequential file stage . i.e , Use the data as a bunch for which you have redifinition and slice it accordingly as per your requirement . Means if you have column positi...
by smrutiranjannayak
Sat Apr 21, 2007 6:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Test Case for ODBC table update : Scenarion
Replies: 1
Views: 1119

Test Case for ODBC table update : Scenarion

I have the following scenario : Sequential file 1.....> .................> ODBC (update table) Transformer ODBC stage....> .................> ODBC (update table) I need to use a file and database(reference) as input and i need to update( or create two tables ) . Please suggest me what are the possib...
by smrutiranjannayak
Fri Apr 20, 2007 4:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trailing Spaces in Unix
Replies: 7
Views: 3617

This solution is already given.....

Hey ,

Use the below command :

when to save ur file in Unix do this :

:%s/ctrlv+m//

means colon then % ,then s then / ,then control v and controll m ,then double slash

enjoy :lol:
by smrutiranjannayak
Wed Apr 18, 2007 9:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date in Lookup Stage
Replies: 27
Views: 8161

Hi

Hi Pravin I think u must be aware of the universal fact that look up works on key....and at same time the data u want to fetch cant be the key.....ok... So for ur case i mean if u want date in lookup(hash file if server edition) then what u can do is you can create a dummy column and validate the s...
by smrutiranjannayak
Wed Apr 18, 2007 9:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer
Replies: 3
Views: 1391

Please look at code below...hope it will help


Hi ,

You can use :

If Len(String) = 10 and Num(String) = 1 Then 'AAAAA' Else something

Cheers :lol:
by smrutiranjannayak
Wed Apr 11, 2007 12:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading parameter file
Replies: 6
Views: 2641

You can use this ..If i got ur qs right

Hi , If the qs is related to "how you can use parameters for file names or other things " then you can do this : You can click on Job properties tab and on that you can declare a number of parameters as : e.g, parmSourceFilePath and declare it as string and give some default value . And i...
by smrutiranjannayak
Thu Apr 05, 2007 7:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting value from an input
Replies: 5
Views: 2359

Hey Hullett....

Can you just guide me how we can handle this scenarion in px since i worked in server only......


Thanks n cheers :lol:
by smrutiranjannayak
Thu Apr 05, 2007 2:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Extracting value from an input
Replies: 5
Views: 2359

You can use the below mentioned functions

Hi ,

Let suppose you have :

Columnname Data
Emp_id 1234567

As per ur qs you need the third number from left and want to check whther that is 3 or not ?

Use this :

If Substrings(Emp_id,3,1) = "3" Then x Else y .


Cheers