Ray,
Thanks for the input. I tried this job without RCP and had the same outcome. I then tried the NON-RCP design in a 7.5.2 box and could not get the file names either. So something is wrong in the way i have set the stage.
The only changes i have done to the source seq file stage after dragging this from the palette on the canvas are
1. Add the file pattern property and the rest of them are left intact.
2. added a new column for the output link "fileColumnName"
Upon reviewing the director log, i found the following warnings in the 7.5.2 instance.
Sequential_File_0,0: Import consumed only 0bytes of the record's 9 bytes (no further warnings will be generated from this partition)
Sequential_File_0,0: Import warning at record 0.
JoshGeorge,
Thanks for your input as well. I removed the PEEK stage and put a File stage for the output. I added APT_IMPORT_PATTERN_USES_FILESET and set it to TRUE. This was done in my 8.0.1. version
However, when i try to execute the job, the following errors were reported .
main_program: For createFilesetFromPattern(), could not find any available nodes in node pool "".
Sequential_File_0: At least one filename or data source must be set in APT_FileImportOperator before use.
main_program: Could not check all operators because of previous error(s)
While looking up this error message
APT_FileImportOperator using the Search feature, i stumbled upon a post (
viewtopic.php?t=112970&highlight=APT_FileImportOperator) where Ray and others had helped another OP. Based on that, i setup the Path name as a parameter. When i execute the job, it still failed with the same warnings and error as stated above.
Interestingly, with the APT_IMPORT_PATTERN_USES_FILESET added to the job, i was able to use the "View Data" on the source seq file stage. However, the View Data option showed the same file name repeated 10 times as the default viewing count was 10. When i increased this to 24, i was able to see the remaining files, but the first 10 were same, second 10 were same and then it showed a few files that matched the pattern.
P.S. Even when i removed the suggested environment variable, the source seq file stage was able to do a "View Data" (some file names repeating several times) but only if the Path name is supplied via Job Parameter.
Are there any other settings that one should look for in the source input file stage?
Thanks again