Ansicht
Dokumentation

11645 - Running Vertex in registration mode with R/3 on AS/400

11645 - Running Vertex in registration mode with R/3 on AS/400

General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Running Vertex in registration mode with R/3 on AS/400

Hi all,

Charly asked me, to publish the Vertex for the group, as he can't poste right
now ...

Regards

Volker

-----Original Message-----
From: Jeff_MartinZvertexinc.com [SMTP:Jeff_MartinZvertexinc.com]
Sent: Thursday, September 02, 1999 8:46 AM
To: Charlie Wright
Subject: Running Vertex in registration mode with R/3 on AS/400

Hello Charlie,
Here is the email that outlines the process for registering the verrfc program
on the AS/400.

Regards,

Jeff Martin
Sr. Project Manager, Strategic Alliances
---------------------- Forwarded by Jeff Martin/Customer Relations/Vertexinc on
09/02/99 09:51 AM ---------------------------



bartaZus.ibm.com on 06/15/99 06:44:19 PM
To: Jeff Martin/Customer Relations/VertexincZVertexinc
cc: moravecZus.ibm.com, beclarkZus.ibm.com, callmichZus.ibm.com

Subject: Running Vertex in registration mode with R/3 on AS/400



Hello Jeff,

From our discussion it sounds like the performance problems with the Vertex
software in an R/3 on AS/400 environment are likely the result of the RFC
configuration being set up to start an external program rather than
registration. When you call an external program you are starting a new AS/400
job with each request to your software. When you run in registration mode you
start some server jobs once and those jobs continue running and process all of
the requests coming from R/3. In registration mode you avoid the continuous job
start and end overhead whenever your software is called. Setting up your Vertex
software to run as RFC server jobs on AS/400 in registration mode should be
quite easy and should dramatically improve your performance.

Here are the steps:

Define R/3 RFC destination (transaction SM59)
RFC destination (ie VERTEXSERV)
Connection type T
Description Vertex software
Press enter
Click on 'Registration'
Program ID (ie VERTEX)

Create an RFC initialization file on the AS/400. By default the SAP RFC library
will look for a file called saprfc.ini in the current Integrated File System
(IFS) directory. Alternatively set the environment variable RFC_INI to specify a

path to the RFC initialization file. This could be a path to an AS/400 source
physical file (ie /qsys.lib/vertex.lib/ini.file/saprfc.mbr) or an IFS stream
file (ie /usr/vertex/saprfc.ini).

The contents of the RFC initialization file should be as follows:
/*===================================================================*/
/* Type R: Register a RFC server program at a SAP gateway */
/* or connect to an already registered RFC server program */
/*===================================================================*/
DEST=VERTEXSERV
TYPE=R
PROGID=VERTEX
GWHOST=rchasd5c
GWSERV=sapgw00
RFC_TRACE=0

You need to adapt the value of GWHOST to be the host name where the R/3 gateway
is running and the value of GWSERV to be the gateway service.
The gateway service is sapgw<nn> where <nn> is the instance number where the
gateway is running. Note also that the DEST parameter value must
match the RFC destination name and the value for PROGID must match the program
ID that you defined in the RFC destination in R/3. Your program
does not have to reside on the same server as R/3.

When you have the RFC destination defined and the RFC initialization file set up

you may call your program as follows:

CALL VERTEXPGM PARM('-D' 'VERTEXSERV')



You can start as many of these server programs as you wish. You probably want to

submit the jobs to batch as follows:
SBMJOB CMD(CALL VERTEXPGM PARM('-D' 'VERTEXSERV'))

You may even want to run the jobs in your own subsystem or have a front end
command that accepts a parameter to determine
how many server jobs to start up.



Let me know if you have any questions or problems with this procedure.

Regards, George




George Barta
SAP R/3 on AS/400 development team
Phone: 507-253-7830 FAX: 507-253-0335
Internet: bartaZus.ibm.com


Durban Tours - Südafrika Safari

CL_GUI_FRONTEND_SERVICES - Frontend Services   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 5511 Date: 20240520 Time: 222316     sap01-206 ( 3 ms )