QUIZ record EOF truncates blanks
Pickering, John (NORBORD)
PICKERIJ@norbord.com
Fri, 2 Mar 2001 14:08:50 -0500
What are using to "examine rec contents"? Listing it to your screen with an
editor or displaying it with the print command, with display functions
turned on will show the cr after the last non-blank character. Try fcopy
;hex;display for a true file dump.
> -----Original Message-----
> From: Karman, Al [SMTP:AKarman@USFreightways.com]
> Sent: Friday, March 02, 2001 2:00 PM
> To: Powerh-L@sphere.swau.edu
> Subject: QUIZ record EOF truncates blanks
>
> Greetings to the -L...
>
> I have a fairly straightforward QUIZ proc which outputs a disc file. The
> last 6x bytes of the record are defined conditionally (CHA*6) and as such
> aren't always going to be blank.
>
> When :LISTF,2 is run, the disc file shows correct rec len. When I examine
> rec contents, a carriage return is coming up BEFORE my conditional CHA*6
> field.
>
> What did I neglect to prevent this?
>
> T I A!!
>
> Al Karman
> IT Consultant
> US Freightways
> akarman@usfreightways.com
>
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.