[quote="dsedi"]
The possible issue could be the columns metadata datatype/length may not be matching.
Search found 59 matches
- Mon Mar 08, 2010 4:01 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ABAP Extract stage Job runs endlessly
- Replies: 4
- Views: 2576
- Mon Mar 01, 2010 2:41 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading files using file pattern -Is there a max limit?
- Replies: 14
- Views: 13543
You can concatenate all your files /inputfiledir/Datafile* to a single file in your before job subroutine. Use concatenated file in your sequential stage. cat /inputfiledir/Datafile* > /inputfiledir/NewFile Anu, Does it cause processing time to merge files into one? Craig, The unix OS is: AIX 5.3, ...
- Sun Feb 28, 2010 9:23 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Join of tables with huge volume of data - scratch space
- Replies: 8
- Views: 5151
- Sun Feb 28, 2010 9:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading files using file pattern -Is there a max limit?
- Replies: 14
- Views: 13543
Try this UNIX command and see it you run into a problem. for file in `ls -1 Datafile*` do echo $file done There may be an operating system limit on the size of a list. ... I am able to see all files in OS (unix) using ls -l Datafile*. But when do that in Datastage using file pattern in sequential f...
- Fri Feb 26, 2010 5:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading files using file pattern -Is there a max limit?
- Replies: 14
- Views: 13543
Re: Reading files using file pattern -Is there a max limit?
One obeservation though: in the file pattern: /inputfiledir/Datafile* 8 files are: Datafile_1_1 format remaining 492 files are as Datafile_1234_1234 format If I keep these 492 files or 8 file only in the /inputfiledir, then I am able to read. But when I have all the 500 files, getting 'file not foun...
- Fri Feb 26, 2010 5:03 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading files using file pattern -Is there a max limit?
- Replies: 14
- Views: 13543
Reading files using file pattern -Is there a max limit?
I have job with a sequential file stage that reads files using a file pattern and loads in to a table. The job design: seq stage --> transformer --> Target Table This job is running file with few files (I tested with 8 files) qualified for the file pattern. But, when I have 500 files, the job log sa...
- Thu Feb 25, 2010 1:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Before Job- subroutine to move a file
- Replies: 12
- Views: 5275
- Tue Feb 23, 2010 9:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Before Job- subroutine to move a file
- Replies: 12
- Views: 5275
- Mon Feb 22, 2010 2:25 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Before Job- subroutine to move a file
- Replies: 12
- Views: 5275
Anbu,anbu wrote:Code: Select all
if [ -f file1 ]; then mv file1 file2 ;fi
One question, if I have multiple files to handle, how am I going to do this?
If I have multiple files, I want to move them all to a different directory in before routine. But, I do not want to abort my job if no files exist.
Thanks!
- Mon Feb 22, 2010 1:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Before Job- subroutine to move a file
- Replies: 12
- Views: 5275
Thank you! I appreciate all your help! DSXchange rocks!!!anbu wrote:Code: Select all
if [ -f file1 ]; then mv file1 file2 ;fi
- Mon Feb 22, 2010 1:25 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Before Job- subroutine to move a file
- Replies: 12
- Views: 5275
Before Job- subroutine to move a file
I am using a before job subroutine to move a file. But, if file does not exist I do not want to abort my job. Can anyone suggest me how to do this? Before-job subrotine (ExecSH), input Value : mv file1 file2 I am looking for any command that I can use in input value to move the file only if it exist...
- Mon Feb 22, 2010 10:04 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Looping logic based on multiple conditions to end loop
- Replies: 11
- Views: 5193
Thanks again. I will experiment on the solution and will reply on how it went. Craig, The solution works! Thanks for all your help. Ganesh, I am marking the topic as resolved. But, feel free to eloborate if you have ideas about my comments on Multi-Instances. I am thinking to enable this to speed-u...
- Thu Feb 18, 2010 3:31 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Join of tables with huge volume of data - scratch space
- Replies: 8
- Views: 5151
Unless your Database is partitioned, going for more nodes in your configuration file is not going to make a positive difference. ArndW, So far the only size you've mentioned is the 35Gb of scratch. Since we have no idea of the sizes of the two data sources it is impossible to make any suggestions o...
- Thu Feb 18, 2010 10:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Join of tables with huge volume of data - scratch space
- Replies: 8
- Views: 5151
- Wed Feb 17, 2010 4:44 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: execute command to check for a existance of a file on unix
- Replies: 8
- Views: 9376