Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MOVE sentence

Status
Not open for further replies.

SunStorm

IS-IT--Management
Feb 6, 2001
25
0
0
ES
If I have the next vbles:

camp of table (value) = DOG
vble2= camp of table

If.....

MOVE vble2 TO vble3

If i want that the vble3 equals DOG .... What is the COBOL sentence to do it???? Can i do it with the move sentence, if i find other sintaxis?????
Thanks.
SunStorm
 
I unserstand that camp of table = vble of an area

01 area/table
05 camp/vble values 'DOG' Thanks.
SunStorm
 
Hi SS,

It sounds like your move stmt will work. It's hard to say for sure because you don't show us the ACTUAL code in your pgm. Have you begun writing the pgm?

You can cut & paste your pgm code into the msg box and post it. When you C&P the code, it may not look formatted as it does in your file. To get it formatted use "tags" like this:

Code:
*
C&P your pgm here
*

Do not code the (*). I had to code it that way so the "tags" would print. After you C&P your pgm and it's ready to send press the "Preview Post" button first, to see how it will look when it's posted. Then press "submit Post"

I repeat, it's a whole lot easier to help if you show us the code.

HTH, Jack.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top