Search found 7201 matches

by admin
Fri Jul 25, 2003 12:40 am
Forum: Archive of DataStage Users@Oliver.com
Topic: Re: Sequence generator
Replies: 8
Views: 7910

Re: Sequence generator

This is a topic for an orphaned message.
by admin
Thu Jul 24, 2003 3:03 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: sequence generator
Replies: 19
Views: 46140

Your syntax is incorrect. You still need the target column name where you have the sequence.nextval, and it goes down where you have :1. -craig "Wilcy William" 07/24/2003 08:43 AM Please respond to To datastage-users@oliver.com cc Subject Re: RE: RE: Sequence generator This is the exact statement us...
by admin
Thu Jul 24, 2003 2:52 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: sequence generator
Replies: 19
Views: 46140

I have used user defined SQL With regards, Wilcy On Thu, 24 Jul 2003 Ian Godsell wrote : >It needs to be in user defined SQL. > >-----Original Message----- > From: Wilcy William [mailto:wilcy@rediffmail.com] >Sent: 24 July 2003 01:20 >To: datastage-users@oliver.com >Subject: Re: RE: Sequence generat...
by admin
Thu Jul 24, 2003 2:43 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: sequence generator
Replies: 19
Views: 46140

This is the exact statement used. INSERT INTO INT_ERROR_DETAILS (SEQ_ERROR_TABLE.nextval ,BUSINESS_UT_ID,APPLICATION_TY,JOB_NM,ERROR_CD,ERROR_DE,ERROR_SOURCE,ERROR_DATA,PROCESS_IN,CREATE_UI,CREATE_TS,UPDATE_UI,UPDATE_TS) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,TO_DATE(:11, YYYY-MM-DD HH24:MI:SS),:12,...
by admin
Thu Jul 24, 2003 8:00 am
Forum: Archive of DataStage Users@Oliver.com
Topic: sequence generator
Replies: 19
Views: 46140

It needs to be in user defined SQL. -----Original Message----- From: Wilcy William [mailto:wilcy@rediffmail.com] Sent: 24 July 2003 01:20 To: datastage-users@oliver.com Subject: Re: RE: Sequence generator I put the sequence in the OCI that I am using to insert and encountered the following Oracle er...
by admin
Thu Jul 24, 2003 12:26 am
Forum: Archive of DataStage Users@Oliver.com
Topic: Sequence generator
Replies: 0
Views: 650

Sequence generator

Wilcy Sure you can but you would have to update it every record and read it in one routine. This becomes the single threaded bottleneck. An Oracle sequence would be faster but it does basically the same thing. If you are not worried about gaps in the numbers then I thought about calling the routine ...
by admin
Thu Jul 24, 2003 12:19 am
Forum: Archive of DataStage Users@Oliver.com
Topic: sequence generator
Replies: 19
Views: 46140

I put the sequence in the OCI that I am using to insert and encountered the following Oracle error. : ORA-02287: sequence number not allowed here With regards, Wilcy On Wed, 23 Jul 2003 Ian Godsell wrote : >I assume that you are using this as a lookup and need to use the >returned >value in more tha...
by admin
Thu Jul 24, 2003 12:19 am
Forum: Archive of DataStage Users@Oliver.com
Topic: Re: Re: Sequence generator
Replies: 4
Views: 775

You CAN store it in a hashed file. Read dskcache.pdf (in the DataStage manuals) for information about sharing hashed files between jobs. ----- Original Message ----- From: "Wilcy William" Date: 24 Jul 2003 00:10:04 -0000 To: datastage-users@oliver.com Subject: Re: RE: Re: Re: Sequence generator > Al...
by admin
Thu Jul 24, 2003 12:19 am
Forum: Archive of DataStage Users@Oliver.com
Topic: sequence generator
Replies: 19
Views: 46140

Can you post the exact custom INSERT statement you are using? -----Original Message----- From: Wilcy William [mailto:wilcy@rediffmail.com] Sent: Thursday, 24 July 2003 10:16 AM To: datastage-users@oliver.com Subject: Re: RE: Sequence generator I tried Point 5 and encounter the following error. : ORA...
by admin
Thu Jul 24, 2003 12:15 am
Forum: Archive of DataStage Users@Oliver.com
Topic: sequence generator
Replies: 19
Views: 46140

I tried Point 5 and encounter the following error. : ORA-02287: sequence number not allowed here With regards, Wilcy On Wed, 23 Jul 2003 David Barham wrote : >1. What is the network speed between the DataStage server and the >Oracle >server? I have found that increasing the network speed from >100Mb...
by admin
Thu Jul 24, 2003 12:10 am
Forum: Archive of DataStage Users@Oliver.com
Topic: Re: Re: Sequence generator
Replies: 4
Views: 775

All the jobs are running in parallel and all require the sequence number. So I cannot store it in a hash file. On Wed, 23 Jul 2003 Kim Duke wrote : >Wilcy > >You do not need to store it between runs. Just select max(Key) > from >TargetTable; into a hash file at the start of the job or in a job >befo...
by admin
Wed Jul 23, 2003 10:47 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: Sequence generator on PX
Replies: 1
Views: 554

Sequence generator on PX

This is a topic for an orphaned message.
by admin
Wed Jul 23, 2003 10:47 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: Sequence generator on PX
Replies: 1
Views: 554

Because youre likely to be using parallel streams to load the target, its probably a good idea to use the NEXTVAL method of a sequence, or SERIAL data type, in the target database. You might investigate the Column Generator stage, editing the column metadata to specify how to generate values for the...
by admin
Wed Jul 23, 2003 10:16 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: SYSTEM_DATE on PX
Replies: 1
Views: 444

SYSTEM_DATE on PX

This is a topic for an orphaned message.
by admin
Wed Jul 23, 2003 10:16 pm
Forum: Archive of DataStage Users@Oliver.com
Topic: SYSTEM_DATE on PX
Replies: 1
Views: 444

Since you are likely to be loading the table in parallel, probably the best way is to use the Oracle constant SYSDATE. INSERT INTO table(C1,C2,C3,C4) VALUES (:1,:2,:3,SYSDATE); If necessary, qualify with TO_DATE function, though you should not need to do so because SYSDATE is defined as a DATE type....