I have 2 dimensional array with having 100 elements. So how
to find the 11th item in an array?

Answer Posted / sreejith

index
0 1 2 3 4 5 6 7 8 9
0 |
1-this is 11 th item in array
2
3
4
5
6
7
8
9
that is arrymame(1,0)=11th item

Is This Answer Correct ?    13 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do u write test cases?

1638


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

2723


What is comp-1 and comp-2?

764


What is difference between static and dynamic call in cobol?

777


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

998






How do you reference the fixed block file formats from cobol programs

707


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

1024


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

710


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

700


Discuss about changing dataset name in proc.

763


How are the next sentence and continue different from each other?

766


What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?

676


Which is not true about evaluate statement

1588


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5065


How do you differentiate between cobol and cobol-ii?

658