The following sample shows the RPCBIND cataloged procedure.
//RPCBIND PROC
//*
//* TCP/IP FOR MVS
//* SMP/E DISTRIBUTION NAME: EZARBBND
//*
//* 5694-A01 (C) COPYRIGHT IBM CORP. 2007
//* LICENSED MATERIALS - PROPERTY OF IBM
//* THIS PRODUCT CONTAINS "RESTRICTED MATERIALS OF IBM"
//* ALL RIGHTS RESERVED.
//* US GOVERNMENT USERS RESTRICTED RIGHTS -
//* USE, DUPLICATION OR DISCLOSURE RESTRICTED BY
//* GSA ADP SCHEDULE CONTRACT WITH IBM CORP.
//* SEE IBM COPYRIGHT INSTRUCTIONS.
//*
//* FUNCTION: UNIX SYSTEM SERVICES RPCBIND SERVER MAIN PROCESS
//*
//RPCBIND EXEC PGM=RPCBIND,REGION=4096K,TIME=1440,
// PARM=('ENVAR("TZ=EST5EDT")/-dl')
//*
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
// PEND
Rule: The pid filename is always rpcbind.pid. If -i is not specified, the rpcbind process ID is written to /etc/rpcbind.pid.
If you do specify the -n option, ensure that the user ID associated with rpcbind has at least READ access to the resource BPX.STOR.SWAP in the FACILITY class.
The default is to start rpcbind as swappable.
Result: Rpcbind calculates the number of pages needed to store statistics for the value specified and obtains that number of pages of shared memory for statistics. Thus, rpcbind rounds up the number of statistics entries it tracks to fully use the shared memory.
Tip: Rpcbind does not start unless it can obtain sufficient shared memory to maintain statistics for the number of entries specified. Configure the number of pages of shared memory available to z/OS® with the IPCSHMMPAGES parameter in the BPXPRMxx member of SYS1.PARMLIB.