hi, As was said others, this is a C runtime issue. As seen by the runtime library reference (https://www.ibm.com/docs/en/zos/3.2.0?topic=functions-fprintf-printf-sprintf-format-write-data), the maximum number of positional arguments is NL_ARGMAX. Looking at limits.h, you can see this value is 9 and hence the library is doing what it expected. You can always request this limit be raised through the IBM Idea’s forum, but it doesn’t look like a bug.
Hope this helps, z/OS XL C/C++ Compiler Team ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
