subscript and index r not coded in u r application program
what will happen?

Answers were Sorted based on User's Feedback



subscript and index r not coded in u r application program what will happen?..

Answer / kiran

nothing will happen
instead of subscript and index
we have to write same data repeatedly which occurs multiple
times.



if we use subscript it means occurance of same data multiple
times

by using index we can preform operations fast y bcoze using
index reffers to register variable as we knw if we perform
actions using index variable always fast

Is This Answer Correct ?    1 Yes 0 No

subscript and index r not coded in u r application program what will happen?..

Answer / ganesh

YOu need to code it if you get tired of typing same data
which is being used in program

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.

3 Answers   HCL, TCS,


Can we move X(9) to 9(9). If yes what are the ways for doing this?

3 Answers  


77 a pic x(4) value '1234' -----> instead of this 'abcd' 77 b pic 9(4) value zeros. move a to b what is the answers for both cases? IS it possible? Give me elementary move rules briefly......

8 Answers  


input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.

4 Answers  


given the following: 77 A PIC 9V9 VALUE 9.5 77 B PIC 9 VALUE 9. 77 C PIC V9 VALUE 0.8 77 D PIC 9 77 E PIC 9 77 F PIC 9V999 what are the contenta of D E nad F after the following statements are executed: COMPUTE F ROUNDED=A+C/B MULTIPLY A BY C GIVING E ADD B C A GIVING D ROUNDED a.F=9.589 E=8 D=1 b.F=9.589 E=8 D=9 c.F=9.589 E=7 D=9 d.F=9.589 E=7 D=1

5 Answers   Broadridge, TCS,


What is the default value of DISP parameter?

3 Answers   IBM,


How can you get the ksds file records into your cobol program?

0 Answers  


01 a pic s9(5) value '-12345' how it will be stored

7 Answers   ACS,


What are the different data types in cobol?

0 Answers  


The maximum number of dimensions that an array can have in COBOL-85 is ?

11 Answers  


what are the working storage fields in BMS macro?

2 Answers   IBM,


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

0 Answers  


Categories