MOVE Statement (JVM COBOL)

Transfers data to one or more data areas.

move-statement

Move statement Managed
Note: Other formats of this statement are available. See Statements in the COBOL Language Reference.

Example

       01 c1 pic x.
          88 test1 value "a" false "b".
       01 c2 pic x.
          88 test2 value "c" false "d".
 
       move "a" to c1 
       move test1 to test2 
       move true to test2 
       move false to test2