how to code in cobol while using variable block file?
Answer Posted / ravi
INDENTIFICATION DIVISION.
PROGRAM-ID. PGM1.
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SOURCE-COMPUTER. IBM
OBJECT-COMPUTER. IBM
INPUT-OUTPUT SECTION.
FILE CONTROL.
SELECT INPUT-VB-FILE ASSIGN TO DISK.
DATA DIVISION.
FILE-SECTION.
FD INPUT-VB-FILE
01 INPUT-VB-FILE
RECORDING MODE IS V
RECORD CONTAINS 1000 CHARACTERS <---This should be the max
size of the record in whole file.
BLOCK CONTAINS 0 RECORDS.
Is This Answer Correct ? | 2 Yes | 8 No |
Post New Answer View All Answers
) how do u code after getting data?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Write a cobol program making use of the redefine clause.
What are the rules of the move verb?
What is the difference between Global and External Variables?
What are different data types in cobol?
What is perform what is varying?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is rmode(any) ?
For rewrite, why is it mandatory that file needs to be opened?
When is inspect verb is used in cobol?
Mention the guidelines to write a structured cobol program?
Can we redefine the field of x(200) to less than 200?
What is report-item in COBOL?