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 |
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
if a file has 1000 recods how copy the records from 1 to 100 records using sort
what is qualification on occurs clause?
What is SDSF?
File status must be checked both while opening and reading the file or only while reading the file?
Can anyone please give the example of Inline Perform.
can I copy book which contain db2 statment in procedure divion?
What is amode(24)?
How to use the same cobol program in Batch and CICS onlines ? Please expalin with an example. Thanks in advance.
01 a pic 9(6) value is 123456 01 b pic 9(3) move a to b wht will be the value ?
What is the different between index and subscript?
Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?