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
What is the difference between next sentence and continue in cobol programing language?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
Describe the cobol database components?
how do you reference the esds vsam file formats from cobol programs
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?
How you can characterize tables in cobol?
What is a scope terminator give example?
Can you please let me know the centre name of INS certification in Kolkata.
Name some of the examples of COBOl 11?
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
What kind of error is trapped by on size error option?
How do you reference the following file formats from cobol programs?
) How do u handle errors in BMS macro?