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 to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Describe the cobol database components?
What is cobol?
What is inspect in cobol ?
What are all the divisions of a COBOL program?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Write the code implementing the perform … varying.
What type of SDLC u followed? Why?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How many bytes S(8) comp field occupy and its maximum value?
What are the pertinent COBOL commands?
How do you differentiate between cobol and cobol-ii?
How are the next sentence and continue different from each other?
how to access the file from prodution from changeman tool and to submit a file to production
What is perform what is varying?