OCCURS clause is used in the DATA DIVISION on data names at
(a) 01 level
(b) 77 level
(c) 88 level
(d) any level from 02 to 49
Answers were Sorted based on User's Feedback
Answer is D:
Occurs Clause is used from 02 - 49 Levels. But Some
Compliers are accepted in 01 Level also
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / prabhu shankar
the correct answer is d)
77 for Picture Clause
88 for redefine
66 for renames
01 is the starting levels for cobol.
| Is This Answer Correct ? | 4 Yes | 6 No |
Which of the following EDITind and PICTURE symbols is to be used if a minus(-) is to appear before the value if the value is -ve and a plus(+) is to appear before the value if the value is +ve? (a) + (b) - (c) + OR (d) It is not possible
01 a pic s9(5) occupies how many bytes ?
In which area will you utilize 88 level items in cobol?
what is jcl approach for programming?
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
What are the different rules for performing sort operation?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is ASKTIME, SUSPEND
what is the difference between COBOL2 AND COBOL390?
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 ?
How can I find the maximum value of a field in a file while reading the file dynamically? without using sort function. Suppose i have a file with fields Timestamp, description, teamname, teamnumber.. i have read the file till end and find the maximun value of timestamp which is not in sorted order.. can we use function max(timestamp)?