For writing large binary thingies without an extra line feed, use "write"
instead of "SAY".
I.e. replace
SAY BINARY_DATA
with
"write 1 BINARY_DATA"
REF: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/BPXZB680/3.140
--
John McKown
Systems Engineer IV
IT
Administrative Services Group
HealthMarkets®
9151 Boulevard 26 . N. Richland Hills . TX 76010
(817) 255-3225 phone . (817)-961-6183 cell
[email protected] . www.HealthMarkets.com
Confidentiality Notice: This e-mail message may contain confidential or
proprietary information. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original message.
HealthMarkets® is the brand name for products underwritten and issued by the
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance
Company®, Mid-West National Life Insurance Company of TennesseeSM and The MEGA
Life and Health Insurance Company.SM
> -----Original Message-----
> From: IBM Mainframe Discussion List
> [mailto:[email protected]] On Behalf Of P S
> Sent: Monday, January 25, 2010 9:41 AM
> To: [email protected]
> Subject: Re: Write binary from REXX CGI program
>
> On Mon, Jan 25, 2010 at 10:33 AM, Miklos Szigetvari
> <[email protected]> wrote:
> > I write now via "Say".
> > As I set the HTML "content-encoding" to binary , the
> transer is o.k. so the
> > PDF binary transsfered, but as I'm using the "Say" to write
> the HTML I got
> > extra newlines .
> > I would like to get rid of this newlines
>
> Ah. A SAY generates a newline, so you need to build a huge, ugly
> record and SAY that. Not sure if that gets into limitations on SAY
> length; some experimentation with non-binary long lines is probably
> indicated.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
>
>
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html