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

how to refer the data field?

2221


When is inspect verb is used in cobol?

1199


In which area will you utilize 88 level items in cobol?

1117


How many sections are there in data division in COBOL?

1095


What are the cobol coding sheets?

1198


What are the different data types in cobol?

1353


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

1049


What are the different rules of SORT operation?

1091


Differentiate between structured cobol programming and object-oriented cobol programming.

1095


What is the default value(s) for an initialize and what keyword allows for an override of the default?

1168


How do you define a variable of comp-1 and comp-2?

1153


how do you reference the ksds vsam file formats from cobol programs

1135


What are the different open modes available in cobol?

1160


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

1469


Describe the cobol database components?

1133