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
I have a File that has duplicate records. I need only those records that occur more than thrice.?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What are the cobol coding sheets?
IF I mention stop run in CICS what happens?
What is the local-storage section?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is the difference between comp and comp-3?
What is an in line perform? When would you use it? Anything else you wish to say about it.
Differentiate between structured cobol programming and object-oriented cobol programming.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
State the various causes of s0c1, s0c5 and s0c7.
What are the different data types in cobol?
Describe the cobol database components?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
Which division and paragraphs are mandatory for a COBOL program?