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 <firstname.lastname@example.org> 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: email@example.com +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.