writing to a file using write record (peoplecode)

http://peoplesoft5.blogspot.com/2012/07/peoplecode-writing-to-file-using-write.html