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
What is length is cobol?
Which mode is used to operate the sequential file?
What is the difference between next sentence and continue in cobol programing language?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
what are decleratives in cobol?
What is the difference between external and global variables in COBOL?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
Write some characteristics of cobol as means of business language.
What is inspect in cobol ?
Are you comfortable in cobol or jcl?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
how to access the file from prodution from changeman tool and to submit a file to production
how do you reference the ksds vsam file formats from cobol programs
How to know whether the module is dynamical or statistical?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?