Search found 3045 matches

by vmcburney
Mon May 13, 2002 5:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup Table Challenge and Job Status
Replies: 1
Views: 1565

The Parent list will be your reference lookup, the Child list will be your source data. Inside the transform drag the PIDCID field onto the parent PID field. Modify this field to read "Left(PIDCID, 3)" to ensure you only match the first three characters. Now drag across the required output...
by vmcburney
Wed May 08, 2002 5:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple source files as inputs
Replies: 2
Views: 1925

The merge stage will probably not work because you do not have a key that joins rows from the two files. Your join criteria appears to be the row number, ie join row 1 to 1, row 2 to 2 etc. The join criteria in a merge stage is quite restrictive and it will not let you put row number in as a key. It...
by vmcburney
Mon Apr 22, 2002 6:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Filling a sequential file from an array
Replies: 1
Views: 1260

You can do this from a Routine called from a Batch or Sequence job. The OpenSeq statement opens a sequential file, Writeseq outputs a row to the file. Page 13-24 of the Server Developers manual contains the commands for Sequential File Processing. Here is an example from the manual, you just need to...
by vmcburney
Mon Apr 22, 2002 6:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: GoTo Statement
Replies: 2
Views: 1500

Here is an example using a GoSub and a label called GetInfo: ErrCode = DSRunJob(hJob3, DSJ.RUNNORMAL) ErrCode = DSWaitForJob(hJob3) Handle = hJob3 gosub GetInfo ... ************************************************* * Function that returns information about the job ***********************************...
by vmcburney
Mon Apr 22, 2002 12:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Scheduling jobs more than daily
Replies: 7
Views: 3154

DataStage Basic has a sleep command "Sleep [Seconds]". You may find it easier to write a Batch job that runs in a loop with a sleep of up to 15 minutes that runs the jobs that need to be run on a frequent schedule. This batch job can ensure aborted jobs are reset and can send emails when a...
by vmcburney
Mon Apr 22, 2002 12:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how call an .exe cobol from datastage? (or other e
Replies: 2
Views: 2074

You can call an external application from any part of DataStage that supports DataStage Basic using the DSExecute command. DSExecute has a "shelltype" parameter which is set to "Unix" for Unix commands residing on the DataStage server or "NT" for an NT server. The comma...
by vmcburney
Thu Apr 11, 2002 5:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running A Job
Replies: 3
Views: 1347

Try the validate and run again. Go to your project directory and move to the &PH& directory with the command cd '&PH&'. Find the last log file in this directory and look at the contents. Sometimes an error appears in this log file that does not appear in the Director. This directory ...
by vmcburney
Wed Apr 10, 2002 9:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: QA of loading
Replies: 1
Views: 1811

Put an output link in each of your transforms that leads to a flat reject file and make these all reject links at the transform constraints screen. You now have a couple of options: - you can either set your warning limit on the job to 1 so the job aborts as soon as a row is rejected by any transfor...
by vmcburney
Sun Mar 17, 2002 6:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using Complex Flat Files (CCF) Stage
Replies: 1
Views: 1985

There are a couple things that cause this type of error. First off does the batch pass the file name or path to the job? If these parameters are incorrect the job could try to open a file that is not there. Secondly does the batch run under a different login? This could cause a file read permission ...
by vmcburney
Mon Mar 11, 2002 11:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can I log the jobs into database?
Replies: 2
Views: 1364

One method is to have a centralised logging routine which is called up at the end of each job, the routine is passed the handle of the job, it uses this handle to attach the job and retrieve the information about the last run of that job. It then logs into a database and writes the information to a ...
by vmcburney
Thu Feb 21, 2002 6:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle OCI problem
Replies: 3
Views: 2351

Thanks for the reply "datastage", I've tried to find something other than the SQL but there are no before job routines, there are no delete or truncate commands in the job and there are no other jobs running. The job is simple with just three stages. An OracleOCI select, a transform, and a...
by vmcburney
Wed Feb 20, 2002 6:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Version Control 511r1 and Creating Hash Files
Replies: 6
Views: 2924

What are the commands you are referring to? ... there are administrative type commands that can analyze the hash files then you can set the minimum modulus settings for these files which will result in higher performance. I have used the Hash File Calculator under the HFC directory on the 5.1 CD to ...
by vmcburney
Mon Feb 18, 2002 4:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle OCI problem
Replies: 3
Views: 2351

Oracle OCI problem

I have a problem where an Oracle OCI select statement is taking far too long when executed from a DataStage job. We have a job that performs a simple select from a table based on a date: SELECT {list of fields} FROM wp_caption WHERE last_update_date = TO_DATE('13/02/2002', 'DD/MM/YYYY') The problem ...
by vmcburney
Mon Feb 18, 2002 12:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CompileAll tool
Replies: 7
Views: 2499

It's a great tool and it's saving me a lot of time. One problem I am having is that it is not showing the categories, it's just showing a list of jobs from all categories in alphabetical order. Am I using the wrong version or should I add this to a wishlist?
by vmcburney
Mon Feb 11, 2002 9:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: 5.1 Job Sequences
Replies: 4
Views: 2240

Try putting your code into a routine, call this routine from within the Job Sequence with the RoutineActivity stage and pass it the name of the job you are trying to access. Both the input and output variables for the routine will be available to subsequent linked stages in the job sequence. The rou...