Explain about different table spaces.
Answer / Gaurava Singh Yadav
In COBOL, Table Spaces are areas in a program that contain data of the same type and structure. There are two types of Table Spaces: Static and Dynamic.n
1. Static Table Space:n- Defined within the DATA DIVISION before the WORKING-STORAGE SECTION.n- Allocated a fixed size during compilation.n- Initial values can be provided for each element during declaration.n- Cannot be redefined or resized during program execution.n
2. Dynamic Table Space:n- Defined within the WORKING-STORAGE SECTION.n- Allocated memory dynamically during program execution.n- Initial values are not provided during declaration.n- Can be redefined or resized during program execution.
| Is This Answer Correct ? | 0 Yes | 0 No |
We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.
COMPUTE X = A * B - C * D and COMPUTE X = (A * B) - (C * D) (a) Are not the same (b) Are same (c) Syntactically wrong (d) Will yield a run time error
how do u list the abended jobs?
What rules are to be followed while using the corresponding options?
how to display date in reverse order if the pic clause of the is numeric suppose date is 09032010 ==> need to print in 20100309 (pic clause is numeric)
What is binary search?
01 MOVE 10 TO N 05 PERFOM PARA1 TIMES STOP RUN WAT WILL HAPPEN?? WILL IT RUN INFINITELY OR AN ERROR WIL BE THER BECAUSE NO OF TIMES IS NOT GIVEN??
How to covert given string into ASCII value in COBOL/MF COBOL
HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?
Difference between ps, esds
Hai friends why we need to read a file before re-write a record?
how can we find total no of records in a file ....is there any utility......?