subscript and index r not coded in u r application program
what will happen?
Answers were Sorted based on User's Feedback
Answer / kiran
nothing will happen
instead of subscript and index
we have to write same data repeatedly which occurs multiple
times.
if we use subscript it means occurance of same data multiple
times
by using index we can preform operations fast y bcoze using
index reffers to register variable as we knw if we perform
actions using index variable always fast
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ganesh
YOu need to code it if you get tired of typing same data
which is being used in program
| Is This Answer Correct ? | 1 Yes | 0 No |
I need to compare two VSAM files, both having 'number' as key. If there is a matching record, write the data into another VSAM file. How will it be possible.
Suppose i have a variable with s9(18)v99 comp3 . what is the size of variable . If s9(18) comp3 is 10 bytes . There should be some difference between two allocations ? Thanks krishna chaitanya
what happens when a copybook variables are declared using include statement ?
what is the minimum number of lines a Cobol program should have to successfully compile and run
What is the point of the REPLACING option of a copy statement?
How do you come out of an EVALUATE statement?
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)?
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
What is the difference between structured cobol programming and object alternativelyiented cobol?
How is sign stored in a comp-3 field?
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted?