Unlock parameter listener job

Date:Archived
Product/Release:LANSA for the AS/400
Abstract:Unlock parameter listener job
Submitted By:LANSA Technical Support

Before remote sessions can connect to the AS/400 using TCP/IP, the listener job must be started on the AS/400. The listener job will wait for connection requests on the port number nominated in the Listener record of the Routing Table. TCP/IP must be active before starting the listener job.

To start the listener job, submit the following LANSA request:

SBMJOB CMD(LANSA REQUEST(STRLISTEN)) JOB(aaaaaaaaaa)

where aaaaaaaaaa is the chosen job name.

To minimize the dependency of the Listener Job on the LANSA system from which it is started, use the optional parameter PARM01(*UNLOCK). When this option is requested, the Listener job will not place a lock on data area DC@A01 nor will it keep open any files from the LANSA system data library. With this option the submit command should look like the following request:

SBMJOB CMD(LANSA REQUEST(STRLISTEN) PARM01(*UNLOCK)) JOB(aaaaaaaaaa)