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 / ram.g
54 is the right answer!
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Are you comfortable in cobol or jcl?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Explain the configuration section of a cobol program with examples of syntax.
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
how to move the records from file to array table. give with code example
) How do u handle errors in BMS macro?
Mention the guidelines to write a structured cobol program?
explain sorting techniques in cobol program?
How you can read the file from bottom?
What is the use of intialize verb?
Name the sections present in data division.
What are different data types in cobol?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?