Search found 102 matches

by iq_etl
Wed Oct 23, 2013 7:41 am
Forum: General
Topic: Parameter Limit in Job Activities?
Replies: 12
Views: 6359

Ok, so far pretty good, but I'm getting an odd error. I've created a parameter set with PARAM01 - PARAM08 in it. My DS job is using this parameter set. However, the sequence is bombing with the following error: Exception raised: @Load_Job, Error calling DSSetParam(PARAM01), code=-3 [ParamName does n...
by iq_etl
Wed Oct 23, 2013 6:30 am
Forum: General
Topic: Parameter Limit in Job Activities?
Replies: 12
Views: 6359

I should have said, you cannot do this in a job activity. If you need a fine degree of control on your parameters, then you need to program it in BASIC yourself. Although the source code for what a notification activity is visible (go into your Sequence in the designer, open up the detail window an...
by iq_etl
Tue Oct 22, 2013 10:29 am
Forum: General
Topic: Parameter Limit in Job Activities?
Replies: 12
Views: 6359

ok, I think I now know what the problem is, so need a solution. Our Job sequence has been designed to be dynamic so that our scheduler program can execute the sequence which will: 1) Job Activity (Pre_Row_Count): capture a pre-load count of the desired table using a dynamic DS job 2) Job Activity (L...
by iq_etl
Tue Oct 22, 2013 9:01 am
Forum: General
Topic: Parameter Limit in Job Activities?
Replies: 12
Views: 6359

Parameter Limit in Job Activities?

We've got a sequence containing a Job Activity that passes 7 parameters (with the last 5 being optional). This works fine. However, once we add a 6th optional parameter (8 parameters total) the sequence fails to finish as it can't find the job to run in the Job Activity. Is there a limit to the numb...
by iq_etl
Wed Oct 09, 2013 7:38 am
Forum: General
Topic: Sequence aborting prior to Notification Activity
Replies: 2
Views: 818

Sequence aborting prior to Notification Activity

I've got a sequence that is as follows: Job Activity -> Nested Condition -> Notification Activity The Nested Condition is set so that if the status of from the Job Activity (which executes a DS parallel job) is greater than '1', then an email is sent from the Notification Activity. This has been suc...
by iq_etl
Tue Oct 08, 2013 8:03 am
Forum: General
Topic: Compare differences in row counts after loading
Replies: 15
Views: 7349

You need to do your counts in a separate job store in a table with todays date. Do a comparison to the max and the next to max date. This will compare last run to this run. If you don't know how to do this then let me know and I can post the sql. There is sql like this in EtlStats. If you've got th...
by iq_etl
Tue Sep 24, 2013 1:49 pm
Forum: General
Topic: Compare differences in row counts after loading
Replies: 15
Views: 7349

Sorry for the delay, but I got sidetracked with other projects. Does the fact that I'm running a parallel edition of DS have any bearing on this? We used to be in server, but going to 9.1 we switched over to parallel and hope to harness some of its capabilities. Should I create a parallel routine fo...
by iq_etl
Fri Sep 06, 2013 9:37 am
Forum: General
Topic: How to reset sequencer if it gets aborted
Replies: 8
Views: 3467

It was my understanding that by going into the 'Job' tab in the Job Activity stages of a sequence and setting the 'Execution action:' to 'Reset if required, then run' would allow the sequence to be reset. Now, I'm thinking that the above only resets the specific Job Activity and not the status of th...
by iq_etl
Thu Sep 05, 2013 8:10 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while Reading Float DataType from DataBase
Replies: 9
Views: 9466

Specify Double as the data type the DataStage table definition. Some databases, including Sybase and SQL Server, report Float for DFloat data types. This worked. I previously understood that Double was reserved for very long numbers. Is using Double a best practice here due to the nature of SQL Ser...
by iq_etl
Thu Sep 05, 2013 7:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting Empty Strings to Blank - Server to Parallel Eds
Replies: 4
Views: 2168

Good Morning, Ray. Thanks for the response. Essentially, we want to evaluate strings and provide blank when there is no data. Usually Nulls are desired, but we have several clients that prefer blank which is why we wrote this routine. We could do it with a series of statements in the transformer, bu...
by iq_etl
Wed Sep 04, 2013 7:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem while Reading Float DataType from DataBase
Replies: 9
Views: 9466

I have the same issue. I'm reading a source table with a column defined as a FLOAT in SQL Server Database using ODBC Connector Stage. Exact same definition as post in the OP. What is meant by 'cast to decimal type in query'. Is this writing an SQL query and doing a conversion on the column from a FL...
by iq_etl
Wed Sep 04, 2013 6:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting Empty Strings to Blank - Server to Parallel Eds
Replies: 4
Views: 2168

Converting Empty Strings to Blank - Server to Parallel Eds

In 8.7 Server Edition we have created a routine that will evaluate strings for blanks, nulls, or empty and return blank. This routine works fine in 8.7, but now working in 9.1 Parallel Edition I'm wondering if there is a function or pre-existing routine that does this? Is there a way to access this ...
by iq_etl
Fri Aug 30, 2013 8:47 am
Forum: General
Topic: Optional Parameters Passed to Sequencer
Replies: 8
Views: 3885

Perhaps there is no issue, but then I likely don't have a real understanding of the Job Activity. The way I understand it, the Job Activity requires a job name to be selected and only the parameters for that selected job are available in the sequence. (The hard-coded job name is then manually replac...
by iq_etl
Fri Aug 30, 2013 8:01 am
Forum: General
Topic: Optional Parameters Passed to Sequencer
Replies: 8
Views: 3885

A bit more specific. We are building a sequence that we'd like to have be fairly generic to handle multiple job types. Most of our jobs delete all the rows on a table, then load the table with new data. However, we have some jobs that don't delete all of the rows, but perhaps a certain set (say base...
by iq_etl
Wed Aug 28, 2013 12:00 pm
Forum: General
Topic: Compare differences in row counts after loading
Replies: 15
Views: 7349

Yes, it does appear to have been discussed frequently. However, I'm not 100% on if I need to create the function or not. From reading the suggestion in the link below it sounds like I need to define, or initialize, UserStatus before I can call it in the Transformer. Would I do that in a InterProcess...