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...

how will u retreive value from a table.write it with syntex.
01 ws-table
05 ws-table1 occurs 10 times.
05 ws-table2 occurs 10 times.

the above is 2 dimensional array..how will u retrieve 1st
element of an array

Answer Posted / talluri

01 ws-array
05 ws-table1 occurs 10 times.
05 ws-table2 occures 10 times.
01 i pic 9(2).
01 j pic 9(2).
procedure division.
perform varing i from 1 by 1 until i>10
perform varing j from 1 by 1 until i>10
accept ws-table1(i,J)
accept ws-table2(i,J)
end-perform
end-perform.
perform varing i from 1 by 1 until i>10
display ws-table1(i,J)
end-perfrom.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) what is the difference between AID and HANDLE AID?

2200


What are the rules of the move verb?

1322


What is rmode(any) ?

1330


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4211


Write the code to count the sum of n natural numbers.

1258


What do you understand by psb and acb?

1181


explain sorting techniques in cobol program?

1245


What is cobol?

1289


What is the compute verb? How is it used?

1187


Name the sections present in data division.

1309


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

1286


Which is not true about evaluate statement

2515


Explain how you can characterize tables in cobol?

1115


Can you please let me know the centre name of INS certification in Kolkata.

2284


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

1147