Calling z/OS XL C from CSP
To call a z/OS® XL C program
from CSP:
- PLIST(OS) must be specified in the z/OS XL C program so that input parameters will not be processed by the runtime environment.
- When CSP passes a parameter list to a z/OS XL C function, the list is in a different format from what z/OS XL C expects in a normal z/OS environment. To receive the parameters, use the macro __csplist, found in the csp.h header file and described in z/OS XL C/C++ Runtime Library Reference.
Notes:
- PLIST(OS) must be specified in the z/OS XL C program so that input parameters will not be processed by the runtime environment.
- When CSP passes a parameter list to a z/OS XL C function, the list is in a different format from what z/OS XL C expects in a normal z/OS environment. To receive the parameters, use the macro __csplist, found in the csp.h header file and described in z/OS XL C/C++ Runtime Library Reference.