Search found 112 matches

by chetan.c
Fri Feb 24, 2012 2:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External source stage very slow
Replies: 4
Views: 1503

Tar command takes 35 mins on the command prompt.
But when run in the job ,the job is not completeing at all.

Thanks,
Chetan
by chetan.c
Thu Feb 23, 2012 11:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External source stage very slow
Replies: 4
Views: 1503

External source stage very slow

Hi, I have a n external source stage with below command. tar -xOvf /home/LLS2TEALFA01_CSS997.tar This tar ball has 19k files and around 100,000 records. The job takes around 30 mins to finish. The performace of the stage is very slow.I'm just testing the load with the job having only 2 stages: Exter...
by chetan.c
Thu Feb 23, 2012 8:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External source stage skipping blank lines
Replies: 13
Views: 5098

The issue with the external source stage about consuming more bytes than defined i resolved that error by increasing APT_MAX_DELIMITED_READ_SIZE and APT_DEFAULT_TRANSPORT_BLOCK_SIZE. That seems to have solved the Consuming more than 100000 bytes error. But still did not get why it says record delimi...
by chetan.c
Wed Feb 22, 2012 11:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External source stage skipping blank lines
Replies: 13
Views: 5098

Thanks for the response.

But actually the client does not want to write these files to the disk.
So going on this route.


Thanks,
Chetan
by chetan.c
Wed Feb 22, 2012 2:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External source stage skipping blank lines
Replies: 13
Views: 5098

Yes windows newline erros with no record delimiter. I did read a post here about the error of Consuming 100000 bytes for which the user increased the APT_MAX_DELIMITED_READ_SIZE and the job worked. But i dont want to do that atleast now without finding out why this is happening. Any thoughts? thanks...
by chetan.c
Tue Feb 21, 2012 2:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External source stage skipping blank lines
Replies: 13
Views: 5098

hi Kryt0n, I just passed the file throught od -xc and i got the below output. The First two lines of the files looks like this. [iamie] TLTSID=E53F96B42B72102BB3D22D89C82DEAEC. The second portion in the code is with a blank line and next line which has data. So it is DOS style right ?As there is \r\...
by chetan.c
Mon Feb 20, 2012 6:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External source stage skipping blank lines
Replies: 13
Views: 5098

Specify your record delimiter string property in the Sequential File stage as "DOS style". ... Hi Ray, I tried using DOS style but still the same problem. Also when i load a tar file which has around 7000 records,the job aborts saying consumed more than 100000 bytes . I read the posts her...
by chetan.c
Fri Feb 17, 2012 2:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Special character "@" in unix file
Replies: 3
Views: 1466

Special character "@" in unix file

Hi ,
I'm getting a special character @ in files.
What is this character to remove it.

Like ^M is (ctrl-v ctrl-m).


Thanks,
Chetan.C
by chetan.c
Thu Feb 16, 2012 3:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External source stage skipping blank lines
Replies: 13
Views: 5098

Actually there is ^M characters in the data.

When i use tar -xOvf /home/TL012938524.tar | sed 's/^M/ /g' on command prompt i'm getting the correct output but if i use it in external source stage its not getting removed.

Thanks
by chetan.c
Wed Feb 15, 2012 10:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External source stage skipping blank lines
Replies: 13
Views: 5098

Re: External source stage skipping blank lines

Hi ,

Is it a problem in the configuration?
Please guide me for a solution.

Thanks,
Chetan.C
by chetan.c
Wed Feb 15, 2012 11:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: External source stage skipping blank lines
Replies: 13
Views: 5098

External source stage skipping blank lines

Hi , Im using the below command to in the source program column in External source stage. tar -xOvf /home/files/Reques_folder.tar The output from the external source stage is skipping the Blank lines. However when i enter the same command in unix prompt it is giving the correct data from the files i...
by chetan.c
Tue Feb 14, 2012 5:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Empty line as constraint in transformer
Replies: 5
Views: 2751

Sorry actually len() works but my logic in stage variables was wrong, fixed it thanks.
by chetan.c
Tue Feb 14, 2012 4:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Empty line as constraint in transformer
Replies: 5
Views: 2751

Hi,

I tried len() but its not working either.
Empty line is just a blank line not any number of spaces or blanks.
Like
a

b

Thanks.
by chetan.c
Tue Feb 14, 2012 4:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Empty line as constraint in transformer
Replies: 5
Views: 2751

Empty line as constraint in transformer

Hi,

I have data like this.
Col1
a
b
c
"Empty line"
d
e
f

My output should be
abc
def

I'm using stage variables to concatenate the rows.
But how to mention the constraint in Transformer as blank line?

I tried trim(col1)='' but it is not working.

Thanks
Chetan