Thanks for enlightening me, Craig. I have never seen this explained this way in the documentation. I appreciate your help.
Tony
Clearing a hash file
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 483
- Joined: Thu Jun 12, 2003 4:47 pm
- Location: St. Louis, Missouri USA
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
There are two options.
You can create a VOC entry using SETFILE. Syntax for this command is:
SETFILE [pathname] [VOCname] [OVERWRITING]
For example:
SETFILE /usr2/data/hashedfiles/CustCodes CustCodes
Then you can use CLEAR.FILE successfully.
The other choice is to execute clear.file from the operating system shell. This command is located in DataStage Engine's bin directory; you can use its full pathname or have that bin directory in your PATH.
For example:
`cat /.dshome`/bin/clear.file /usr2/data/hashedfiles/CustCodes
You can create a VOC entry using SETFILE. Syntax for this command is:
SETFILE [pathname] [VOCname] [OVERWRITING]
For example:
SETFILE /usr2/data/hashedfiles/CustCodes CustCodes
Then you can use CLEAR.FILE successfully.
The other choice is to execute clear.file from the operating system shell. This command is located in DataStage Engine's bin directory; you can use its full pathname or have that bin directory in your PATH.
For example:
`cat /.dshome`/bin/clear.file /usr2/data/hashedfiles/CustCodes
-
- Premium Member
- Posts: 483
- Joined: Thu Jun 12, 2003 4:47 pm
- Location: St. Louis, Missouri USA