Search found 104 matches
- Wed Mar 13, 2013 10:33 am
- Forum: General
- Topic: Reading Envrironment Variable in Local Variable
- Replies: 4
- Views: 1815
Reading Envrironment Variable in Local Variable
Hello, I have a required where I need to assign the environment variable into local variable.. For e.g. Environment Variable $NM_USER=U1 $NM_USER1=U2 In Master Sequncer I have one variable USER. Based on the condition I want to read the value as USER=$NM_USER or USER=$NM_USER. The output should be E...
- Wed Mar 06, 2013 8:38 pm
- Forum: General
- Topic: Passing Environment variable in Parameters
- Replies: 4
- Views: 1792
Thanks for the reply... As mentioned in my post, I am using RCP Job and have to pass the database credentials at run time..That is the reason we used parameterset. But due to process point of view, we have to either delete the patameterset or parameterize the parameterset... Design change in the job...
- Wed Mar 06, 2013 7:53 am
- Forum: General
- Topic: Passing Environment variable in Parameters
- Replies: 4
- Views: 1792
Passing Environment variable in Parameters
Hi, We have a RCP jobs which is connecting to multiple source systems. We have created the Parameterset in the job and the values are hardcoded(DSN,USER,PASSWORD etc). It has been decided to remove the hardcoded values from the parameterset. We tried few mentioned setps Defined the environment varia...
- Wed Dec 21, 2011 5:30 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Finding week and Month from Number
- Replies: 15
- Views: 7691
- Wed Dec 21, 2011 5:21 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Finding week and Month from Number
- Replies: 15
- Views: 7691
- Wed Dec 21, 2011 4:32 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Finding week and Month from Number
- Replies: 15
- Views: 7691
Finding week and Month from Number
Hello, I have requirement where I need to find the difference between 2 days and check if it Week1, Week2, Week3 , Week4 or month1 or Month2 Etc. I have calculated the difference by applying below mentioned function i..e. Number =DaysSinceFromDate(D1,'2010-01-01') My output should be as folows:- Num...
- Mon Aug 30, 2010 4:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Update using Open Command
- Replies: 3
- Views: 1661
- Mon Aug 30, 2010 4:13 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Update using Open Command
- Replies: 3
- Views: 1661
- Mon Aug 30, 2010 3:38 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Update using Open Command
- Replies: 3
- Views: 1661
Update using Open Command
Hi, Can you please let me know is it possible to update the record using Open Command option? I want to Update the record in the employee table using the command below:- Update Employee set Name='Gaurav' I know I can do it with user defined SQL which are available in ODBC/OCI Stages but I want to do...
- Tue Aug 24, 2010 10:33 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Temporary table in Netezza
- Replies: 0
- Views: 2856
Temporary table in Netezza
Hi, While updating the record in Netezza database using Netezza stage in Datastage, we need to provide a temporary table which should be created by DBA or Datastage creates at runtime. My question is if I have a temporary table in different database insteat of having in the same database where I hav...
- Thu Jun 10, 2010 2:42 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Aggregate the Data
- Replies: 2
- Views: 1426
- Thu Jun 10, 2010 2:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Aggregate the Data
- Replies: 2
- Views: 1426
Aggregate the Data
HI, I have a data Stud Subject1 Subject2 Subject 3 Subject4 a1 Null Null 10 Null a1 Null 5 Null Null a1 Null Null Null Null a1 Null Null Null Null I want an output like Stud Subject1 Subject2 Subject 3 Subject4 a1 Null 5 10 Null To acheive it, used an aggregate function,group by Stud and used Max fu...
- Mon Jun 07, 2010 4:38 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date function
- Replies: 1
- Views: 1173
Date function
HI, I need the help in getting the correct date. I have a weekly job and whatever date of the current week, i run my job, it extracts the data from previous sunday to Saturday. I want to put a constraint in datatstage to extract the data only from Saturday only. In Oracle, I have used the below ment...
- Fri Jun 04, 2010 11:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Timestamp to Numeric value
- Replies: 3
- Views: 1509
Hi, I need to range lookup. As commincated by my colleage, range lookup doesn't work on string . it works for numeric field and for unknown reasons, a date or timestamp field is considered as string. So you need to transform your date or timestamps in a numeric field to get the correct results. So I...
- Fri Jun 04, 2010 11:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Timestamp to Numeric value
- Replies: 3
- Views: 1509
Timestamp to Numeric value
HI, I have a requirement like... I want to convert my timestamp i.e. 2010-09-09 22:01:01 to a numeric field which I can use in my range look up. I had found some functions in oracle and DataStage to convert date into numeric field but I could not find anything for Timestamp. Is there any function av...