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
What are the rules of the move verb?
What are the different rules for performing sort operation?
Write a cobol program making use of the redefine clause.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
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
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
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?
What is comp-1 and comp-2?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Which mode is used to operate the sequential file?
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?
For rewrite, why is it mandatory that file needs to be opened?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
What is Pic 9v99 Indicates in COBOL?