i have a variable block which is used in my cobol program
as input file having records of 4080 after compilation
while runing the program im getiing file attribut mismatch
and it is saying tht the record length of the file is 4084
can any one knw the answer how to reslove it ?

Answer Posted / neha

And in addition to Ravi's answer you also have to mention
file as variable while defining the file.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules of the move verb?

704


What are the different rules for performing sort operation?

757


Write a cobol program making use of the redefine clause.

728


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

746


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

701






EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2052


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1913


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1802


What is comp-1 and comp-2?

759


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1020


Which mode is used to operate the sequential file?

658


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1228


For rewrite, why is it mandatory that file needs to be opened?

620


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1520


What is Pic 9v99 Indicates in COBOL?

722