Q:what is the difference between the variable length and
fixed lenght.how it varies in the cobol.
Answer Posted / sushant chavan
fixed length:-
1.Every record in the file has exactly same size (in byte)
2.It take huge memory.
3.Access become fast.
4.Computer knows exact location of records so easy access.
5.slow in transferring the records it has large size.
Variable length:-
1.Different record in the file have different size.
2.It take least memory.
3.access become slow.
4.computer does not know exact location of record so slow access.
5.fast transferring as it is small in size.
| Is This Answer Correct ? | 96 Yes | 10 No |
Post New Answer View All Answers
Explain how to differentiate call by context by comparing it to other calls?
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.
How do you define a variable of comp-1 and comp-2?
For rewrite, why is it mandatory that file needs to be opened?
what is the use of outrecord?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What the difference is between continue and next sentence?
how to access the file from prodution from changeman tool and to submit a file to production
Differentiate between structured cobol programming and object-oriented cobol programming.
Name the divisions, which are available in a cobol program?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
How to use the same COBOL program in Batch and CICS on lines? explain with an example
example for sub strings ? and refernce modifications whit output pls
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?