Re: The MOVE problem
- From: Robert <no@xxxxxx>
- Date: Tue, 30 Oct 2007 12:46:46 -0600
On Tue, 30 Oct 2007 17:51:19 +0100, "Roger While" <simrw@xxxxxxxxxxxx> wrote:
IDENTIFICATION DIVISION.
PROGRAM-ID. MOVEX.
ENVIRONMENT DIVISION.
DATA DIVISION.
WORKING-STORAGE SECTION.
01 AA.
03 A PIC 9 OCCURS 9.
01 CC.
03 C PIC 9 OCCURS 9.
01 B PIC 9.
PROCEDURE DIVISION.
MOVE "987654321" TO AA.
MOVE "123456789" TO CC.
MOVE 3 TO B.
MOVE A(B) TO B C(B).
DISPLAY CC.
DISPLAY B.
GOBACK.
What shouzld be displayed in various compatible modes?
123456789
7
.
- Follow-Ups:
- Re: The MOVE problem
- From: Bill Gunshannon
- Re: The MOVE problem
- References:
- The MOVE problem
- From: Roger While
- The MOVE problem
- Prev by Date: Re: COBOL to Java conversion
- Next by Date: Re: The MOVE problem
- Previous by thread: The MOVE problem
- Next by thread: Re: The MOVE problem
- Index(es):
Relevant Pages
|