× 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: RE: Invoking receive file program
  • From: "Carl Galgano" <cgalgano@xxxxxxxxxxxxxxxxx>
  • Date: Wed, 14 Mar 2001 13:23:23 -0500
  • Importance: Normal

I assume since you will be communicating non BSCEL since the sending system is not an AS400.  Basically, you config a line using CRTLINBSC.  You must also create a BSC controller and device.  Be sure the lined is set up for autoanswer *YES and the initial connection on the controller is set for *ANS.  when you compile your ICF file, you can specify the device name from above in the Acquire device parameter on the CRTICFF command.  If you do not, you will need to issue an the acquire command in your RPG program or you can specify the device name in the CL by using an OVRICFF command.  You must also use the ADDICFDEVE command to add an ICF device entry.  Here you can specify blocking, records lengths, block lengths.  The code is really petty simple, the program sits in a wait (read) of the ICF file.  The call comes in on the line, and the controller list is checked to see what controller is associated with the line.  It then looks up the device to see what ICF file is associated with it.  The ICF file is attached to the program.   You have to have the BSC receive program running at all times.  Create a SBS and create an autostart job that runs the receive program.  After you receive data, go back and wait for another call.
 
Basically here is the hierarchy of BSC.
 
LINE
    Controller
        Device   
            ICF file
                RPG program
                    Physical file
 
If you were communicating with a system that support BSCEL (BSC Equivalency link), I believe you could actually EVOKE the remote program automatically, much like you can do with SNA/APPC communications.
 
HTH.

Carl J. Galgano
EDI Consulting Services, Inc.
550 Kennesaw Avenue, Suite 800
Marietta, GA  30060
(770) 422-2995 - voice
(419) 730-8212 - fax
mailto:cgalgano@ediconsulting.com
http://www.ediconsulting.com
AS400 EDI, Networking, E-Commerce and Communications Consulting and Implementation
http://www.icecreamovernight.com
Premium Ice Cream Brands shipped Overnight

"You ain't gonna learn what you don't want to know" - rw

-----Original Message-----
From: owner-midrange-l@midrange.com [mailto:owner-midrange-l@midrange.com]On Behalf Of Bill Albert
Sent: Wednesday, March 14, 2001 10:48 AM
To: MIDRANGE-L@midrange.com
Subject: Invoking receive file program

I need to receive a bisync file from a non AS/400 computer dialing in to my ECS line.  I know the line needs to be varied on and perhaps a controller...
 
How does the answering of the call start the program to read the device file?
 
There is some kind of INVOKE command but I am completely in the dark here. 
 
TIA for any help.
 
Bill

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.