what are the diferences b/w sub-script and index?

Answer Posted / sumankumar

SUB-SCRIPT IS NOTHING BUT NUMBER ITS CAN DEFINE IN PERFORM
AND IT CAN BE INCREMENTED BY ARITHMETIC OPERATION, AND IT
CAN BE DISPLAY DIRECTLY

INDEX IS NOTHING BUT DISPLAY POSITION OFF ARRY COMAND AND IT
INCREMENTED BY SET VERB AND IT CANNOT DIRECTLY DISPLAYED

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In COBOL programming, what is PERFORM? What is VARYING?

668


Why did you choose to work with ibm mainframe cobol programming?

627


how do you reference the rrds file formats from cobol programs

792


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5673


Why would you use find and get rather than to obtain?

679






how do you reference the esds vsam file formats from cobol programs

627


) How do u handle errors in BMS macro

1505


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2718


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8638


What are the pertinent COBOL commands?

2621


What are declaratives and what are their uses in cobol?

706


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2052


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?

5370


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10577


What is the difference between goback, stop run and exit program in cobol?

920