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
Search found 76 matches
- 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
- 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...
- 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
- 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
- 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...
- 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. ...
- Sun Jan 20, 2008 11:50 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dsjob status
- Replies: 5
- Views: 1790
- Sun Jan 20, 2008 11:48 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: dsjob status
- Replies: 5
- Views: 1790
- 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...
- Thu Jan 17, 2008 9:45 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: hashed file corrupted
- Replies: 3
- Views: 1197
- 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...
- Thu Jan 17, 2008 6:53 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: rsh return code
- Replies: 3
- Views: 1292
- 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...
- 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
- 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