Error checking and debugging
#pragma options(service) (C only), #pragma options(noservice) (C only)
Places a string in the object module, which is displayed in the traceback if the application fails abnormally.
NOSERVICE
When the SERVICE compiler option is in effect, the string in the object module is loaded into memory when the program is executing. If the application fails abnormally, the string is displayed in the traceback.
For z/OS® XL C, if the SERVICE option is specified both on a #pragma options directive and on the command line, the option that is specified on the command line will be used.
You must enclose your string within opening and closing parentheses. You do not need to include the string in quotation marks.
If you specify the SERVICE option on the IPA compile step, or specify #pragma options(service) in your code, it has no effect on the IPA link step. Only the SERVICE option you specify on the IPA link step affects the generation of the service string for that step.
None.