Search found 25 matches

by Svengiyil
Wed Feb 03, 2010 5:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: tab as a filler
Replies: 3
Views: 1742

Thanks a lot ArndW, Its working for me.
by Svengiyil
Tue Feb 02, 2010 11:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: tab as a filler
Replies: 3
Views: 1742

tab as a filler

Hi,

I need to have tab as a delimeter between two columns for the file I generate from datastage.

For ex: A<tab><tab>B<tab><tab>C

Is there any function like Space function in ds using which we can generate tab?

Thank you,
Svengiyil
by Svengiyil
Fri Jan 29, 2010 5:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trim space that appears in between the column value populate
Replies: 4
Views: 1939

Thanks a ton Ray and Priyadarshi....It worked.
by Svengiyil
Fri Jan 29, 2010 3:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: trim space that appears in between the column value populate
Replies: 4
Views: 1939

trim space that appears in between the column value populate

Hi,

I need to remove the space which comes in between a column value.
For ex if the value is "abc def", I should populate this value as "abcdef".

How do I achieve this?

Thank you,
Svengiyil
by Svengiyil
Wed Jan 06, 2010 5:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error using Before job sub routine
Replies: 3
Views: 3229

I just got my solution from the reply given by Arndw in the below link http://www.dsxchange.com/viewtopic.php?t=103857&highlight=Job+stopped+-+before-job+routine+returned+error%3A+Error+1+returned+from+BEFORE+routine+DSU.ExecDOS, However i have a concern here, i finally specified H:\path1\Script...
by Svengiyil
Wed Jan 06, 2010 4:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error using Before job sub routine
Replies: 3
Views: 3229

error using Before job sub routine

Hi I have to place a file from target directory to source directory before the job run is complete, for which i'm using a DOS script and running it in the before job sub routine. while running the job , its throwing an error which says BeforeJob (ExecDOS): Error when executing command: H:\path1\Scri...
by Svengiyil
Wed Dec 09, 2009 6:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error compiling transformer stage
Replies: 2
Views: 1231

Thanks Sainath,

I used the row generator stage as input and it works fine now.
by Svengiyil
Wed Dec 09, 2009 6:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: warning message while using the change capture stage
Replies: 0
Views: 1195

warning message while using the change capture stage

Hi, I need to compare two files and capture the change,I have two files file1 and file2 as input,passing it to sort stage srt1 and srt2 respectively. I'm passing the output of the sort stages to a change capture stage Cap_Um. Under the Options in the chage capture stage , I have chosen change_Mode=E...
by Svengiyil
Tue Dec 01, 2009 5:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error compiling transformer stage
Replies: 2
Views: 1231

error compiling transformer stage

Hi, I have a requirement to generate a fixed width file with just the header and trailer, i.e header will display current date and trailer would display "Record Count=0000000000". For this I tried to use a transformer with two output files one for the header and the other for the trailer, ...
by Svengiyil
Fri Sep 18, 2009 9:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issue with null handling
Replies: 12
Views: 5557

Yeah.....the datatype in the target is also char..

Thanks,
Svengiyil
by Svengiyil
Fri Sep 18, 2009 9:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issue with null handling
Replies: 12
Views: 5557

my target is sequential file itself , i tried changing the variable value $APT_STRING_PADCHAR to 0x20, even after this the resultant column contains null value (same as before).

Thanks,
Svengiyil
by Svengiyil
Fri Sep 18, 2009 8:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issue with null handling
Replies: 12
Views: 5557

Hi,


I found the variable $APT_STRING_PADCHAR and changed the default value to 0x20...it still din't work for me.

Thanks,
Svengiyil
by Svengiyil
Fri Sep 18, 2009 8:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issue with null handling
Replies: 12
Views: 5557

sorry..not director....will i find $APT_PADCHAR setting in the administrator?
by Svengiyil
Fri Sep 18, 2009 8:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issue with null handling
Replies: 12
Views: 5557

Hi Craig,

The datatype is char, and could you please let me know where exactly will i find $APT_PADCHAR, is it in the director?


Thanks,
Svengiyil
by Svengiyil
Fri Sep 18, 2009 7:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: issue with null handling
Replies: 12
Views: 5557

issue with null handling

Hi, I have a requirement in which one of the column abc of length 20 (nullable not a key column) has to be left aligned and space padding is to be done if the column value is less than 20 (i.e, if the length is 5 then, after first five char there should be a space of 15). Here i have used a stage va...