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

Answer Posted / kiran

Index is a displacement we cannot do any arthematic
operation by using index only we can asign value by using SET

Ex: set indexname to 1
upby/downby

Subcript is working storage variable we can use in
arethematic operations and used for occurances of a para

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1238


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1859


What is inspect in cobol ?

1015


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

2183


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

868


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2139


What is a SSRANGE and NOSSRANGE?

1121


What are the different data types in cobol?

1048


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

878


What is the difference between comp and comp-3 usage?

871


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7304


What is the Purpose of Pointer in the string?

831


Write down the divisions of cobol program?

845


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

909


Which is not true about evaluate statement

2100