When using APT_IMPORT_PATTERN_USES_FILESET and the sequential file stage with a file pattern, we are getting this error:
Code: Select all
Sequential_File_21: In file set "/u001/local/dstage_tmp/import_tmp_129925608b5f99d0.fs": Parsing a dataset, expecting a fileset.. [new-impexp/file_import.C:695]
Here is what we are doing:
We have a number of large imports where the data arrives as a set of files with identical layouts, ranging anywhere from 8 files to 16 or more and overall import sizes range from 10-15 million to 30+ million. We have been using filesets to handle the imports and allow parallel reads. The problem with filesets is that they are hardcoded with server names.
Due to some upcoming hardware and infrastructure changes, our production group has requested that we no longer use hardcoded filesets. Instead we are to use the Sequential file stage with a file pattern and then set APT_IMPORT_PATTERN_USES_FILESET to true (default value is false).
This option will automatically generate a fileset based on the file pattern we specify. Without this option, DataStage will simply concatenate the files together and read the whole thing - it won't take advantage of parallelism on the read itself. However, if a fileset is generated, then DataStage will do a parallel read of the files (one process per file).
So.... has anyone seen this error before? Any idea what it is complaining about?
Any help would be greatly appreciated! Thanks!
Brad.