Posted: Mon Apr 23, 2001 5:28 am
Hi Shuan,
Try using DSEXECUTE to execute the following command: CLEAR.FILE hashedfilename
The code would look like:
CALL DSEXECUTE("CLEAR.FILE hashedfilename","UV",...)
Regards,
Anthony.
--- "Jackson, Shaun" wrote: > Hello,
>
> I am after advice on exactly how to Clear the contents of a hash file,
> in universe code.
>
> The scenario is;
>
> I receive data daily, which is inserted into a hash file daily. At
> the end of the week, the data in this hash file is summed and
> outputted. I need this hash file to be cleared after this in
> preparation for the next weeks data.
>
> Any advice, code samples etc would be much appreciated!!!
>
> Thanks
>
>
> Shaun Jackson (B. Comp Monash)
> IT Consultant
>
> Black Diamond
> T e c h n o l o g i e s
> Level 3, 1 Southbank Boulevard,
> Southbank, Victoria 3006
>
_____________________________________________________________________________
http://store.yahoo.com.au - Yahoo! Store
- Its time you had your business online!
Try using DSEXECUTE to execute the following command: CLEAR.FILE hashedfilename
The code would look like:
CALL DSEXECUTE("CLEAR.FILE hashedfilename","UV",...)
Regards,
Anthony.
--- "Jackson, Shaun" wrote: > Hello,
>
> I am after advice on exactly how to Clear the contents of a hash file,
> in universe code.
>
> The scenario is;
>
> I receive data daily, which is inserted into a hash file daily. At
> the end of the week, the data in this hash file is summed and
> outputted. I need this hash file to be cleared after this in
> preparation for the next weeks data.
>
> Any advice, code samples etc would be much appreciated!!!
>
> Thanks
>
>
> Shaun Jackson (B. Comp Monash)
> IT Consultant
>
> Black Diamond
> T e c h n o l o g i e s
> Level 3, 1 Southbank Boulevard,
> Southbank, Victoria 3006
>
_____________________________________________________________________________
http://store.yahoo.com.au - Yahoo! Store
- Its time you had your business online!