Search found 4605 matches

by kduke
Fri Nov 05, 2004 9:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find path to a hash file from a routine
Replies: 4
Views: 962

Code: Select all

Ans = ""
HashFileName = Arg1
open "VOC" to VOC else return
read VocRec from VOC, HashFileName then
   Ans = VocRec<2>
end

by kduke
Fri Nov 05, 2004 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cleaning flat files using routines
Replies: 1
Views: 916

You need a before routine probably. * Call routine like #InFileParam#-#OutFileParam# InFileName = field(Arg1, '-', 1) OutFileName = field(Arg1, '-', 2) Cmd = 'SH -c "':"perl -pe 's/[\x00-\x09\x0B-\x1F]/ /g' < input > output":'"' execute Cmd capturing output return...
by kduke
Fri Nov 05, 2004 5:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: RAM / swap usage
Replies: 13
Views: 7707

Ray

Why not use ls command.
by kduke
Thu Nov 04, 2004 9:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Tracking file/table usage
Replies: 6
Views: 2225

Another option is Reporting Assistant.
by kduke
Wed Nov 03, 2004 1:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: please Help in routine
Replies: 2
Views: 1018

You need the routine posted on ADN http://developernet.ascential.com/forum ... php?t=1043.
by kduke
Tue Nov 02, 2004 8:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reset and run a job
Replies: 5
Views: 1588

Thanks guys. Ray, Will Rogers said "I never met a man I did not like until I talked to him". They usually just quote the first part. Makes a difference when you add "until I talked to him". I like your quote.
by kduke
Tue Nov 02, 2004 2:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reset and run a job
Replies: 5
Views: 1588

Reset and run a job

Ray or Hester or someone: There is a way to reset and job and remained attached to it but I am not sure of the syntax. This is a multiple instance job that I want to reset and run. I was just deleting the RT_STATUS records and noticed this did not always work. I changed it to this code below. If you...
by kduke
Tue Nov 02, 2004 1:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle 8i and 9i clients on same DS sever?
Replies: 10
Views: 2477

We use an 8i client to update 9i tables. I have not tried a 9i client with 8i tables but I expect it to work. For testing purposes I would like to know that you could use 2 different clients with separate projects the way Eric describes. Post your solution and explain how well it works when you are ...
by kduke
Tue Nov 02, 2004 1:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: OCI STAGE
Replies: 2
Views: 749

You need to do it in a before job routine. So it would need to pass in an argument which would tell it to truncate the table or not. This should be controled by a parameter. Pretty simple routine. I would put the sql to run in a text file and use sqlplus in a shell script to execute. Ray and others ...
by kduke
Mon Nov 01, 2004 4:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Empty File check in Server Job Sequence
Replies: 3
Views: 3879

There are several. You could use a shell script which does an exit 0 or exit 1 when it fails. You would need to do more error checking. You could do an openseq in BASIC. The status command will give you the size of the sequential file. Do a search Ray and others have posted code on the status command.
by kduke
Mon Nov 01, 2004 1:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage server with other applications
Replies: 3
Views: 1312

Usually DataStage will use up all the resources. The other application may not function with DataStage on it. If the other application is a database then you may gain performance if it is your target. Cuts down on network traffic. Usually reporting is not going on during loads so this does seem to w...
by kduke
Sun Oct 31, 2004 10:02 am
Forum: Site/Forum
Topic: Question to Ascential Management
Replies: 12
Views: 8449

God is love. Love is demonstrated by mercy, gentleness, meekness and kindness. Mercy is the powerful being gentle to the powerless. God is not mocked you will reap what you sow. If you sow mercy then you will reap mercy. Mercy is such a rare thing. I think all of us are motivated by something more t...
by kduke
Sun Oct 31, 2004 8:58 am
Forum: Site/Forum
Topic: Question to Ascential Management
Replies: 12
Views: 8449

Ascential How long will you play the bully? What damage could a book from Ray do? All he wants to do is make us better DataStage developers. What damage could Ken Bland's white papers do? You are a billion dollar company. You can enforce your will on any of us. Someday all of us as individuals are p...
by kduke
Fri Oct 29, 2004 11:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: xls.files
Replies: 8
Views: 2729

TNS needs to be resolved with sqlplus. If you get on the server and use sqlplus from there and it works then it should work in DataStage. If not then your Oracle home variable is wrong or one of the other Oracle variables.
by kduke
Fri Oct 29, 2004 11:25 am
Forum: Site/Forum
Topic: Ascentialworld feedback?
Replies: 3
Views: 2663

Nice signature Craig. :lol: