View previous topic :: View next topic
|
Author |
Message |
Jitendra kushwah Warnings : 1 New User
Joined: 22 Jul 2009 Posts: 3 Location: Delhi
|
|
|
|
We were looking to implement following functionality with the help of COBOL code.
Consider following variables
Var1 PIC X(5)
Var2 PIC X(5)
Var3 PIC X(5)
Var4 PIC X(5)
We have a variable name as the content of another variable. For example Var1 contains ‘Var2’.
Now using Var1 we would like to move some data in Var2. We would like to execute something like
Move ‘abcd’ to Contentof(Var1)
The variable name inside Var1 may change on the run time and will be input from the CICS terminal. We were wondering would it be possible to achieve above stated functionality with Cobol code. It seems it would not be possible to compile link such dynamic piece of code but we still wanted to take other opinions if you feel its achievable. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
You have asked this question elsewhere today.
Topic locked. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
not the first time the TS does it
official yellow card delivered |
|
Back to top |
|
|
|