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

How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

678


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

1916


What are various search techniques in cobol? Explain.

650


Difference between array and sub-script ?

1169


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?

1808






Write a cobol program making use of the redefine clause.

739


What is the utilization of copybook in cobol?

659


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

686


In which area will you utilize 88 level items in cobol?

724


What rules are to be followed while using the corresponding options?

643


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

1000


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1595


What are all the divisions of a COBOL program?

667


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 ......

10643


What are the different open modes available in cobol?

722