Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

hw to create 3 dimensional array & hw to access it?

Answer Posted / suneel

creating 3d array is same as creating 2d array....and
fetching is also same.
for example ......
in a country 5 states, in each state 5 politicians,each
politician has 4 accounts.........for that accessing as
follows...
declare i,j,k variables and
perform varying i from 1 by 1 until i>5
" " j " " j>5
" " K " " k>4
display accinfo(i,j,k)
end-perform
end-perform
end-perform.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

8018


How do define dynamic array in cobol.

1182


How do get the result of your program directly on your pc?

2390


What are the rules of the move verb?

1318


For rewrite, why is it mandatory that file needs to be opened?

1148


Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2471


How you can read the file from bottom?

1189


What are different data types in cobol?

1380


Name the divisions, which are available in a cobol program?

1290


how to move the records from file to array table. give with code example

2723


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1139


What is length is cobol?

1150


Can we change the password using ALTER? anyone tried and changed?

2073


What rules are to be followed while using the corresponding options?

1121


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17930