Page 1 of 1

Is it possible to move COMP value to COMP 3?

PostPosted: Thu Aug 12, 2010 9:56 am
by ramesh4mainframes
HI,

My doubt is, Is it possible to move one COMP variable to another COMP like COMP 2 or COMP 3. Both will store in different formats. So is it possible or not?

Re: Is it possible to move COMP value to COMP 3?

PostPosted: Thu Aug 12, 2010 10:02 am
by dick scherrer
Hello,

Why would it not be possible?

Suggest you spend some time in the COBOL manual and learn about moving elementary fields.

Re: Is it possible to move COMP value to COMP 3?

PostPosted: Wed Sep 22, 2010 6:51 pm
by Phrzby Phil
A simple series of tests would be most instructive. Experiment.