how you will define variables length in cobol.
Answers were Sorted based on User's Feedback
Answer / shamina
We can define variable length in cobol in the File section
as :
RECORDING MODE IS V OR VB ( where V stands for variable and
VB stands for variable block )
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sree
The variable length in cobol can be defined as s9(4) usage
comp.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / app
file section.
fd recseqv
recording mode is v
record varying from 3 to 80 characters.
01 recseqv-fd-record pic x
occurs 3 to 80 times
depending on ws-record-length.
| Is This Answer Correct ? | 0 Yes | 1 No |
What are some examples of command terminators?
how many bytes do SPPPP999 will store?
I have a seq file with different fields one field is address with pic x(50) as input in a cobol program. In address there is 'PUNE' at any different positions in the address field ( form 1 t0 50) . My requirement is select the fields with address 'PUNE' by using cobol. Please suggest
How can you pass values from COBOL program to non-COBOL programs?
Which is not true about evaluate statement
What is normalisation?
What is file status 92?
perform I from 0 by 1 until I=5?How maney times it will executes
I have a Flat file in which certain records are present in a tabular format. I need to extract some of the records on some basis from it and copy them into a flat file...how it can be done ??
Difference between array and sub-script ?
sample code for read a 2nd record from last in flatfile how can do?
In COBOL programming, what is PERFORM? What is VARYING?