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
What is rmode(24)
What are different data types in cobol?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Which is not true about evaluate statement
What is a SSRANGE and NOSSRANGE?
How to print 10 to 1 if the input have only 10 digit number?
Write the code implementing the perform … varying.
How to remove 2 duplicate records and copy only one using job control language?
How do get the result of your program directly on your pc?
what is search and searchall?what is the diffrence between them?give an best example?
What are 77 levels used for?
What are the different data types in cobol?
What is the use of intialize verb?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?