IBM Support

Message "JES text line too long" when running CSSMTP

Troubleshooting


Problem

When running CSSMTP, the following error message is displayed: TCPSMTP EVENT :021:mlJesReport:Report: 500 5.2.5 JES Text line too long

Diagnosing The Problem

The text 500 5.2.5 JES Text line too long is generated when the IO buffer size is greater than the maximum length of an SMTP text line, in bytes, minus 2 bytes. The maximum length of an SMTP text line is hardcoded as 1000 bytes. In this calculation, if the buffer size is greater than 998 bytes (1000-2), the error message is issued.



IBM conforms to RFC 2822 which states the following in "3.5 Overall message syntax":


"A message consists of header fields, optionally followed by a message body. Lines in a message MUST be a maximum of 998 characters excluding the CRLF, but it is RECOMMENDED that lines be limited to 78 characters excluding the CRLF."

Resolving The Problem

The JES LRECL should be 998 bytes or less to avoid the error message.

[{"Product":{"code":"SSSN3L","label":"z\/OS Communications Server"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"--","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"1.11;1.12;1.13;2.1;2.2","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

More support for:
z/OS Communications Server

Software version:
1.11, 1.12, 1.13, 2.1, 2.2

Operating system(s):
z/OS

Document number:
411087

Modified date:
15 June 2018

UID

swg21453948