Starting Mlunxsnd under OS/400

...

       1.      In order to add library QTCP to the library list, make the following entry:
ADDLIBLE LIB(QTCP)

       2.      In order to set the environment variable GWCONFIG, make the following entry:
ADDENVVAR ENVVAR(GWCONFIG) VALUE('<configuration file>')Enter the file names for the configuration file, which have already been entered as parameters for program Mlsomadm.

       3.      The entry you use to start program Mlunxsnd depends on how you register the program:

Registering

Entry

Via the Saprfc.ini

SBMJOB CMD(CALL MLUNXSND PARM('-D' '<RFC-Destination>')) JOB(MLUNXSND) CPYENVVAR(*YES)

direct

SBMJOB CMD(CALL MLUNXSND PARM('-a' '<RFC_Programm_ID>' '-g' '<Host>' '-x' '<sapgwnn>')) JOB(MLUNXSND) CPYENVVAR(*YES)

<Host> is the host from which the Gateway runs, <RFC_Program_ID> is the program name that you have defined via transaction SM59, and <sapgwnn> is the gateway service of the instance (nn stands for the instance number).

       4.      In order to check whether program Mlunxsnd has been correctly started, execute the following command:
WRKACTJOB