This topic describes the steps of linking the
NCSSMP program.
Procedure
Perform the following steps to link-edit your program.
- Remove the OUTFILE parameter.
- Add the following statements after the //SYSLIB DD statement:
// DD DSN=SEZALIBN,DISP=SHR
// DD DSN=SEZACMTX,DISP=SHR
- Add the following //USERLIB DD statement:
//USERLIB DD DSN=user_id.OBJ,DISP=SHR
- Replace the //SYSLIN DD statement with the following:
//SYSLIN DD DSN=user_id.OBJ(&MEM),DISP=SHR
// DD DSN=user_id.LOADLIST(&MEM),DISP=SHR
- Include the following when you link-edit your application
code, because not all entry points are defined as external references
in SEZALIBN.
INCLUDE SYSLIB(RPC@S)
INCLUDE SYSLIB(RPC@SEQ)
INCLUDE SYSLIB(RPC@UTIL)
INCLUDE SYSLIB(SOCKET)
- Replace the //SYSLMOD DD statement with the following:
//SYSLMOD DD DSN=user_id.LOAD(&MEM),DISP=SHR
- Create one member of the partitioned data set userid.LOADLIST by adding the following lines to the
data set NCSCLNT1.
INCLUDE SYSLIB(RPC@S)
INCLUDE SYSLIB(RPC@SEQ)
INCLUDE SYSLIB(RPC@UTIL)
INCLUDE SYSLIB(SOCKET)
INCLUDE USERLIB(NCSSMP@C)
INCLUDE USERLIB(NCSSMP@W)
MODE AMODE(31)
ENTRY CEESTART
- Create a second member of the partitioned data set userid.LOADLIST by adding the following lines
to the data set NCSSERV1.
INCLUDE SYSLIB(RPC@S)
INCLUDE SYSLIB(RPC@SEQ)
INCLUDE SYSLIB(RPC@UTIL)
INCLUDE SYSLIB(SOCKET)
INCLUDE USERLIB(NCSSMP@S)
MODE AMODE(31)
ENTRY CEESTART
- Submit the link-edit job at the SDSF command panel, by
entering the following:
/s EDCL,MEM=NCSCLNT1
/s EDCL,MEM=NCSSERV1
Results
You know you are done when no errors are received.