Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

COBOL Programming :: RE: Getting error while opening a variable block file

$
0
0
Author: mistah kurtz
Posted: Fri May 05, 2017 4:39 pm (GMT 5.5)

Quote:
Largest record length of my input file is 994, so in FD iI gave 990 bytes, now while opening this input file, I am getting below file status code in sysout.

What do you mean? The LRECL(in JCL) of your VB dataset is 994 or the maximum record length of any record in the VB dataset could be 994? In later case your VB dataset LRECL(in JCL) will be 998 and in COBOL program you should use 994.


Viewing all articles
Browse latest Browse all 8500