Can the OCCURS clause be at the 01 level?
Answers were Sorted based on User's Feedback
Answer / rajini
Can the OCCURS clause be at the 01 level?
NO, because occurs clause is there to repeat the fields and
not the records.
| Is This Answer Correct ? | 10 Yes | 1 No |
88 class is used for
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
what is qualification on occurs clause?
What will happen if a variable is declared as below.. Explain with an example? Working storage section:- 01 WS-VARX PIC X(10) VALUE 'ABCDEFGHIJ'. 01 WS-VARN REDEFINES WS-VARX PIC 9(5) VALUE '12345'. What will happen I want Display WS-VARX and WS-VARN?
How do you differentiate between cobol and cobol-ii?
) what is the difference between AID and HANDLE AID?
what is the maximum error code in mainframe
consider the following piece of code 01 GROSS-PAY 05 BASIC-PAY PIC 9(5) 05 ALLOWENCES PIC 9(3) if BASIC-PAY has a value 1000 and ALLOWENCES has a value of 250,what will be displayed by the statement DISPLAY GROSS-PAY a.1250 b.01000250 c.01250 d.1.250
What is the Linkage section? What is the Use and Why the parm length use alway "PARM-LENGTH PIC S9(4) or PIC S9 (4) COMP." any reason?.Please let me know any one... Cheers,Prasad
When would you use in-line perform?
What is the significance of 'above the line' and 'below the line'?