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 / suriya prakash
C IS THE ANSWER
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Discuss about changing dataset name in proc.
Explain how you can characterize tables in cobol?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What are the different rules to perform a Search?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
what is the difference between COBOL2 AND COBOL390?
What are 77 levels used for?
What are declaratives and what are their uses in cobol?
For rewrite, why is it mandatory that file needs to be opened?
how do you reference the ksds vsam file formats from cobol programs
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
What is comp-1 and comp-2?
what is amode(24), amode(31), rmode(24) and rmode(any)?