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 you define single dimensional array and multidimensional array in your cobol?
what happens if parmparameter passes zero bytes to the program
What are the pertinent COBOL commands?
What is the difference between binary search and sequential search?
What the difference is between continue and next sentence?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
how to convert the recors form vsam file to db2 table tru file aid
What is an in line perform? When would you use it? Anything else you wish to say about it.
What are declaratives and what are their uses in cobol?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What is redefines clause in COBOL?
Explain how to differentiate call by context by comparing it to other calls?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
) How do u handle errors in BMS macro?