Determine the total no of bytes in the following.
01 rec1.
02 a pic x(6)
02 b redefines a.
03 c occus 6 times pic 9.
02 d occurs 6 times pic 9.
03 e pic x(5)
03 f pic 999.
Answer Posted / imran ahmad
FIRST YOU HAVE TO REMOVE PIC CLAUSE FROM GROUP ITEM D
ANSWER IS 56
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What are the rules of the move verb?
What are the different rules of SORT operation?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
How do you define a variable of comp-1 and comp-2?
how do you define single dimensional array and multidimensional array in your cobol?
What is the difference between PIC 9.99 and PIC9v99?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What type of SDLC u followed? Why?
What is perform what is varying?
example for sub strings ? and refernce modifications whit output pls
HOw can I get the negative sign while deduct high value from low value
What the difference is between continue and next sentence?
How you can read the file from bottom?