× 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.


  • Subject: sending records from one as/400 to another
  • From: "Art Tostaine, Jr." <atostain@xxxxxxxxxxx>
  • Date: Thu, 09 Apr 1998 22:32:59 -0400

I have multiple As/400's that need to share information over a dialup
line.  I have the line/ctl/dev created no problem.  My question is how
to transfer the records?

Currently I am using DDM.  I start the dialup connection, and an RPG
program reads records from my source file and writes to the DDMF.  Then
I update a sent code, and continue with the next record.

I am having problems tracking errors in the RPG program, such as DDMF
not available (Busy signal, etc.)

More often than not, my source As/400 is dialing into a busy remote 400
and I get RNQ1218 (I'm pretty sure).  I can't seem to get my RPG code to
recognize this error and then just end.  We would try to send again in
60 minutes.

I first decided on DDM because I wanted to be sure that each record was
sent to the remote system, then marked as sent.  I thought that with an
unreliable dialup connection, SNADS could lose records in the mix.  For
instance, I create a copy file of the records I want to sent, marking
them as sent.  Then I pass the file to SNADS (SNDNETF), and it tries a
number of times and fails.  Normally the file will stay in the
distribution queue.  But if someone activates that dialup line to
another AS/400 (not the intended target), the distribution queue will
try to send the file, find no directory entry at the remote, and then (I
think) remove the file from the DSTQ and I lose the records.

Is there an easy way to monitor for DDMF messages in RPGLE?  The message
is not returned to my CLP until RNQ1218 is answered in QSYSOPR.

Is anyone using SNADS for this type of app?  How do you handle the above
multiple As/400 dialout?

F.Y.I., VAN's, EDI transactions, and other solutions that make sense
will not be considered because they cost money.  Customers can be mighty
cheap for the wrong reasons.  Of course my time costs money, but for
some reason, they expect that.  I guess I shouldn't complain, but I like
to do things the best way, even if I get less billable time. (who said
that?!?)  Also, dedicated lines and frames, etc. are out of the question
because of cost. I have almost convinced them to add a modem and a phone
line for a dedicated listening port on the remote as/400.

Thanks.
--
Art Tostaine, Jr.
Creative Computer Associates, Inc.
Parlin, NJ 08859


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@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 thread ...

Follow-Ups:

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.