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 is the difference between perform varying and perform until
What is the file organization clause ?
Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.
Can anyone please give the example of Inline Perform.
What is the Purpose of POINTER Phrase in STRING command
what is a load module ?
what is the minimum number of lines a Cobol program should have to successfully compile and run
11 Answers ABC, Societe Generale,
What is the difference between PIC 9.99 and 9v99?
what is the size of W-REC in the following 01 W-REC 05 A PIC 9(4)V99 05 B READLINES A 10 C PIC XX 10 D PIC S9(4) 05 E OCCURS 7 PIC ZZ.ZZ 05 F OCCURS 5 10 G PIC ZZ.ZZZ99 10 H OCCURS 3 15 J PIC 9(3) 15 K PIC V99
Why we are using comp and comp-3 in real time projects?
What are differences between Static Call and Dynamic Call?
10 Answers IBM, KBC, Keane India Ltd, Verizon,
Define cobol?