validate the existence of a file
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 19
- Joined: Thu Apr 19, 2018 11:06 am
- Location: chile
- Contact:
validate the existence of a file
FRIENDS FROM datastage I need to validate if there is a file who can show me an example
dfgdfg
-
- Participant
- Posts: 19
- Joined: Thu Apr 19, 2018 11:06 am
- Location: chile
- Contact:
Okay, that opens up the possible solutions. How about expanding on where this validation fits into whatever it is controlling? Meaning once the file shows up, what do you need to happen?
Without knowing any details, the first thought is a Wait For File stage in a Sequence job. The job can run and wait of it to show up and then trigger downstream processing when it does. And you can define a failure path if the file does not show up after a period of time. Another option is letting an Enterprise Scheduler handle that, if you have anything of the sort there.
Without knowing any details, the first thought is a Wait For File stage in a Sequence job. The job can run and wait of it to show up and then trigger downstream processing when it does. And you can define a failure path if the file does not show up after a period of time. Another option is letting an Enterprise Scheduler handle that, if you have anything of the sort there.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Since versions 8.x are running alongside MKS Toolkit, you can use the same UNIX command (test).
A test can similarly be performed using a DataStage BASIC routine, but I'm guessing you don't really want to go there.
A test can similarly be performed using a DataStage BASIC routine, but I'm guessing you don't really want to go there.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 19
- Joined: Thu Apr 19, 2018 11:06 am
- Location: chile
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: