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
Write a cobol program making use of the redefine clause.
Which mode is used to operate the sequential file?
What is a scope terminator give example?
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
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is amode(24)?
What do you understand by psb and acb?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
How do you get the data to code the BMS macro?
what is the difference between COBOL2 AND COBOL390?
How many sections are there in data division in COBOL?
how do you reference the variable unblock file formats from cobol programs
) How do u handle errors in BMS macro?