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
Explain what you understand by passing by value.
how do you reference the variable unblock file formats from cobol programs
What are the different rules to perform a Search?
Explain how to differentiate call by context by comparing it to other calls?
how to refer the data field?
IF I mention stop run in CICS what happens?
What is the usage of comp fields in cobol?
what is difference between cobol and cobol/400
What is amode(31)
Describe the cobol database components?
What is the difference between comp and comp-3?
What is the difference between PIC 9.99 and 9v99 in COBOL?
HOw can I get the negative sign while deduct high value from low value
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is the difference between PIC 9.99 and PIC9v99?