Search found 68 matches

by changming
Thu Nov 30, 2006 11:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: 'call DSExecute' does not work in job control
Replies: 4
Views: 1492

'call DSExecute' does not work in job control

hi, I have one datastage job, in it's job control, I add one command as below Call DSExecute("UNIX", "ascript.sh", Output, SystemReturnCode) then I compile and run the job. the ascript.sh should create a new file in my unix direcroty. after the job finish, I can not see any file ...
by changming
Thu Sep 14, 2006 1:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert Timestamp ("YYYY:MM:DD HH:MM:SS") in hashta
Replies: 12
Views: 5841

use string

I do not know how you insert timestamp into hashtable. I just did a test, wrtie timestamp as string into hash file, the field data type is timestamp. There is no problem at all. the timestamp I am using is like this, yyyymmddhhmmss, for exsample 20060606124731
by changming
Sun Sep 10, 2006 11:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: merging two files with different metadata
Replies: 14
Views: 9270

why you do that

cat two file. but why you do that? how do you deal with a file with two parts of different meta data?
by changming
Sun Sep 10, 2006 11:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: merge stage failure
Replies: 3
Views: 1944

check your file

it is usually because your sequtial file format is not right. I have met this error several times. suggest you to view the data to make sure either of file format is correct.
by changming
Sun Sep 10, 2006 11:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Rejected row
Replies: 6
Views: 1919

constraints is right, check your input link

I think nothing wrong with your constraints.
check your database and input data are matching.
by changming
Sun Sep 10, 2006 11:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: date format
Replies: 9
Views: 2672

give the oracle varchar format

if your source date format is varchar dd-mm-yyyy,
just use substring function to convert it to yyyymmdd.
Orcale will work very well on this string.
by changming
Sun Sep 10, 2006 11:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenate issue
Replies: 9
Views: 2632

Anee wrote:Hi changming

It still doesnt work. Infact i doubt the stmt u wanted me to add in the transformer stage is correct.. is it possible to concatenate the way u told???
sorry, I tried, that is wrong. sorry for misleading you. Check your file whether it is writen by other link.
by changming
Sun Sep 10, 2006 10:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Concatenate issue
Replies: 9
Views: 2632

what is stmt?

what is stmt anyway?
try to cat in this way
link.field :''':'''
by changming
Sun Sep 10, 2006 10:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: split file
Replies: 12
Views: 4533

use multi instance

I do not know why you need to split a file to so many files. You can use hash file and multi instance do achieve this. you need to built to job, first job just read the file and write only the first one distinct column into one hash file then write into a txt file. seconde datastage job will be call...
by changming
Thu Jun 29, 2006 10:59 pm
Forum: IBM<sup>®</sup> DataStage TX
Topic: Wildcard search and replace ?
Replies: 3
Views: 4199

Re: Wildcard search and replace ?

I assume you are trying to replace something in maps? If so yo can do it this way also. First Export the map to xml file, then do search, replace and save the xml. Then re-import the xml file as map. you will see all the changes. Regards, Kiran Is there a way to do a wildcard search and replace ? S...
by changming
Thu Jun 29, 2006 10:33 pm
Forum: IBM<sup>®</sup> DataStage TX
Topic: enforcing business/validation rules
Replies: 4
Views: 4671

some validation can be aplied on input card

I agree that most business validation in maping rule or input cards. but there are some exemptions. for exsample, in input card, it is eaier and convininent to filter some data out of scope. If we use input card to extract the data which we want, that will save a lot of efforts to capture some tiny ...
by changming
Thu Apr 20, 2006 2:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge Stage Fails
Replies: 2
Views: 1019

change the escape charator to 0

that is worked for me well. do not ask me why, i learned from other's paste.
by changming
Tue Feb 07, 2006 12:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: null value in first line of output of a merge stage
Replies: 2
Views: 1186

null value in first line of output of a merge stage

I use a merge stage to do a many to many join, everything is working fine, just a little problem confused me few days. the null value in the first line of the merge stage output is transformed to 'Yes' for some unknown reason. This only happened on the first line. any one has met the same problem? i...
by changming
Mon Nov 28, 2005 10:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash file, reading and writing in same job
Replies: 10
Views: 4135

read and write same hash file, be careful the performance

I have a job read and read same hash file. I disable cash and lock for update. performance is bad. (not acceptable).
be careful to use that lock for update option.
by changming
Thu Oct 20, 2005 2:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merge Stage
Replies: 4
Views: 1168

check mapping in merge stage

check your mapping in merge stage, make sure all the key for joining two files are used.