What will happen if we move SPACES to numeric field and
ZEROES to alphabetic field?

Answer Posted / varun v

1) Move Spaces to Numeric field:

Here program would give compilation error saying Spaces
to Numeric integer did not follow the "MOVE" statement
compatibility rules.

2) Move Zeroes to Alphabetic field:

Would work fine with Movement of Zeroes to the
Alphabetic field.

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give some examples of command terminators?

756


How do you reference the fixed block file formats from cobol programs

703


How can you get the ksds file records into your cobol program?

642


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5060


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8160






In COBOL programming, what is PERFORM? What is VARYING?

670


what is amode(24), amode(31), rmode(24) and rmode(any)?

698


Why would you use find and get rather than to obtain?

683


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

661


how to convert the recors form vsam file to db2 table tru file aid

2763


What is the use of intialize verb?

745


what is the use of outrecord?

1771


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

796


Define cobol?

860


What is the usage of comp fields in cobol?

658