Multiple choice technology mainframe

Can we MOVE Alphanumeric to numeric edited?

  1. Yes. We can move

  2. Only if the sending field is an unsigned integer.

  3. No. We cannot move

  4. Only if the sending field is signed integer.

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

In COBOL, you can MOVE an alphanumeric field to a numeric edited field only if the sending field contains an unsigned integer. This is because the MOVE verb attempts to convert and transfer data, but will fail if the alphanumeric contains non-numeric characters or signs that don't match the edited format. Signed integers would require specific handling for the sign.