Can we chage Variable length Dynamically



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Can we chage Variable length Dynamically

Postby parag107 » Tue Feb 12, 2008 1:48 pm

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.
parag107
 
Posts: 1
Joined: Tue Feb 12, 2008 1:08 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Can we chage Variable length Dynamically

 

Re: Can we chage Variable length Dynamically

Postby CICS Guy » Tue Feb 12, 2008 7:59 pm

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?
CICS Guy
 
Posts: 255
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post