‎2009 Apr 17 1:15 PM
Hi ,
For following syntax -
SHIFT S_AUSVN-LOW LEFT UP TO 10.
I am getting this error -
"10" must be a character-type data object (data type C, N, D, T or STRING)
How to solve this problem ?
‎2009 Apr 17 1:18 PM
‎2009 Apr 17 1:18 PM
‎2009 Apr 17 1:22 PM
Hi,
SHIFT is a string operation and can be only used with string or character fields.
The format is :-
SHIFT <c> BY <n> PLACES.
Thanks,
Daya
‎2009 Apr 17 1:25 PM
SHIFT S_AUSVN-LOW LEFT UP TO '10'.
This will try to shift the string to left till '10' Occurs in String. Just Use quotes.
If you want to shift by 10 places use:
SHIFT S_AUSVN-LOW LEFT BY 10 Places.
Regards,
Gurpreet