Can I purge old information from my temporary directory in a batch job?
Yes. The purging of the temporary directory can be done by calling LANSA function VFU0030.
In the example VFU0030 is being called to purge data 4 or more days old:
Define Field(#DAY_RANGE) Type(*DEC) Length(001) Decimals(0)
Change #Day_Range 4
Exchange Fields(#DAY_RANGE)
Call Process(*DIRECT) Function(VFU0030) Exit_Used(*NEXT) Menu_Used(*NEXT)