mainframesguru
New User
Joined: 24 Jun 2005 Posts: 36 Location: Hyderabad
|
|
|
|
Hi
Main Purpose of Reference Modification is to get a Part of a String.
It can be used only with Display Usage Clause.
Ex:
01 Ws-variable Pic x(20) Value "IBM Mainframes".
01 Ws-variable2 Pic X(03).
To get only IBM out of the String, use it as
Move Ws-Variable(1: 3) To Ws-Variable2.
Thanks
Vamshi
ICC-ISH |
|