Search found 134 matches

by jweir
Tue Dec 14, 2010 4:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when trying to read from Oracle Enterprise Stage
Replies: 16
Views: 8460

scRetrieveAuditFields.ETL_JOBID_LIST: Incorrect dboption list; it failed on Expected value for property "user", got: ",", line 1 Expected value for property "password", got: "}", line 1. The error message is saying that there are no values for user and passwo...
by jweir
Tue Dec 14, 2010 2:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when trying to read from Oracle Enterprise Stage
Replies: 16
Views: 8460

When I put all the parameters in the stage, this is the error I recieve: scRetrieveAuditFields.ETL_JOBID_LIST: Incorrect dboption list; it failed on Expected value for property "user", got: ",", line 1 Expected value for property "password", got: "}", line 1. ...
by jweir
Tue Dec 14, 2010 2:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when trying to read from Oracle Enterprise Stage
Replies: 16
Views: 8460

I am not trying to view data in designer.

When I run the job, it aborts. And the director gives me the errors about not a valid table name, unable to logon, etc.
by jweir
Tue Dec 14, 2010 1:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when trying to read from Oracle Enterprise Stage
Replies: 16
Views: 8460

I might mention that these parameters are environment variables, so they have values of $PROJDEF in the parameter set.
by jweir
Tue Dec 14, 2010 1:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when trying to read from Oracle Enterprise Stage
Replies: 16
Views: 8460

Everyone on my team has same problem.
by jweir
Tue Dec 14, 2010 1:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error when trying to read from Oracle Enterprise Stage
Replies: 16
Views: 8460

Error when trying to read from Oracle Enterprise Stage

Hello, I am getting errors when trying to read from an Oracle Enterprise Stage. In the Output Propeties tab, I have to parameterize the table schema, the user and password, and the remote server. However, when I do paramterize these, I get errors saying it could not identify the schema, invalid logo...
by jweir
Mon Nov 22, 2010 8:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Max string value in DB2
Replies: 5
Views: 2891

Just for CUSTNUM.
by jweir
Fri Nov 19, 2010 12:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Max string value in DB2
Replies: 5
Views: 2891

Code: Select all

SELECT T1.EXPIRE_DATE, 
       T1.CUSTNUM, 
       T1.ZH4IN 
FROM   RTL.STG_MEDICAL_TABLE T1 
WHERE  T1.EXPIRE_DATE = SELECT MAX(T2.EXPIRE_DT) 
                        FROM   RTL.STG_MEDICAL_TABLE T2
This worked Mike! Thanks a mil!
by jweir
Fri Nov 19, 2010 12:23 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Max string value in DB2
Replies: 5
Views: 2891

Max string value in DB2

Hello, I need a query in DB2 where it has to select the maximum value in a string field. I have to select two other fields, in addition to the field that needs the max function performed on it. Here is a sample test that we have tried: Select MAX(EXPIRE_DATE), CUSTNUM, ZH4IN from RTL.STG_MEDICAL_TAB...
by jweir
Mon Nov 08, 2010 10:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting Varchar to Timestamp
Replies: 2
Views: 1196

Sample value: 20100808

Derivation: StringToTimestamp((lnk_GL_BALANCES_MED.POSTING_DATE:'000000'),"%yyyy%mm%dd%hh%nn%ss")

This was the solution we found. We had to pad the hours, minutes, and seconds.
by jweir
Mon Nov 08, 2010 9:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting Varchar to Timestamp
Replies: 2
Views: 1196

Converting Varchar to Timestamp

Hello,

I am trying to convert a field that is varchar (8) to a timestamp (26,6).

I have tried the StringtoTimestamp function, which did not work. I have also tried PadString, but it was unsuccessful.

Does anyone have any suggestions?

Thanks in advance.
by jweir
Thu Nov 04, 2010 11:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting Numeric to Varchar
Replies: 8
Views: 2637

Thanks anbu. It worked.
by jweir
Thu Nov 04, 2010 9:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting Numeric to Varchar
Replies: 8
Views: 2637

Ok, apparently there was never a padded zero. The field comes in as 2010, numeric. But when I straight pass it to the varchar target, the last zero is dropped, resulting in 201.
by jweir
Thu Nov 04, 2010 9:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting Numeric to Varchar
Replies: 8
Views: 2637

datatype: varchar
size: 4
by jweir
Thu Nov 04, 2010 9:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting Numeric to Varchar
Replies: 8
Views: 2637

I forgot to mention that in that field, I have padded that numeric value with a zero at the end of it (i.e. 2010). So when I straight pass it, that zero gets dropped.