On 31/01/2012 12:27 PM, Charles Mills wrote:
BTW, it will want to be a .C (upper case) file to compile it with the IBM C
compiler.

I use *.cpp extensions. Either use the -+ compiler option, set the _CXX_CXXSUFFIX environment
variable or set up a stanza in the compiler configuration file.



Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf
Of Donald Likens
Sent: Monday, January 30, 2012 6:47 PM
To: IBM-MAIN@bama.ua.edu
Subject: CPP (C++) file on z/OS

I am attempting to port a C++ (.CPP) file to z/OS. I appears that .CPP files
do not have new line indicators because when I FTP it I get one long record
that exceeds 32765 bytes and the FTP failes. Also when I read these file
with notepad they are one long stream. Any advise?

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to lists...@bama.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to