My Oracle Support Banner

E-QR: RunToFile() Function With Parameter %Query_XLS Doesn't Overwrite Existing Files (Doc ID 2276660.1)

Last updated on FEBRUARY 06, 2019

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.


When using the RunToFile() function in peoplecode using the parameter %Query_XLS to run a query to an excel file, it doesn't overwrite an existing file.

The issue can be reproduced at will with the following steps:
1. Log in to PIA
2. Navigate to Process Scheduler > System Process Requests
3. Run the affected AE containing the RunToFile function with %Query_XLS parameter
4. Check the output
5. Re-run the same AE (which should retrieve different data)
6. Notice that new output contains the same data as the previous output but the file's date is updated




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.