IBM AS/400 manual Communications applications

Page 25

Performance considerations for Common Programming Interface Communications

You can use Common Programming Interface Communications (CPI Communications) to write application programs that you want to communicate with advanced program-to-communications (APPC). The interface makes use of the System Network Architecture (SNA) LU (logical unit) 6.2 architecture to do the following:

vEstablish a conversation

vSend and receive data

vExchange control information

vEnd a conversation

vNotify a partner program of errors.

Intersystem communications feature (ICF) and CPI Communications programs have similar performances for small data transfers.

To optimize CPI Communications application programs, do the following:

vMinimize the use of flush and confirm.

vReceive a compile record and parse it in your buffer.

vDo not use multiple receive calls to receive a single record.

vUse Request-to-Send only when necessary.

To add or change communications entries to get the system set up for CPI Communications, do the following:

1.Type appropriate command on the AS/400 command line and press F4. v Add Communications Entry (ADDCMNE)

vRemove Communications Entry (RMVCMNE)

vChange Communications Entry (CHGCMNE)

2.Use the online help information to change, add, or remove parameter values.

3.Press Enter. The communications entries are added, changed or removed.

For more information about configuring CPI Communications, see:

v“Application program interface (API) performance considerations” on page 17

vCICS/400 Administration and Operations Guide

Chapter 4. Communications applications 19

Image 25
Contents ERserver Page ERserver Page Contents Troubleshooting communications problems Part 1. Getting started with AS/400 communications Version Print this topic Version Creating a network interface description Configuring AS/400 for communicationsCreating a network server description Creating a line descriptionVersion Adjusting the WAN line speed for optimum AS/400 performance Adjusting WAN protocols for optimum AS/400 performanceOptimizing communications performance Improving wide area network performanceWAN line speed considerations for IOPs Adjusting LAN lines for optimum communications performance Adjusting LANs for optimum communications performanceImproving local area network performance Improving data path performance LAN line speed considerations for IOPsAddcmne SBSDlibname/sbsname DEVdevname* MODEmodename Set up the communication entries Example Communications subsystem configurationCommunications performance considerations for batch jobs Example Interactive subsystem configurationMixing interactive and batch jobs on a WAN line Performance considerations for AnyNet communications Setting up the AnyNet environmentAnyNet communications for the AS/400 system Qusrwrk Subsystems Version User written Appc applications Communications applicationsDistributed data management DDM Version Communications applications Version Matching AS/400 parameters for a host system Communicating with host systemsSSAP/DSAP/remote-adapter-address Name Rmtcpname Vtamlst Sscpname Maxframe Group MaxdataRmtnetid Vtamlst Netid Ssap SapaddrLcllocname Dfhtct Netname Mode Modeent LogmodeLocadr Locaddr Locpwd Dfhtct BindpwdAS/400 Host Definition AS/400 Prompt Examples Connecting AS/400 to a host systemModd Modeent Logmode Cosd Modeent COSCommunicating with host systems Version Communicating with host systems Version Configuring the host controller description Configuring dependent LU requester DlurConfiguring the device descriptions Version AS/400 Remote AS/400 AS/400 Prompt Communicating with a remote AS/400 systemAdptadr AdrinsertAS/400 Remote AS/400 AS/400 Prompt Parameter Cnnnbr Netadr X25DCECnnpwd Dsap SsapLinkpcl InlcnnRmtcpname Lclcpname Rmtnetid LclnetidConnecting one AS/400 to another AS/400 system Version Communicating with a remote AS/400 system Version Matching AS/400 parameters for 5494 controllers Communicating with remote workstation controllersLAN AS/400 5494 Prompt AS/400 Parameter Field Subfield ValueRmtcpname RmtnetidLinktype LAN AS/400 5494 Prompt AS/400 Parameter Field SubfieldMatching AS/400 parameters for a 5494 connected by Ethernet AS/400 5494 Prompt Parameter Field Subfield Value Version LAN Adptadr Matching AS/400 parameters for a 5494 connected by Sdlc Prompt Parameter Field Subfield AS/400 Value AS/400Field Subfield AS/400 Value Communicating with remote workstation controllers Matching AS/400 parameters for a 5494 connected by Linktype Example Connecting AS/400 to a 5494 controller connected byIBM 5494 Remote Control Unit Planning Guide, GA27-3936 Linkpcl Qllc DftpktsizeEllc NetlvlField Subfield Value AS/400 5494 PromptCommunicating with remote workstation controllers Matching AS/400 parameters for 3x74 controller 3174 AS/400 Configuration PromptMatching AS/400 parameters for a 3174 controller Questions3174 AS/400 Configuration Prompt Parameter Questions Matching AS/400 parameters for a 3274 controller Switched Short-Hold ModeNRZ or Nrzi Encoding Control Unit Address3274 AS/400 Example Connecting an AS/400 to a 3174 control unitPrompt Parameter Number Matching AS/400 parameters for 470x finance controllers Matching AS/400 parameters for finance controllersAS/400 AS/400 Prompt Parameter Macro AS/400 AS/400 Prompt Matching AS/400 parameters for Fbss finance controllersMacro Parameter Service access point for PC Switched lineLine mode PC addressIdentification block and Identification number Service access point for Host/37xx/4700Matches the Fbss Identification number Data Link ControlMatching AS/400 parameters for retail controllers Example Connecting AS/400 to a finance networkAS/400 Definition AS/400 Prompt Parameter Statement Matching AS/400 parameters for 3651 retail controllersAS/400 Parameter Sdlclin Bit Bit Value AS/400 Definition AS/400 Prompt3684 AS/400 Definition Prompt Matching AS/400 parameters for 3684 retail controllers3684 AS/400 Definition Prompt Parameter AS/400 Parameter Linecon Bit Bit Value Matching AS/400 parameters for 4680/4690 Line parameterCNN*MP SNBU*NO SNBU*YES MODEMRATE*FULLMatching AS/400 parameters for 4680/4690 Link parameter Exchid parameter specified on the AS/400 Crtctlrtl commandAS/400 Prompt AS/400 Parameter Line Parameter CNNMatching AS/400 parameters for 4684 retail controllers Wire constant RTS?Local node Hex Remote node HexExamples Connecting AS/400 to a 4690 retail controller Version Communicating with remote workstation controllers Version Displaying message queues to solve communication problems Troubleshooting communications problemsQsysarb Job logs and communication problemsQpasvrp Solving communication problems using communications traceTrace option setting System service tools and communication problemsTrace full Solving communication problems using the system problem logConsiderations for system tuning during error recovery Solving communication problems using status informationUsing error messages to aid in error recovery Solving communication problems using reason codesReason Code Reason Description Reason Codes for Rejected Program Start RequestsReason Code Reason Description Advanced Peer-to-Peer Networking Networking conceptsDependent LU requester support Advanced program-to-program communicationsHPR architecture option sets High-performance routingInternetwork packet exchange support What is TCP/IP What is Systems Network ArchitectureLocal area network standards Common networking standardsATM on AS/400 Distributed data interface networkToken-ring networks Wireless networkAsynchronous communications Wide area network standardsBinary synchronous communications Frame relay networksSynchronous data link control network Integrated services digital networkIsdn data link control network Network Version
Related manuals
Manual 489 pages 47.95 Kb Manual 516 pages 58.6 Kb