How to display the index.(displacement from an array)
Answer Posted / naina
Ye we can!!!
The easiest way, which would work in all versions of COBOL
is
SET W-S-VAR-PICS9(9)-USAGE-DISPLAY TO THE-INDEX-U-WANT-TO-
DISPLAY
DISPLAY W-S-VAR-PICS9(9)-USAGE-DISPLAY
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
How do you reference the following file formats from cobol programs?
What is the difference between goback, stop run and exit program in cobol?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Write a program that uses move corresponding.
What are the different data types in cobol?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
In COBOL, what is the different between index and subscript?
What is comp-1 and comp-2?
Define cobol?
Which mode is used to operate the sequential file?
What rules are to be followed while using the corresponding options?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps