Search found 20 matches

by Amarpreet
Sat Apr 26, 2008 8:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: protect my job
Replies: 6
Views: 3768

protect my job

I have created some jobs in my my folder under jobs category. currently my jobs can be openend by other developers and they can copy my job to their folders. I want that noone can open my job. How do I make my jobs password protected so that it cannot be opened by other developers, not even read onl...
by Amarpreet
Mon Aug 28, 2006 12:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting UNIX Signal KILL....
Replies: 7
Views: 3205

Can anyone tell, for what purpose the folder /dev/fstst/ is being used? Is it used for some temporary loading by lookup stage?
by Amarpreet
Thu Jun 22, 2006 4:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to increment surrogate key
Replies: 9
Views: 4945

Could you explain this in more detail? What I understood is, I have to create one job wherein I have to write a query something like select max(key) from table1, then I will put this into one flat file. In the second job, what should I do. How can I fetch this value into some job parameter and use t...
by Amarpreet
Thu Jun 22, 2006 4:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to increment surrogate key
Replies: 9
Views: 4945

How to increment surrogate key

I have one job which is loading 50000 records in my target table and I am using surrogate key generator stage in the job to generate values for my surrogate key. In my second job again I have to load some 10,000 records into the same target table, but now I have to look what is the max(surr_key) in ...
by Amarpreet
Wed Jun 21, 2006 1:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate repeated values in target table
Replies: 1
Views: 1032

Generate repeated values in target table

I have a scenario wherein I have some 2000 records in target table. There is one source table in which only one field is there (say 10 random values). There is no joiing condiiton between these tables. I have to poplulate one of my taget columns with this source field and have to run the job as many...
by Amarpreet
Wed Jun 21, 2006 12:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Values within some limit
Replies: 8
Views: 2732

But I don't want to hard code the limits, but have to pick them from source table. How can I achieve this by using column/row generator?
by Amarpreet
Wed Jun 21, 2006 12:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Values within some limit
Replies: 8
Views: 2732

Date Values within some limit

I have a scenario wherein I have to generate date values within some limit. I have to fetch min(cal_date) and max(cal_date) from my source table and generate date values within these values in my target table. How can I pick these dates and generate the date values from min(cal_date) and max(cal_dat...
by Amarpreet
Thu Jun 15, 2006 11:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Have to remove 0's from varchar field
Replies: 6
Views: 3750

Yes those were 2 separate values(just exmaple values). Used trim function, which is working just perfectly. Thanks a ton.....
by Amarpreet
Thu Jun 15, 2006 7:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Have to remove 0's from varchar field
Replies: 6
Views: 3750

Have to remove 0's from varchar field

I have a varchar field, which contains values like 00234,00980,.....

I have to remove all the 0's from the left of this value. my result should be 234,980,......
which function should I use in Datastage to achieve this?
by Amarpreet
Thu Jun 15, 2006 12:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem in joining 2 tables
Replies: 12
Views: 3997

Problem in joining 2 tables

I have 2 tables to join, in which the column names are not same and the condition is not simple. I have a condition like this:
where table1.a>table2.b and table1.a<=table2.c(in between condition). How can I do this in parallel job.
by Amarpreet
Tue Jun 13, 2006 3:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Have to call a DB2 stored procedure
Replies: 9
Views: 6248

Could you please explain this in detail, as how to change the shared library from 64 bit to 32 bit?
by Amarpreet
Tue Jun 13, 2006 1:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Values using Row Generator
Replies: 3
Views: 1822

Thanks a ton. Its working..... :D
by Amarpreet
Mon Jun 12, 2006 10:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date Values using Row Generator
Replies: 3
Views: 1822

Date Values using Row Generator

I have to generate date values from 1975-01-01 to 2007-31-12. How can I do this using row generator. Where can I specify initial value and last value in row generator?
by Amarpreet
Mon Jun 12, 2006 1:37 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Have to call a DB2 stored procedure
Replies: 9
Views: 6248

I am calling procedure using syntax---db2 "call test_proc()". But its giving following error: TEST_PROC..JobControl (@Execute_Command_0): Executed: db2 "call svsods.test_proc()" Reply=255 Output from command ====> exec(): 0509-036 Cannot load program db2 because of the following ...