Search found 7201 matches

by admin
Sun Sep 30, 2001 9:24 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: How to convert an integer date to a real date using OS/390 D
Replies: 4
Views: 1778

How to convert an integer date to a real date using OS/390 D

> Hello, > > There is a field in a DB2 table that is defined as integer. The field > is currently storing a valid date. For example, 20010909. > > I am trying to use DataStage to convert this to a real date format. > How can it be done using the OS/390 DataStage component. > > My idea is to use subs...
by admin
Fri Sep 28, 2001 10:49 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: Batch Aborts
Replies: 4
Views: 881

This is almost impossible to answer without knowing fairly precisely what your jobs are trying to do. In general, something somewhere is waiting for a resource for more than 1800 seconds - this might be an FTP connection or something like that. While waiting, the job is not logging any events, so th...
by admin
Fri Sep 28, 2001 10:44 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: Routine in OS/390
Replies: 1
Views: 413

Routines dont show up in Designer until (a) theyve been compiled successfully (b) Designer has re-read the repository Try re-opening the Designer -----Original Message----- From: Rui Miguel de Sousa Soares (Novabase - IGestao [mailto:rumsoares@bes.pt] Sent: Friday, 29 September 2000 03:05 To: Datast...
by admin
Fri Sep 28, 2001 10:36 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: Processing files in a directory (was:Passing parameter)
Replies: 3
Views: 559

Note also that BASIC can open a directory as if it were a table (use OpenPath statement), then the filenames in that directory appear to be key values for that table. Your job control code might make use of this feature. This is one of many techniques taught on "Programming with DataStage BASIC".
by admin
Fri Sep 28, 2001 10:48 am
Forum: Archive of DataStage Users@Oliver.com
Topic: Batch Aborts
Replies: 4
Views: 881

Batch Aborts

I have a several batch processes that abort with this message, however, none of the jobs seem to be affected. Any ideas as to why the jobs would not start periodically? Batch::DailyRejectPercent.JobControl (fatal error from DSRunJob): Job control fatal error (-14) (DSRunJob) Job DailyRejectPercentNC...
by admin
Fri Sep 28, 2001 7:59 am
Forum: Archive of DataStage Users@Oliver.com
Topic: Desperately seeking ... performance-bottlenecks
Replies: 2
Views: 819

Desperately seeking ... performance-bottlenecks

Hi there Ive got a DataStage batch consisting of a number of jobs each with a number of stages of various forms (nothing particularly fancy and Ive simplifed the description slightly for ease of discussion). I really have 2 related questions: * How do I readily identify the rate-limiting job(s) ... ...
by admin
Fri Sep 28, 2001 12:12 am
Forum: Archive of DataStage Users@Oliver.com
Topic: Passing parameter
Replies: 5
Views: 1831

Ken, DSGetParamInfo is, imho, a cleaner approach, since its result can be tested to check whether the parameter name actually exists in the job (a subsequent "developer" may have unthinkingly removed it). You can also find out other information, such as parameter type, design time default value, run...
by admin
Thu Sep 27, 2001 11:41 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: Passing parameter
Replies: 5
Views: 1831

Dirk/Ray: If you are developing a batch job to control other jobs, the parameters are available as BASIC variables in the batch job. There is no need to do anything fancy, just reference the variable wherever necessary in the BASIC code that you need it. If you derive the variable in the BASIC logic...
by admin
Thu Sep 27, 2001 10:54 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: Passing parameter
Replies: 5
Views: 1831

I think what Dirk wants is to get the parameter from the current job and pass it to the controlled job. The function for reading a parameter value from a job is DSGetParamInfo(), and the job handle of the current job is DSJ.ME. From this (lets say the parameter name is Password): Pwd = DSGetParamInf...
by admin
Thu Sep 27, 2001 10:32 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: SCD type 2 in DataStage
Replies: 3
Views: 2028

If your database implements serial data types or sequences, you can use these to generate the next surrogate key value. Or you can use the @OUTROWNUM system variable and/or a stage variable, as alternate techniques to using the NextKey routine in the sdk. Be aware of the auditable columns (the ones ...
by admin
Thu Sep 27, 2001 7:09 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: SCD type 2 in DataStage
Replies: 3
Views: 2028

SCDs are straightforward in DataStage. I will forward a document on working with all SCDs to you directly. Look for a SCD container (similar to the document) coming soon.... -----Original Message----- From: Nuno Pimenta [mailto:nuno.pimenta@tmn.pt] Sent: Thursday, September 27, 2001 11:17 AM To: dat...
by admin
Thu Sep 27, 2001 5:20 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: Teradata
Replies: 0
Views: 617

Teradata

Hello Is there anyone using DataStage to fill Teradata database please? I could use some references, so if you can provide them, please contact me (jakubh@urbanatech.com). Thanks a lot Jakub Holubec Technical Consultant Urbana technologies Belehradska 79/10 120 00 Prague 2 Czech Republic Tel.: +420-...
by admin
Thu Sep 27, 2001 4:26 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: SCD type 2 in DataStage
Replies: 3
Views: 2028

Ive chosen to do this in DataStage. I keep a copy of my dimension in a hash file so that the processing is done more quickly. I do a lookup into the hash file based on the natural key. Use a stage variable to check to see if there are any differences in the two records. This variable will be a flag ...
by admin
Thu Sep 27, 2001 4:16 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: SCD type 2 in DataStage
Replies: 3
Views: 2028

SCD type 2 in DataStage

Hi everyone!

Anyone implements SCD type 2 in DataStage?
What are the approaches thay you use?

If we want to compare an entire record for track changes how do you do? Do you use DataStage or do you call a PL/SQL?

Any suggestions?

Thank you all in advance.

Regards,

Nuno Pimenta