It is likely the lpr command which is adding carriage control. You could try lying to it and specify "cc" rather than "nocc" in its options. VM print operations consistently add carriage control when you tell them the file being printed has none. After all, they believe their output is going to an actual printer. That said, personally I'd send your file - especially if it already has smtp headers - to VM's SMTP machine and let it deliver it without the printer subterfuge.
Mike Harding EDS VM National Capability 134 El Portal Place Clayton, Ca. USA 94517-1742 * phone: +01-925-672-4403 * Fax: +01-925-672-4403 * mailto:[EMAIL PROTECTED] * <mailto:[EMAIL PROTECTED]> (personal) Note: For 2007, I am off on Fridays with even Julian dates and Mondays with odd ones. ________________________________ From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of Lionel B. Dyck Sent: Tuesday, July 10, 2007 2:49 PM To: IBMVM@LISTSERV.UARK.EDU Subject: LPR Assistance Please I am trying to send a text file containing smtp headers and text from z/VM to my z/OS system so that my z/OS SMTP server will pick up the file and deliver it as e-mail. It is working with one slight issue - the file is arriving in the z/OS system and having carriage control inserted somewhere. This is the command I am using: "lpr" fn fm ft " (printer TCPSMTP host my.zos.server noheader nocc noburst filter f" On the z/OS side the LPDServer configuration has this record: SERVICE TCPSMTP PRINTER NJE CLASS=M DEST=TCPSMTP FILTERS f I'm sure there is something I'm missing but I'm not seeing it and am hoping someone with more experience can assist. Thanks ________________________________ Lionel B. Dyck, Consultant/Specialist Enterprise Platform Services, Mainframe Engineering KP-IT Enterprise Engineering, Client and Platform Engineering Services (CAPES) 925-926-5332 (8-473-5332) | E-Mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> AIM: lbdyck | Yahoo IM: lbdyck Kaiser Service Credo: "Our cause is health. Our passion is service. We're here to make lives better." "Never attribute to malice what can be caused by miscommunication." NOTICE TO RECIPIENT: If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you.