Search found 34 matches

by phyllis
Fri Mar 12, 2004 2:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Last_Updated_On and Last_Updated_By
Replies: 3
Views: 933

Last_Updated_On and Last_Updated_By

If I only want to update the last_updated_on and last_updated_by columns if any ONE of 6 other columns are actually updated during an update to an Oracle table, how can I accomplish this? Do I have to use a separate transform for every column? Right now, I'm doing an insert and an update into this t...
by phyllis
Mon Mar 08, 2004 4:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Syntax for reject constraint
Replies: 1
Views: 1171

Syntax for reject constraint

Is this valid syntax for a reject constraint, for example if you're checking whether to insert a record into a table - first to check to see if the record already exists so the insert will occur, then to check to make sure a value is = 'Y' and not 'N', then to check to make sure a value is not equal...
by phyllis
Sun Mar 07, 2004 4:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with hash file key and look-up
Replies: 15
Views: 4343

I'm still having trouble getting a match, but I'm going to play around with the SQL statements (outside of DS) to see what works, unless someone else has a suggestions (I've tried trim and upcase already). For the next process I have to perform (once I'm able to get the employee either inserted or u...
by phyllis
Thu Mar 04, 2004 5:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with hash file key and look-up
Replies: 15
Views: 4343

I put the TRIM(UPCASE(from_link.EMPLOYEE_NUMBER) etc. in my hash file and the hash file was created again (the data in the view that the hash file is created from is already uppercase anyway) then in the transform where I'm using the hash file to insert or update - on the insert fields I put the tri...
by phyllis
Thu Mar 04, 2004 5:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with hash file key and look-up
Replies: 15
Views: 4343

I tried the trim, didn't work, so I'll try case-sensitive.

By the way, I had populated the Oracle employee table with data and there are 821 rows - that's why the number in monitor for rows.
by phyllis
Thu Mar 04, 2004 3:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with hash file key and look-up
Replies: 15
Views: 4343

The Monitor shows 821 rows from EP_TABLE (my Oracle employee table) and 821 rows to my sequential files (why 821 and not 3 I don't know). However there are 0 rows from the employee hash file. Regarding spaces: the hash file and the Oracle employee table both define EMPLOYEE_NUM as varchar(10), FIRST...
by phyllis
Thu Mar 04, 2004 1:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with hash file key and look-up
Replies: 15
Views: 4343

Sorry, that last sentence wasn't complete - The columns in the sequential file are linked to the columns in the employee_hash_file and written to the sequential file. If I can see the data when I click the View Data button on the hash file why is it not being written to the sequential file if there ...
by phyllis
Thu Mar 04, 2004 1:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with hash file key and look-up
Replies: 15
Views: 4343

Good idea - I added a link from the same transform to a sequential file with the same columns. The file was created and the data I had defaulted in (e.g. creating the employee id with a sequential#, adding the date created) is there, but my other data columns (employee_number, first_name, last_name,...
by phyllis
Thu Mar 04, 2004 10:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with hash file key and look-up
Replies: 15
Views: 4343

Thanks to you both for your responses. I really want to succeed at this and admire you both for your knowledge and thank you for your understanding. I tried the correct constraint syntax: Insert: ISNULL (From_Employee_Hash_File.EMPLOYEE_NUMBER) AND ISNULL (From_Employee_Hash_File.FIRST_NAME) AND ISN...
by phyllis
Wed Mar 03, 2004 5:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with hash file key and look-up
Replies: 15
Views: 4343

Thanks so much for your response. I removed the key of three fields and made empl#, first name, last name all keys, built the hash file, then set up my job to do the inserts and updates into the employee table. I viewed the data in the hash file before running the insert/update job and it looks okay...
by phyllis
Wed Mar 03, 2004 9:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with hash file key and look-up
Replies: 15
Views: 4343

Problem with hash file key and look-up

My source is an Oracle view of employees and I need to insert/update employees into an Oracle table based on whether employee number, first name, last name exist in the Oracle table. I created an employee hash file with a key of employee_num : first_name : last_name because I need to do a look-up ba...
by phyllis
Tue Mar 02, 2004 1:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How do I use a Java class within a transform?
Replies: 4
Views: 1471

How do I use a Java class within a transform?

I need to insert employee records into an Oracle table. One of the columns is 'password'. I need to set the password to 'password' (all lowercase) upon insert, but also encrypt it by using an existing Java class developed in this office that encrypts passwords. I assume in my transform that will wri...
by phyllis
Thu Feb 26, 2004 1:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need help starting an insert of records to Oracle job
Replies: 5
Views: 1667

Unfortunately I inherited this position after the person doing it was fired. Sorry to have bothered everyone with such a basic question. Training is necessary and important to me, but not to those who set my deadline.
by phyllis
Thu Feb 26, 2004 1:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need help starting an insert of records to Oracle job
Replies: 5
Views: 1667

Need help starting an insert of records to Oracle job

I'm new to DataStage and have what I think is a simple job to write, but I'm wondering if there are templates (examples) to get me started. My source is an Oracle view of employee info with 7 data columns - that's no problem - I have my stage set up and I can view the data. Next I need to check to s...
by phyllis
Tue Feb 10, 2004 10:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Oracle view
Replies: 4
Views: 1586

THANKS!!!!!