E-PC: ReadLine PeopleCode Is Ignoring Carriage Return Character ^M In Unix/Linux
(Doc ID 2356310.1)
Last updated on FEBRUARY 07, 2019
Applies to:PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.
On : PT 8.55 version, PeopleCode, Web Server, Application Server and Process Scheduler on Unix/Linux.
Tests were done on PT 8.55.15.
ReadLine API PeopleCode fails to acknowledge the ^M character (carriage return) in input files on Unix/Linux, and reads more than it should do.
To replicate the issue:
1 - Generate the input file, using a process such as SQR. In the code, set the line breaks in the output report as Carriage Return - char(13) - CR
2 - Make sure the Carriage Return character is present, by using Vi to view the file. The character will show up in Vi as ^M
3 - Create PeopleCode to process the input file, using the PeopleCode API ReadLine
4 - ReadLine API PeopleCode will not acknowledge the ^M character (carriage return) in the input files on Unix/Linux, and will read more than it should do.
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