01rec1.
05 a pic 999v99 value 123.12
05 b pic 99v9 value 45.9
02 rec2.
05 x pic 999v99
05 y pic 99v99
05 z pic x(3) value 'abc'
if rec1 is moved to rec2 then what is the value of rec2?
Answer Posted / sweety
rec2 will be
123124590
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
how to convert the recors form vsam file to db2 table tru file aid
What is the utilization of copybook in cobol?
What is the difference between PIC 9.99 and PIC9v99?
what is difference between cobol and cobol/400
How do we get current date from system with century in COBOL?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
In COBOL programming, what is PERFORM? What is VARYING?
What is rmode(any) ?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What are the different data types in cobol?
Give some examples of command terminators?
What is the usage of comp fields in cobol?
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.
Write a program to explain size error.
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?