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
Give some examples of command terminators?
How do you reference the fixed block file formats from cobol programs
How can you get the ksds file records into your cobol program?
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.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
In COBOL programming, what is PERFORM? What is VARYING?
what is amode(24), amode(31), rmode(24) and rmode(any)?
Why would you use find and get rather than to obtain?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
how to convert the recors form vsam file to db2 table tru file aid
What is the use of intialize verb?
what is the use of outrecord?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Define cobol?
What is the usage of comp fields in cobol?