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.
Need to check if two files exist then only process?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 37
- Joined: Tue Mar 26, 2013 12:02 pm
- Location: INDIA
You need to use the "Wait for file" activity for both files in your job sequence.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 94
- Joined: Wed May 08, 2002 8:44 am
- Location: Germany
- Contact:
Re: Need to check if two files exist then only process?
Did you try "wait for file" event in job sequencer...?
Klaus
Klaus
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 37
- Joined: Tue Mar 26, 2013 12:02 pm
- Location: INDIA
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: