How can I pass the current loop variable contents (an input file name) to the parameter a job that follows it in the sequence?
The loop is being controlled by a comma delimited string which contains the files I wish to process.
Thanks in adance for the help.
Search found 18 matches
- Fri May 27, 2005 8:22 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Passing parameter from loop to following job
- Replies: 1
- Views: 790
- Thu May 19, 2005 2:00 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Parse string containing multiple input file names for loopin
- Replies: 1
- Views: 838
Parse string containing multiple input file names for loopin
I wrote a Routine executed from Job Routine the returns a comma delimited string which is passed to a Start Loop. file1,file2,file3 The Start Loop uses it determine number of times to loop. How can I get the Sequential File Stage in the next Job in the Sequence to read each of the file names seperat...
- Thu May 19, 2005 6:31 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Read file names from file list into parameter while looping
- Replies: 13
- Views: 4783
I can get DSExecute to successfully excute the DOS and build a file on the Windows 2000 machine that contains the files that require processing. However, I can't get this into the correct delimited format, stored in a parameter, or get the Loop Stage to read the parameter. To my knowledge the 'type'...
- Wed May 18, 2005 7:31 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Read file names from file list into parameter while looping
- Replies: 13
- Views: 4783
- Tue May 17, 2005 2:43 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Read file names from file list into parameter while looping
- Replies: 13
- Views: 4783
Read file names from file list into parameter while looping
Is it poosible and if so looking for suggestions. I create a file list which contains the names of the sequential files that I need to process using an Execute Command Stage. I would like to process each of these files in the file list individually by looping within a job sequence. How can I pass th...
- Wed Apr 13, 2005 1:28 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Import Table Defs when Database located on another machine
- Replies: 2
- Views: 839
- Wed Apr 13, 2005 12:50 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Import Table Defs when Database located on another machine
- Replies: 2
- Views: 839
Import Table Defs when Database located on another machine
DataStage Server is located on a Windows 2000 Server and the Oracle Database is located on a Unix machine. When trying to import the Table Definitions it only looks for DSN located on the Windows 2000 Server. How can I get it to look on another machine to be able to import table definitions? In othe...
- Mon Mar 21, 2005 4:37 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Upate else Insert to ORA
- Replies: 9
- Views: 14630
- Mon Mar 21, 2005 1:18 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Upate else Insert to ORA
- Replies: 9
- Views: 14630
- Mon Mar 21, 2005 12:47 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Upate else Insert to ORA
- Replies: 9
- Views: 14630
Data isn't the issue. I have defined all the PK fields within the DS definitions to be decimal(9) and the remaining column is defined VARCHAR(15). I load the data to an empty table via DS and all rows are inserted. I try and run the exact same file again and the abort occurs. I don't have an issue r...
- Mon Mar 21, 2005 11:13 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Upate else Insert to ORA
- Replies: 9
- Views: 14630
Thanks for the suggestions, I tried but still failed. Here is more info. 2 coulmn PK all columns set to DECIMAL(9). Job still failed with ORA-01401 and ORA-00001. First is value to large second is PK violation. I would agree with you based on the errors, but as you can see it didn't fix the problem....
- Mon Mar 21, 2005 10:09 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Upate else Insert to ORA
- Replies: 9
- Views: 14630
Upate else Insert to ORA
In the ORA OCI I have set the Update Action to "Update existing rows or insert new rows", but I get Unique PK violation warnings. According to the manuals the OCI will attempt to update existing rows and if this fails perform an insert. I know all of the records should be Updates, could th...
- Wed Mar 16, 2005 3:33 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hardcoded value in output Pivot Column based on input column
- Replies: 2
- Views: 1090
- Wed Mar 16, 2005 3:20 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hardcoded value in output Pivot Column based on input column
- Replies: 2
- Views: 1090
Hardcoded value in output Pivot Column based on input column
Is is possible to populate one of the pivot stage columns with a specific value based on which input column was placed in the output pivot column. For example: input data: EmpID CellNumber EmergencyNumber 1 618-555-1212 618-555-1313 2 618-999-1234 618-888-5678 desired result: EmpID PhoneNumber Type ...
- Tue Mar 15, 2005 12:10 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Oracle Varchar to Oracle Date
- Replies: 15
- Views: 4949