Your program is neither STRSQL nor RUNQRY. In your program you converted the number with %EditC (which is an RPG function).
I have no idea what your problem is if you see the same number in STRSQL as 10-.
But if you really want to format your number in STRSQL, you can use the SQL scalar function VARCHAR_FORMAT.
I have no idea what your problem is if you see the same number in STRSQL as 10-.
But if you really want to format your number in STRSQL, you can use the SQL scalar function VARCHAR_FORMAT.
Comment