How many bytes will be allocated for the following record
description
entries?
01 REC-A.
05 A PIC S9(4).
05 B PIC XXXBXXX.
05 C PIC ____9.99.
05 D PIC S9(5) COMP-3.
05 E PIC 9(3) COMP.

Answer Posted / khamuruddin

05 A PIC S9(4). = 4
05 B PIC XXXBXXX. = 7
05 C PIC ____9.99. = 4
05 D PIC S9(5) COMP-3. = 3
05 E PIC 9(3) COMP. = 2
-------
20
-------

Is This Answer Correct ?    23 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2096


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

1863


What are the cobol coding sheets?

657


how do you define single dimensional array and multidimensional array in your cobol?

665


How many bytes S(8) comp field occupy and its maximum value?

1624






What is the difference between Call and a Link?

694


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?

5356


State the various causes of s0c1, s0c5 and s0c7.

656


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2049


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

650


In COBOL programming, what is PERFORM? What is VARYING?

666


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

707


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1605


What is a SSRANGE and NOSSRANGE?

810


How do you define a variable of comp-1 and comp-2?

698