Program-to-Program Interface › Access PPI Facilities from Other Programs › Specify Sender and Receiver IDs › Sample PPI Calls
Sample PPI Calls
Some examples of PPI calls in various languages follow:
- Assembler
-
CALL CNMNETV, (RPB)
CALL (R15), (RPB)
- PL/1
-
CALL CNMNETV (RPB);
- C
-
CNMNETV (RPB);
- COBOL
-
CALL 'CNMNETV' USING RPB
Notes:
- CA recommends that CNMNETV not be link-edited with the program.
- In Assembler, use the LOAD macro to load CNMNETV and save the returned address.
- In PL/1, use the FETCH statement to load CNMNETV.
- In COBOL (VS COBOL II, pointer ability is needed), use the DYNAM option.