• Subject: Re: MIDRANGE-L Digest V4 #19
  • From: Jim Langston <jimlangston@xxxxxxxxxxxxxxxx>
  • Date: Fri, 05 Jan 2001 13:02:57 -0800
  • Organization: Pacer International

ASCII 26 is the End of File Marker.
Each line should have an OD OA (in hex) 13 10 in decimal.
13 = CR 10 = LF.
The last line should have OD OA 1A (13 10 26)

Regards,

Jim Langston

Date: Fri, 05 Jan 2001 12:55:29 -0500
From: Sean Porterfield <sporter@bestdist.com>
Subject: Re: Last symbol in doc after cpytopcd

Leif Svalgaard wrote:
> 
> From: <KOKOREV@conversbank.ru>
> > Are there some way to copy physical file (PF-DTA) to a folder AS400 without
> last
> > symbol? This symbol (ASCII 26) together with last line feed are write
> automatical .
> > I am using command CPYTOPCD.
> 
> Are you sure that the ASCII 26 is not already present in the PC file?
> (I assume that it is a PC file). If it is, you should use a PC program
> to remove it.

>From CPYTOPCD help:

Format of PC data (TRNFMT) - Help

 : 
*TEXT                                                                    
:
 :      The records in the PC document will be written in standard DOS
ASCII  :
 :      variable length format.  The ASCII carriage return and line
feed      :
 :      characters are added to the end of each record, and the ASCII
end of  :
 :      file character is added to the end of the PC
document.                :

I don't know why you would get an ASCII 26, but the help text does say
you will get CRLF added to each line.

HTH
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].