Page 1 of 1

Corresponding statement

Posted: Wed May 14, 2008 3:20 pm
by vishu1484
Which one of the following is not a valid statement?


MOVE CORRESPONDING OLD-REC TO NEW-REC.

MULTIPLY CORRESPONDING OLD-REC BY NEW-REC.

ADD CORRESPONDING OLD-REC TO NEW-REC.

SUBTRACT CORRESPONDING OLD-REC FROM NEW-REC.

Posted: Wed May 14, 2008 4:03 pm
by dbzTHEdinosauer
Take a few minutes and look at a cobol manual (this is cobol 2), but it does not matter. CORRESPONDING is only associated with a MOVE instruction.

Posted: Fri May 16, 2008 4:21 pm
by ksk
CORRESPONDING is valid with MOVE, ADD and SUBTRACT verbs.

Refer the following.

For SUBTRACT:

http://publib.boulder.ibm.com/infocente ... 539540.htm

For ADD:

http://publib.boulder.ibm.com/infocente ... 539540.htm

KSK

Posted: Fri May 16, 2008 7:00 pm
by dbzTHEdinosauer
on that platform, yes. but, do you notice the name of this website? or is ios mainframe?

Posted: Tue May 20, 2008 12:19 pm
by ksk
Yes. But I could see these options in the following manuals.

http://publib.boulder.ibm.com - 3.2 "VS COBOL II Application Programing Language Reference".

--- deleted reference competitive sites -------