× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Joe Henderson wrote:
Scott,
I determine the transmission is complete by the arrival of a trailer
record.  Guessing from the rest of your reply and the situation, what I
do next is incorrect, which is varying off the line, etc.  How would I
detect their EOT (I'm thinking by detecting a return code), and
particularly how would I acknowledge it?
Haven't tried running comm. trace.  Appreciate your help.


It sounds like you are trying to do what we do, so I'll add my 2 cents worth (particularly because it was difficult for me to learn this stuff!) There is info on some of this in the archives; that's where I got the basis for my program.

In our case, we have to upload some records to identify ourselves, then we download the file based on that. After I upload the identification, I write a blank record with ALWWRT set (*IN31). My comment in the program says it's EOT.

Then I read from their file until I get RCVTRNRND (*IN90) then I close the file. Maybe they want you to send ALWWRT again, though.

     A          R SEND
     A  31                                  ALWWRT
     A  32                                  RQSWRT
     A                                      VARLEN(&SNDLEN)
     A            SNDDTA      1024A
     A            SNDLEN         5  0P
     A          R RECEIVE
     A                                      RCVTRNRND(90)
     A            RCVDTA      1024A


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.