Header split in 2 lines

General
Enthusiast

Header split in 2 lines

Hi,

 

I am creating header for a file using below query.

Query is generating correct output in mainframe but when sending file to windows server then header is split in 2 lines as in the query.

 

SEL CAST ('ID,NAME,

ADDRESS,PHONE' AS CHAR(30)) 

 

EXPECTED OUTPUT :::::

ID,NAME,ADDRESS,PHONE

 

OUTPUT :::::

ID,NAME,

ADDRESS,PHONE

 

Please suggest .