Joined: 03 Jul 2007 Posts: 1253 Location: Chennai - India
suvidha,
Quote:
I want first 7 characters in final variable.If yes , then how?
You can directly move the data from X(9) to X(7) as both the fields are declared as alphanumeric. The last two bytes would get truncated moving the first 7 characters to the X(7) field.
Even though this works, try using the reference modification technique.
That's why i posted it. Because six answers had been posted before mine
for solving this simple question. So i was leaded into temptation to put in my two cents.
Only YES and "move field9 to field7" could have been enougth.
@ enrico-sorichetti
Right, i agree! A link to the fine manual would have been a good hint.