|
Jim If you wish to receive and send this information you'll have to convert to ASCII. That is to say that the LRC you have been asked for is the result of the transmitted data (in ASCII) run through a formula involving a binary exclusive OR. I, myself have created the communication program your require. First of all you must speak ASCII. You will have to use an ICF function XLATE=NO. Once you are past that step, create a program to convert ASCII to EBCDIC and back again. If you can find an API to do it, all the better. The conversion program I wrote also calculated the LRC. It's your option. Look at the specs again. I am sure you'll also need to send or receive an ENQ to establish connectivity. Good Luck. If all else fails email me directly at mailto:ken@cm-inc.com Ken Slaugh (707) 795-1512 x118 Chouinard & Myhre, Inc. AS/400 Professional Administrator/MSE Client Access Specialist http://www.cm-inc.com/ "Jim Franz" <franz400@triad.rr. To: <MIDRANGE-L@midrange.com> com> cc: Sent by: Subject: Asynch comm owner-midrange-l@mi drange.com 05/29/00 11:50 AM Please respond to MIDRANGE-L I am working on an AS/400 to a credit card authorization network. Unfortunately no previous AS/400 has previously certified to this network. I'm hoping someone else has seen this requirement for async communications. The specs from the other system call for me to add an LRC code at end of packet, "each record must be immediately followed by an LRC character that is computed by using the XOR function on each character of the record. This is a data integrity check." The network person on the other side is not able to really describe what it is. Sounds like some sort of check digit for the whole packet. Any ideas? Jim Franz +--- | 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 +---
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.