Returns a signed FIXED BINARY value.
SIGNED(x,p[,q])
x is an expression and p and q are integers representing precision and scale factor, respectively.
SIGNED converts the expression x into a signed FIXED BINARY value with a specified precision p and, optionally, a scale factor q. If p is omitted, the default scaling factor is zero.
dcl u32 unsigned fixed binary (32) init('FFFFFFFF'xu); put skip list (SIGNED(u32,31,0));
Prints -1.
The scaling factor q is not currently supported for signed and unsigned FIXED BIN data types and is assumed to be zero.