Search found 4992 matches

by kcbland
Mon May 01, 2006 2:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unexpected results from ORAOCI9
Replies: 8
Views: 1231

What is the database datatype, not the one in the job? Anything CHAR datatype always has space padding, so it's hard to believe that you could pull back more characters than the database allows. Could the job be out of step with the database?
by kcbland
Fri Apr 28, 2006 4:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Substring problem
Replies: 12
Views: 3095

I like using basename, but since it's a Windoze platform that option is out.
by kcbland
Fri Apr 28, 2006 3:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to retrieve data on a different domain
Replies: 8
Views: 1422

That's exactly what I'm talking about. Copy the files from the mapped directory to a local hard drive and process the data there. Then, copy it to a mapped directory.
by kcbland
Fri Apr 28, 2006 3:42 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine Variable
Replies: 5
Views: 1488

You need to declare a COMMON variable, which will maintain its value as long as the process is active.

COMMON /pickaname/ yourvariable1, yourvariable2, yourvariable3.

Search the forum for implications and limitations to a labeled COMMON.
by kcbland
Fri Apr 28, 2006 12:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Insert ,update
Replies: 2
Views: 753

You'll need to separate your inserts from your updates during transformation process so that you have a link for each. Then, you can get job link statistics using DS BASIC API calls or the dsjob command line program.
by kcbland
Fri Apr 28, 2006 12:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Ascential Local folder increasing
Replies: 11
Views: 2723

Go to my site, request access. I'm here for another 15 minutes so I'll approve it right away.
by kcbland
Fri Apr 28, 2006 12:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to retrieve data on a different domain
Replies: 8
Views: 1422

You don't have to change jobs. Just copy files around. If you know how to map network drive on a Windoze PC, that's all you need to do on the server.
by kcbland
Fri Apr 28, 2006 12:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Substring problem
Replies: 12
Views: 3095

Count the slashes and the filename is after the last slash. SlashCount=COUNT(yourstring,"\") If SlashCount > 0 Then LastWord=FIELD(yourstring, "\", SlashCount+1) End Else LastWord=yourstring End If RIGHT(LastWord,1)='"' Then LastWord=LastWord[1,LEN...
by kcbland
Fri Apr 28, 2006 11:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to retrieve data on a different domain
Replies: 8
Views: 1422

The DataStage server has to have visibility to all network drives in order for the jobs to access them. When a job runs, it runs as the user logged into Director but still on that Server. Any network drives should be mapped on the server, else use UNC notation when accessing. You want to avoid doing...
by kcbland
Fri Apr 28, 2006 11:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Ascential Local folder increasing
Replies: 11
Views: 2723

If you grab my mass-compile utility off the members area, that includes a CLEAR.FILE of the logs when it recompiles the jobs. I didn't write it to preserve the purge settings, probably should fix it. Maybe you could make a better version? There's no 1 line command to clear a bunch of hashed files. I...
by kcbland
Fri Apr 28, 2006 11:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: BEST UPSERT TECHNIC
Replies: 15
Views: 5056

Correct? Yes, for a minimum out of effort. I'm in the camp of spooling out the entire row (all columns) and staging into a sequential file first. This allows you to have a "before" image of a row that may be potentially updated. Then, another job loads that sequential file into two hashed files: on...
by kcbland
Fri Apr 28, 2006 9:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: BEST UPSERT TECHNIC
Replies: 15
Views: 5056

A sourcing, extracting, unloading, exporting, or spooling job would be something like OCI-->XFM-->SEQ.
by kcbland
Fri Apr 28, 2006 9:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: BEST UPSERT TECHNIC
Replies: 15
Views: 5056

Spooling, old slang for extracting the rows from a data source and writing to a target. "Spool to tape, spool to disk, spool to file." In this case, I'm talking about writing out to either a sequential or hashed file from a database. One would never spool to a database, however.
by kcbland
Fri Apr 28, 2006 9:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Ascential Local folder increasing
Replies: 11
Views: 2723

CLEAR.FILE is not the same as DELETE.FILE.

You could get your hands on the utility I've got that mass-sets the purge settings on jobs. You could use the other utility I've got to go mass-purge all job logs, then re-apply the purge settings.
by kcbland
Fri Apr 28, 2006 9:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HOw to create arrays in datastage basic routines
Replies: 5
Views: 5481

Okay, I just freehanded the junk, F and V are close together on the keyboard. :oops: