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
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What are various search techniques in cobol? Explain.
Difference between array and sub-script ?
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?
Write a cobol program making use of the redefine clause.
What is the utilization of copybook in cobol?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
In which area will you utilize 88 level items in cobol?
What rules are to be followed while using the corresponding options?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What are all the divisions of a COBOL program?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What are the different open modes available in cobol?