File system / AS/400 Setup and installation |
Since the AS/400 does not have a graphical user interface and Cleo LexiCom is a graphical product, configuration of the hosts and the Local Listener is easily done using the Cleo LexiCom AS/400 UI. You will be configuring the hosts that are stored on the AS/400 IFS (in the /LexiCom folder) and therefore, you must invoke the LexiCom program icon linked to the shared drive that you mapped during the installation process.
The Cleo LexiCom AS/400 UI product is used to configure hosts and view status information in real-time. After you have started LexiCom on the AS/400, start the Cleo LexiCom application from the IFS mapped drive. After several seconds, Cleo LexiCom application will start and the UI will be displayed.
Once all your hosts and the Local Listener are configured to your satisfaction and optionally, the scheduler is correctly set up, you should verify that you can properly exchange messages with all your trading partners by sending and receiving test messages.
The Add Content-Type Directory to Inbox check box allows for sorting of incoming messages based on the content-type of the message to a subdirectory (under the Inbox specified on the General tab for the Host). You specify each of the content-types that you want directed to specified subdirectories by entering a name in the Directory field. Directory entries may be made for content-types of: EDIFACT, X12, XML, Binary, Plain Text, and Other (a default catch-all for messages with all other content-types you may receive.) The same subdirectory may be used for multiple content-types. You may also leave 'Directory' entries blank that will cause any received messages of that 'Content-Type' to be stored in the Inbox specified on the General tab.
By default, the Content-Type directories are preconfigured for windows or IFS based folders. To use this feature on the AS/400 Native File System, modifications must be made to all directories that will be used so that the settings have the correct AS/400 syntax, that is, each setting must be in the form DIRECTORY.FILE.
On the 'General' tab, specify just the library for the "Inbox" value where the "Content-Type" files will be created.
Now verify that all the "directories" that you have specified, i.e., files in the form DIRECTORY.FILE, have a matching physical file. In the example above, the files EDIFACT.FILE, X12.FILE and XML.FILE under the /QSYS.LIB/LEXICOM.LIB library are being used. If these files don't already exist, create a physical file for each of the files you have specified as follows:
CRTPF FILE(LEXICOM/EDIFACT) RCDLEN(132) MAXMBRS(*NOMAX ) SIZE(*NOMAX)
CRTPF FILE(LEXICOM/X12) RCDLEN(132) MAXMBRS(*NOMAX ) SIZE(*NOMAX)
CRTPF FILE(LEXICOM/XML) RCDLEN(132) MAXMBRS(*NOMAX ) SIZE(*NOMAX)
As a final step, verify that the Add Mailbox Alias Directory To Inbox setting on the Advanced panel is not selected.
Since the Cleo LexiCom AS/400 server does not have a UI to allow the user to manually send and receive files from trading partners, and typical AS/400 users will be integrating Cleo LexiCom software with an EDI translator, the Scheduler is a convenient way to invoke the <send> and <receive> actions that you have configured for your hosts.
See Scheduling actions - Native and Classic Web UI for information.