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
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
In COBOL programming, what is PERFORM? What is VARYING?
What is the difference between comp and comp-3?
What is the difference between comp and comp-3 usage?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is the difference between binary search and sequential search?
Describe the cobol database components?
Write a cobol program making use of the redefine clause.
What are literals?
What are the access modes of START statement?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the usage of comp fields in cobol?