is it possible to declare index in cobol program?
if it is not why its tell me pls
Answer Posted / kiran
yes it is possible
ex PERFORM TEST AFTER VARYING WS-INDEX FROM
1 BY 1 UNTIL WS-INDEX = 10
DISPLAY "WS-INDEX is now equal to " WS-INDEX
END-PERFORM
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
How to remove the spaces at the end of each record in the output file of variable length, via cobol program?
In COBOL programming, what is PERFORM? What is VARYING?
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
What are the different rules of SORT operation?
Give some examples of command terminators?
What is the usage of comp fields in cobol?
how can i see junk values in dclgen or in hostvariable of comp ?
How do we get current date from system with century in COBOL?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is the difference between structured cobol programming and object alternativelyiented cobol?
Write down the divisions of cobol program?
What are the different rules to perform a Search?