search cancel

SPOOL CSSMTP driver - files with records larger than 998 bytes with CSV extension not working

book

Article ID: 257853

calendar_today

Updated On:

Products

Spool

Issue/Introduction

Files larger than 998 record length with extension .csv or .xls are getting blocked by CSSMTP.

(Report: 500 5.2.5 JES Text line too long)

Text files with extension .txt go thru fine. 

 

Environment

Release : 14.0

Cause

Files with extension .CSV or .XLS are not supported by the CSSMTP driver unless they are in ASCII format (binary files).

Resolution

As a workaround:

- Send the file with extension .TXT

- Don't set the FCB to ASIS so the file will be sent as text

- When you receive the file with .TXT in the email box, rename it to .CSV