Page 1 of 1

Can we chage Variable length Dynamically

PostPosted: Tue Feb 12, 2008 1:48 pm
by parag107
Hi,

in my prog i used one copybook that having varible p1 pic x(2000).

If i want to reduse length of x from (2000) to (1500) it in my prog according to i need or say (1200)

Means dynamically can we change it?

in prog procedure division.

Re: Can we chage Variable length Dynamically

PostPosted: Tue Feb 12, 2008 7:59 pm
by CICS Guy
parag107 wrote:Can we chage Variable length Dynamically
Usually yes, but...
parag107 wrote:Hi,
in my prog i used one copybook that having varible p1 pic x(2000).
If i want to reduse length of x from (2000) to (1500) it in my prog according to i need or say (1200)
Means dynamically can we change it?
in prog procedure division.
This does not make much sense,can you explain a little better?
Have you looked into VB and ODO?