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

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

Answer Posted / neelam saini

i think above answers r worng.
working-storage section.
01 WS-ARR.
02 WS-A OCCURS 10 TIMES.
03 WS-D OCCURS 10 TIMES PIC XX.
01 I PIC 9(2).
01 J PIC 9(2).
PROCEDURE DIVISION.
MAIN-SECTION.
MAIN-PARA.
PERFORM PARA1 VARYING I FROM 1 BY 1 UNTIL I > 10
AFTER J FROM 1 BY 1 UNTIL J > 10.

DISPLAY WS-D(1,2).
STOP RUN.
PARA1.
ACCEPT WS-D(I , J).

Is This Answer Correct ?    12 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2098


What is cobol?

1236


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1161


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1110


Are you comfortable in cobol or jcl?

1037


What is rmode(any) ?

1252


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

1077


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2424


What is the difference between external and global variables in COBOL?

1449


HOw can I get the negative sign while deduct high value from low value

2251


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1112


How arrays can be defined in COBOL?

1205


State the various causes of s0c1, s0c5 and s0c7.

1074


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

1220


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1399