E-PC: WriteLine() Function Generates the Following Error: "Literal Is Too Long"

(Doc ID 2134933.1)

Last updated on MAY 09, 2016

Applies to:

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


When using the WriteLine function for a file in Application Designer (PeopleTools version 8.52.26), the following error message is received: "Literal is too long (2,2)"

The code is:
&CurrentFile.WriteLine("<string having 1068 characters>")

The issue can be reproduced at will with the following steps:
1. Open Application Designer.
2. Write the above code.
3. Receive the "Literal is too long (2,2)" message.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms