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

If i initialize the 01 level variable in array, will it
initialize all the array elements (occurs)?

Answer Posted / snehatechm

occurs clause of an array cant be coded in 01 level.
it should always be coded in work area 2

01 xxx-yyy.
03 XX-YYY-ARRAY OCCURS 10 TIMES.
05 XX-YYY-MEM1 COMP-3 PIC S9(9).
05 XX-YYY-MEM2 COMP-3 PIC S9(9)V9.

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In COBOL programming, what is PERFORM? What is VARYING?

1087


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1172


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2012


i need a small 3d program using inline and outline.

2165


What is link edit in cobol?

1149


How arrays can be defined in COBOL?

1134


Explain what you understand by passing by value.

1099


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

2169


What are literals?

1073


Which mode is used to operate the sequential file?

1148


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

1053


What is cobol?

1191


How do you reference the following file formats from cobol programs?

1119


In COBOL, what is the different between index and subscript?

1184


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

2179