|
From: Vern Hamberg <vhamberg@xxxxxxxxxxxxxxxxxxxxxxxxx> Reply-To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx> Subject: Re: carriage return - line feed and source file attributing Date: Sun, 14 Dec 2003 20:40:11 -0600
Rick
CRLF in EBCDIC is x'1512', IIRC, and x'0D0A' in ASCII. Concatenate one of those strings into the relevant field.
HI is x'22', RI is x'21', and normal is x'20' - put the one you want in the position before the text to be highlighted, and put the normal byte at the first byte following. In either case, you replace the byte in question, so it should be a blank.
Just curious, if you can say, what is the need? Formatted display in QShell? CRLF will do nothing in a normal display file, AFAIK, except be non-displayable.
HTH Vern
At 09:34 AM 12/14/2003 -0500, you wrote:Live from snow-bound NYC (again!),
I just cannot remember how these 2 tasks are handled:
1. specify a carriage-return line feed (in hex) at the end of a database record
2. apply (HI) or (RI) attributes to same record...at different intervals.
Thanks for the time people.
Rick
_______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.