|
Find the hex value for this character, init a 1 byte field for it's value at beginning of pgm (like : move x'1A' delim) then cat the delim field to the end of each record. If you don't know what the hex is, but can find the ASCII value, we can determine the hex from that. Maybe someone else on the list is familiar with the character you need. HTH Jim Franz ----- Original Message ----- From: <John.R.Finney@sb.com> To: <RPG400-L@midrange.com> Sent: Thursday, July 27, 2000 10:27 PM Subject: Outputting a very specific character > Hi All, > > Firstly, it's been a long time since I've posted to this list but I have been > reading often and find the last few months have been pretty much interesting. > > Now to my problem. . . > > I'm busy writing a program which formats fields and outputs to a file CSV-style > (ie. quotations around the strings, comma-delimited, etc...). The problem I'm > having is that the people who need the file in this format also require an > upside-down/inverted question mark as an end-of-record delimiter. The first > thing I did try was to ask the people in question whether there could be any > other character used as an end-of-record delimiter to which I received a prompt > no. > > Any recommendations/suggestions . . . > > Regards > John. > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.