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
A table has two indexes defined. Which one will be used by the SEARCH?
What type of SDLC u followed? Why?
How you can characterize tables in cobol?
How to print 10 to 1 if the input have only 10 digit number?
how can i see junk values in dclgen or in hostvariable of comp ?
Differentiate between structured cobol programming and object-oriented cobol programming.
how to convert the recors form vsam file to db2 table tru file aid
How to remove 2 duplicate records and copy only one using job control language?
Can you please let me know the centre name of INS certification in Kolkata.
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How do you reference the following file formats from cobol programs?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
how to refer the data field?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?