View previous topic :: View next topic
|
Author |
Message |
kvivek
New User
Joined: 09 May 2005 Posts: 51 Location: Singapore
|
|
|
|
Hi,
Is it possible to identify the exact size of the data(Excluding trailing spaces) ?
For example:
Var1 pic x(300).
Move 'Testing' To Var1
Length of Var1 returns 300
I would like to get the size of the data part alone (i.e size of 'Testing' alone)
Thanks,
Vivek |
|
Back to top |
|
|
priya
Moderator
Joined: 24 Jul 2003 Posts: 568 Location: Bangalore
|
|
|
|
It will move trailing spaces too... |
|
Back to top |
|
|
mdtendulkar
Active User
Joined: 29 Jul 2003 Posts: 237 Location: USA
|
|
|
|
kvivek,
Use INSPECT command to get the field length
Go through following link for more details
INSPECT STATEMENT
Hope this helps
Regards
Mayuresh |
|
Back to top |
|
|
|