how you will define variables length in cobol.
Answer Posted / shamina
We can define variable length in cobol in the File section
as :
RECORDING MODE IS V OR VB ( where V stands for variable and
VB stands for variable block )
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
how do you reference the rrds file formats from cobol programs
For rewrite, why is it mandatory that file needs to be opened?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
what is the use of outrecord?
What is the difference between Call and a Link?
What are the different data types in cobol?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is length is cobol?
Explain about different table spaces.
What is the difference between PIC 9.99 and PIC9v99?
IF I mention stop run in CICS what happens?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are all the divisions of a COBOL program?
How many bytes S(8) comp field occupy and its maximum value?
Whats the difference between search & search ALL?