When and how can we use index & subscript ?

Answers were Sorted based on User's Feedback



When and how can we use index & subscript ?..

Answer / shibin shah k j

wen we need to access array we need to use these two...
index with pointer ...

Is This Answer Correct ?    1 Yes 0 No

When and how can we use index & subscript ?..

Answer / suman kumar

1.Wen u use array commands search we use index,idex
is nothing but displacement position of array
2.Wen u use perform loop we use subscript, subscript is
nothing but a number

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

What are subroutines ? and how do we pass data to the sub routines?

2 Answers   Xansa,


Explain how to differentiate call by context by comparing it to other calls?

0 Answers  


hi friends,can any one post the ibm mainframe inteqview questions for 1year exp candidate,for itc infotech interview?. have any body attended for this in the past?...

1 Answers   ITC Infotech,


HOw can I get the negative sign while deduct high value from low value

0 Answers  


If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.

2 Answers  






Will the variable POS in the following code have a value of 2 or not? 01 POS PIC S9(4) COMP VALUE 2. 01 FIRST-NAME PIC X(10) VALUE 'ABC'. 01 LAST-NAME PIC X(10) VALUE 'XYZ'. 01 NAME PIC X(20) VALUE SPACES. STRING FIRST-NAME DELIMITED BY SPACES ' ' DELIMITED BY SIZE LAST-NAME DELIMITED BY SPACES INTO NAME WITH POINTER POS

2 Answers  


what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?

4 Answers   CSE, TCS, Wipro,


created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?

2 Answers   HCL,


In a program, variables are used but no DB2 involved in it. Can you call it as host variables??

4 Answers   EDS,


WHAT IS SOC3?HOW IT CAN BE RESOLVED?

1 Answers  


i have n records in one file and in this file there is some fields and i want to count that how many sharma in my file so plz give the coding that how we read sharma ?

2 Answers  


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

0 Answers   IBM,


Categories