can we read in input the file with a variable length ?
please , how ..could you help me ?

Answer Posted / anjiii

yes we can read input file with variable length.

while declaring a file in a file section, have two file
records declared at zero level... ex.

FD
01 Var-data-1 pic x().
05
05
.
.

01 Var-data-2 pic x().

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between next sentence and continue in cobol programing language?

695


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1639


What is the default value(s) for an initialize and what keyword allows for an override of the default?

680


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

659


Describe the cobol database components?

667






how do you reference the esds vsam file formats from cobol programs

622


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?

2087


How you can characterize tables in cobol?

706


What is a scope terminator give example?

646


Can you please let me know the centre name of INS certification in Kolkata.

1706


Name some of the examples of COBOl 11?

2671


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

984


What kind of error is trapped by on size error option?

730


How do you reference the following file formats from cobol programs?

686


) How do u handle errors in BMS macro?

1413