how to code in cobol while using variable block file?
Answer / 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 |
File status must be checked both while opening and reading the file or only while reading the file?
) How do u handle errors in BMS macro?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the difference between Call and a Link?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
1 Answers TryTechnicals Pvt Ltd,
can we redefine 77 level item is it possible
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
wht happens if we dnt give scope terminator ?
what is rediffine clause?in what situation it can use?give me real time example?
Explain fixed length record in cobol? with suitable example
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible