Search found 230 matches

by sb_akarmarkar
Wed May 16, 2007 6:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Writing in to a sequential file trhru routine
Replies: 22
Views: 10266

Shrinivas,

Instead of CHAR(10):CHAR(13) use and try CHAR(13):CHAR(10).


Thanks,
Anupam
by sb_akarmarkar
Fri Apr 13, 2007 4:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write a delimeted string in to a sequential file thru routin
Replies: 5
Views: 2070

Its a control Routine where I am writng the status of jobs in the sequential file .The routine fetch the starttime and status of all jobs in my project. All status stored in a single variable with deimeter ";". but when i write in to sequntial file I want them in to diffrent lines as I me...
by sb_akarmarkar
Fri Apr 06, 2007 5:44 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write and Read the same hash file in same job?
Replies: 6
Views: 2681

Re: Write and Read the same hash file in same job?

i am writing to a hash file first and in the second transformer i read from it for a lookup. I dont have any caching enabled for the hashfile. Will this work? will all the records be written successfully before the read operation begins? ANY HELP IS APPRECIATED. ---------- ------- ------- ---------...
by sb_akarmarkar
Fri Apr 06, 2007 5:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File Qtd Limits
Replies: 10
Views: 4969

Hi,

Are you using delete/create hashed file option while creating lookup some time this wont work. Better to go with clear hash file and then loads option

Thank You,
Anupam
by sb_akarmarkar
Mon Feb 12, 2007 10:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Status code 127 for the job
Replies: 4
Views: 2122

Hi,

Use DSTranslateCode() function....................


____________________________________________________________
Anupam
by sb_akarmarkar
Thu Jan 25, 2007 3:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Calling stored procedure.
Replies: 14
Views: 9378

Hi,

You can use ODBC stage to call store procedure.

In ODBC stage import --> store procedure defination - >Provide arguments.

In ODBC parameter tab provide value or parameter in value section...



Thanks,
Anupam
by sb_akarmarkar
Thu Jan 25, 2007 2:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Modify Schema Name in OCI9
Replies: 4
Views: 2348

Hi,


Create parameter for database schema... Like

SELECT FIELD1, FIELD2 FROM #SchemaName#.TABLE_NAME;


Thanks,
Anupam
by sb_akarmarkar
Thu Dec 14, 2006 5:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Save doublon
Replies: 22
Views: 8338

Hi, 1. Order by key column. 2. Store value in variable and compare old and new key values if equal then double file else normal insert in target. Ex: Arrange varaiable in following order Var = Key Var1 = If Var = Var2 Then "Cons Double File" Esle "Cons Insert Target" Var2 = Key T...
by sb_akarmarkar
Fri Dec 08, 2006 4:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: compilation error - transformer stage
Replies: 18
Views: 6752

Look like empty string... Try to add Trim(ColumnName) <> ''...

Thanks,
Anupam
by sb_akarmarkar
Fri Dec 08, 2006 4:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in setting a job parameter
Replies: 10
Views: 5071

Parag, If data is huge we cant work with this. Better to create two jobs First jobs reads distinct of material code from file (use aggregator to get distinct) pass this value as parameter to second job use DSRunjob routine to trigger second job in first job transformer. But need to think of performa...
by sb_akarmarkar
Fri Dec 08, 2006 2:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: compilation error - transformer stage
Replies: 18
Views: 6752

Try now

If i/p_column1 = "A" AND Not(IsNull(ip_column2)) THEN
ip_column2[1,7] ELSE @NULL


Thnaks,
Anupam
by sb_akarmarkar
Fri Dec 08, 2006 1:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: compilation error - transformer stage
Replies: 18
Views: 6752

Re: compilation error - transformer stage

vij wrote:
If i/p_column1 = "A" Then IF IsNotNull((ip_column2)[1,7]) THEN
ip_column2[1,7] ELSE SetNull() Else SetNull()
Why not AND in condition ..... like

If i/p_column1 = "A" AND IsNotNull((ip_column2)[1,7]) THEN
ip_column2[1,7] ELSE SetNull()

Thanks,
Anupam
by sb_akarmarkar
Fri Dec 08, 2006 1:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in setting a job parameter
Replies: 10
Views: 5071

Hi,


It is possible to divide file into multiple file with combination aggregator stage and folder stage....


Thanks,
Anupam
by sb_akarmarkar
Thu Dec 07, 2006 6:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Folder Stage to filter Record
Replies: 16
Views: 6147

Ray,

Yes it takes only single charcter.....

Thanks,
Anupam
by sb_akarmarkar
Thu Dec 07, 2006 6:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Folder Stage to filter Record
Replies: 16
Views: 6147

Please inspect your result file with a hex editor, or Oconv(String,"MX0C"), and show us that the Char(10) characters have gone. After all, it's not a printable character. ... Yes, It is also working without Char(10) also... Field(Column2,Char(13), 1) But Field function allows more than si...