Start of change

Required changes to fprintf and fscanf strings due to new specifiers for vector types

As of z/OS V2R1 (with APAR PI20843), XL C/C++ runtime supports new specifiers for the fprintf and fscanf families of functions for vector data types. The newly introduced specifiers include separator flags "," (comma), ";" (semicolon), ":" (colon), and "_" (underscore) and optional prefixes "v", "vh", "hv", "vl", "lv", "vll", "llv", "vL", and "Lv". If a percent sign (%) is followed by one of these character strings, which had no meaning under previous releases, the runtime could interpret the data as a vector type specifier. Treatment of this condition is undefined and the behavior could be unexpected.

For a description of the potential results, see Unexpected output from fprintf() or fscanf(). If you want the same results for these strings as the previous releases, change the code to avoid using the percent sign (%) followed by aforementioned character strings in format string parameter of fprintf and fscanf function families.

End of change