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 |
I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.
when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?
What is the difference between subscript and index?
file status 00 is checked after opening the file or reading the file
Is this allowed? 01 WS-TABLE. 03 FILLER-X PIC X(5) VALUE 'AAAAA'. 03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1). can redefines clause be used with occurs clause?
How do u find the programs calling the given module, without having doing 3.13 on loadlib/source library?
If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??
What is the point of the REPLACING option of a copy statement?
What is the figurative constant in cobol?
How many sections are there in data division in COBOL?
.How to add one input & one Out file in existing cobol program. how approach tell me step by step.
I have 2 dimensional array with having 100 elements. So how to find the 11th item in an array?