subscript and index r not coded in u r application program
what will happen?
Answers were Sorted based on User's Feedback
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 |
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 |
what do you mean by copybook? and what is the difference between the copybook which we are using in working storage and procedure division.
Can we move X(9) to 9(9). If yes what are the ways for doing this?
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......
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.
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
What is the default value of DISP parameter?
How can you get the ksds file records into your cobol program?
01 a pic s9(5) value '-12345' how it will be stored
What are the different data types in cobol?
The maximum number of dimensions that an array can have in COBOL-85 is ?
what are the working storage fields in BMS macro?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?