Explain about different table spaces.



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

Post New Answer

More COBOL Interview Questions

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.

1 Answers  


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

1 Answers   TCS,


how do u list the abended jobs?

1 Answers   IBM,


What rules are to be followed while using the corresponding options?

1 Answers  


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)

6 Answers  


What is binary search?

3 Answers  


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??

1 Answers  


How to covert given string into ASCII value in COBOL/MF COBOL

3 Answers   CTS, IBM, iFlex,


HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?

2 Answers   Cap Gemini,


Difference between ps, esds

3 Answers  


Hai friends why we need to read a file before re-write a record?

7 Answers   L&T,


how can we find total no of records in a file ....is there any utility......?

3 Answers   IBM,


Categories