Search found 76 matches

by agathaeleanor
Tue Aug 05, 2008 9:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get rid of new line return in Datastage basic code
Replies: 9
Views: 2140

Previously, I was trimming a space.

vFDATE = ScreenOutput
vFROM_DATE = TRIM(vFDATE," ","A")

Appreciate if you could provide a an example on how to use trim @FM.

Thanks.

agatha
by agathaeleanor
Tue Aug 05, 2008 8:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get rid of new line return in Datastage basic code
Replies: 9
Views: 2140

How to get rid of new line return in Datastage basic code

Hi all, I've a shell script to get date from table, then print it to datastage. In shell script the date returned is fine but when it went to datastage, it returned date follow by a new line. Thus making the child job inherit the parameter(date) to a null value. Suspect it takes value at the new lin...
by agathaeleanor
Wed May 07, 2008 7:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output file's format binary or ascii
Replies: 5
Views: 1705

No...I mean the output file will then going through a transformer for my current dsjob. Will it be the root cause that, the transformation of file changing the default file format?

Btw, I cant see rest of the line....:(
by agathaeleanor
Wed May 07, 2008 7:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output file's format binary or ascii
Replies: 5
Views: 1705

by default it will generate ASCII file. But then the output file will then transform, is there any possibility that the output file change to binary file after going through transformer?
Weird char as in a square box appeared. When it inserts into table, it appears as space.
by agathaeleanor
Wed May 07, 2008 1:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Output file's format binary or ascii
Replies: 5
Views: 1705

Output file's format binary or ascii

Dear All Expert, I would want to seek for your advise that, i've a dsjob that will query a table in db then output the result in a flat file. May i know how do i change the flat file type to either ascii or binary? As the output result containing some weird character when i opened the flat file. Fyi...
by agathaeleanor
Mon Jan 21, 2008 12:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob status
Replies: 5
Views: 1790

arh, it's abit too late to come across your post. I've kill it in unix but the job status become finish? By seeing the log, the job was modified by me that added in a sleep function causing the job running in a loop that keep greping a process that is still running. Anyway, thanks for your replied. ...
by agathaeleanor
Sun Jan 20, 2008 11:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob status
Replies: 5
Views: 1790

Thanks chulett.

I grepped the process using this command "ps -ef | grep phantom" but I found that the process is still running.

Should i continue with clear the status flag?
What probably causing this to happen that the job is not reached the finish point?
by agathaeleanor
Sun Jan 20, 2008 11:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob status
Replies: 5
Views: 1790

Thanks chulett.

I grepped the process using this command "ps -ef | grep phantom" but I found that the process is still running.

Should i continue with clear the status flag?
What probably causing this to happen that the job is not reached the finish point?
by agathaeleanor
Sun Jan 20, 2008 11:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: dsjob status
Replies: 5
Views: 1790

dsjob status

I have a dsjob that has been running for several days, it suppose to finish in 10 minutes time. It connected to oracle DB that i wish to kill the session but it appears weird that the session wasn't there. I been hitting stop button in datastage few times. May i know if there is any solution? Thanks...
by agathaeleanor
Thu Jan 17, 2008 9:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hashed file corrupted
Replies: 3
Views: 1197

Hi Ray,

it is resolved by rename the hashed file :P
The hashed file now created.

Thankful to you despite I cant read the whole content of your reply.
by agathaeleanor
Thu Jan 17, 2008 8:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hashed file corrupted
Replies: 3
Views: 1197

hashed file corrupted

I have a hashed file corrupted. And tried several method to resolve this. Method as 1. delete the job and reimport, error was operating system file already exists with the name "D_PREPAID_SUBSCRIBER_HASH". 2. delete.file and uvfixfile. Error was no privileges. Only superusers is allowed to...
by agathaeleanor
Thu Jan 17, 2008 6:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: rsh return code
Replies: 3
Views: 1292

It is working now. Instead of grepping the bad file, I redirect the return code of sqlloading to a file and grep the result there.

Thank you, chulett.
by agathaeleanor
Wed Jan 16, 2008 5:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: rsh return code
Replies: 3
Views: 1292

rsh return code

Hi all. May i know how to have the rsh command's return code correctly? I have my script as `rsh 10.1.65.196 -l ciopr01 ksh "/recovery/dmprod/prepaid_loading/scripts/DM_Sqlldr_enh.ksh ${TARGET_TABLE_NAME} ${JOB_NAME} ${DATA_SOURCE_NAME} ${USER_ID} ${PASSWORD}"; echo$?` Even if my DM_Sqlldr...
by agathaeleanor
Mon Jan 07, 2008 4:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issue on running sqlldr while using rsh
Replies: 5
Views: 2094

Thanks very much.
It works now with the ORACLE_HOME path defined.
by agathaeleanor
Mon Jan 07, 2008 4:24 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issue on running sqlldr while using rsh
Replies: 5
Views: 2094

Thanks very much.
It works now with the ORACLE_HOME path defined.