Need to check if two files exist then only process?
Posted: Thu Aug 15, 2013 12:02 am
Hi All,
We have two similar groups are split into two xml files.But our datastage job should identify each time whether two xmls of similar group available then only process the records.if only single xml file of that group is available dont process.How to achieve this logic in datastage.
For example:we will have that xml files as fruits_I.xml and fruits_II.xml both belongs to group of '05'.
if only fruits_I.xml and fruits_II.xml are available then only datastage job should process the records to the file.
We have two similar groups are split into two xml files.But our datastage job should identify each time whether two xmls of similar group available then only process the records.if only single xml file of that group is available dont process.How to achieve this logic in datastage.
For example:we will have that xml files as fruits_I.xml and fruits_II.xml both belongs to group of '05'.
if only fruits_I.xml and fruits_II.xml are available then only datastage job should process the records to the file.