Q:what is the difference between the variable length and
fixed lenght.how it varies in the cobol.

Answer Posted / krishnakumar

In JCL:
We have to code acutual lentgh + 4 Bytes for Variable
length files.For fixed length files we have to code actual
length.

in COBOL:
In FD Section we have to write
Recording Mode is F --> for Fixed length files,
Recording Mode is V --> for Variablelength files

Is This Answer Correct ?    8 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is not true about evaluate statement

1630


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1939


Write down the divisions of cobol program?

676


i need a small 3d program using inline and outline.

1646


how do you reference the variable unblock file formats from cobol programs

759






What are literals?

638


Write a program to enter and display the names of students in a class using the occurs clause.

661


How are the next sentence and continue different from each other?

774


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2142


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

650


What is the local-storage section?

691


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1964


What are the cobol coding sheets?

673


what is the use of outrecord?

1778


What the difference is between continue and next sentence?

667