what is qualification on occurs clause?
Answers were Sorted based on User's Feedback
Answer / kanika
Occurs clause is used in case of table ,when one number is
used many times as in case of array.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / reshma
If a data-name with the occurs clause requires any
qualification by its higher level, the subscripts to be
written after the last qualified name. For ex,
01 INCOME-TAX-RATE
02 TAX-RATE PIC 99 OCCURS 10 TIMES.
if TAX-RATE should be qualified, it must appear as TAX-RATE
OF INCOME-TAX-RATE(I) and not as TAX-RATE(I) OF INCOME-TAX-
RATE
| Is This Answer Correct ? | 4 Yes | 1 No |
wht is the diff b/w if and evaluate stmts ?
The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290
after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)
can i use multiple when statements in search & search all ? justify ur answer?
write a program to eliminate duplicate records in a input file and send them to output file.
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
how do u indetify files succesfully executed or not ?
What is amode(24)?
how to move the records from file to array table. give with code example
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
What is difference between COBOL and VS COBOL II?.
How do u write test cases?