How to parametrized wait for file activity stage
Posted: Mon Jun 08, 2009 4:36 am
Hi All,
I have requirement in DataStage to wait for a list of files to be present in a UNIX folder and check if all the files are present then proceed otherwise terminate the job.
1) How do we pass more than one file name in wait for file activity stage?
2) How do we parametrized the file names. Mean i am getting files based on dates...like
06082009_ABC.txt, 06082009_EFG.txt -- for June 08 2009
06092009_ABC.txt, 06092009_EFG.txt -- for June 09 2009
06102009_ABC.txt, 06102009_EFG.txt -- for June 10 2009
Please let me know if some one has worked on this type of requirement.
Thanks in advance!
Regards,
-Santosh
I have requirement in DataStage to wait for a list of files to be present in a UNIX folder and check if all the files are present then proceed otherwise terminate the job.
1) How do we pass more than one file name in wait for file activity stage?
2) How do we parametrized the file names. Mean i am getting files based on dates...like
06082009_ABC.txt, 06082009_EFG.txt -- for June 08 2009
06092009_ABC.txt, 06092009_EFG.txt -- for June 09 2009
06102009_ABC.txt, 06102009_EFG.txt -- for June 10 2009
Please let me know if some one has worked on this type of requirement.
Thanks in advance!
Regards,
-Santosh