Answer Posted / mchava
A subscript is a working storage data definition item,
typically a PIC (999) where a value must be moved to the
subscript and then incremented or decremented by ADD TO and
SUBTRACT FROM statements.
An index is a register item that exists outside the
program's working storage. You SET an index to a value and
SET it UP BY value and DOWN BY value.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How do get the result of your program directly on your pc?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
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
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Which is not true about evaluate statement
how do you reference the variable unblock file formats from cobol programs
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
How do define dynamic array in cobol.
how do you reference the fixed unblock file formats from cobol programs
Write a program to explain size error.
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
what is the difference between COBOL2 AND COBOL390?