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 structured cobol programming and object alternativelyiented cobol programming?

957


what is difference between cobol and cobol/400

22126


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

906


what are decleratives in cobol?

1999


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

1820


Whats the difference between search & search ALL?

5866


What are the different rules of SORT operation?

897


What is amode(24)?

882


What rules are to be followed while using the corresponding options?

829


What is the use of intialize verb?

967


What are 77 levels used for?

844


What is an in line perform? When would you use it? Anything else you wish to say about it.

835


What guidelines should be followed to write a structured cobol prgm?

862


What is a SSRANGE and NOSSRANGE?

1111


In COBOL, what is the different between index and subscript?

945