PeopleCode | Using GetFile to create a custom log file
Troubleshooting
Tip 011: Determine Current Working Directory
PeopleTools | Understanding the file server and ‘current working directory’.
Tip 008: Create Simple CSV Export
PeopleCode | Creating a comma-separate value (CSV) file