MPE/iX Intrinsics Reference Manual (32650-90875)

Chapter 9 519
Command Definitions (MAIL-PUTJCW)
NLCONVCUSTDATE
3 Invalid date string
4 Invalid
string length
5 *NLS internal error
6 *NLS internal error
7 Separator character in
buffer
does not match custom
date template
8 Length of date string > 13 characters (excluding leading
and trailing blanks)
* Do not apply to calls with a
langnum
equal to 0 (NATIVE3000/XL).
NOTE
When a byte array is passed the code receives the starting position and the
length. There is no way for the code to determine if the length you specifiy is
correct. Therefore, an error of 4 (invalid string length) is returned only if the
specified buffer length is 0 or a negative number. If the passed array length is
greater than zero, but is still incorrect, unpredictable results can occur.
Related Information
Intrinsics NLCONVCLOCK, NLFMTCALENDAR, NLFMTCLOCK, NLFMTCUSTDATE,
NLFMTDATE, NLFMTLONGCAL
Manual Native Language Programmer's Guide