study the data discriptions and answer the questions given below
i)01 ORDER RECORD
05 OUT-HEADER PIC X(50)
05 ITEM-COUNT PIC 99
05 OUT-ITEM PIC X(20) OCCURS 1 TO 20 DEPENDING
ON ITEM-COUNT
ii)01 NAME-AND-ADDRESS
05 N-AND-A-LINE OCCURES 5
05 LINE-LENGTH PIC P9
05 N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON
LINE-LENGTH
iii)01 SALES-LIST
05 SALESMAN-COUNT PIC 99
05 SALES PIC 9(6) OCCURS 1 TO 100
DEPENDING ON
SALESMAN-COUNT
iv)01 ORDER-RECORD
05 NO-OF-BRANDS PIC 99
05 BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON
NO-OF-BRANDS
which of the following is true?
a.i) and iii) are valid
b.i) and iv) are valid
c.i) and iii) are not valid
d.all are valid
Answer Posted / prasanna
ORDER RECORD is not a valid declaration fo a group item. It
has to be ORDER-RECORD.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Define cobol?
what are decleratives in cobol?
What are various search techniques in cobol? Explain.
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What are the cobol coding sheets?
What is link edit in cobol?
What are the pertinent COBOL
What are the rules of the move verb?
What type of SDLC u followed? Why?
State the various causes of s0c1, s0c5 and s0c7.
Write down the divisions of cobol program?
How many bytes S(8) comp field occupy and its maximum value?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
how to access the file from prodution from changeman tool and to submit a file to production