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

What is an in line perform? When would you use it? Anything else you wish to say about it.

1084


What are the different data types in cobol?

1458


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

12402


Define static linking and dynamic linking.

1205


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

2088


How do you get the data to code the BMS macro?

1983


What are the pertinent COBOL commands?

3188


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

1250


Write a program to enter and display the names of students in a class using the occurs clause.

1220


What are declaratives and what are their uses in cobol?

1209


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

1478


what are decleratives in cobol?

2270


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

1202


What is the difference between PIC 9.99 and 9v99 in COBOL?

1343


Write down the divisions of cobol program?

1263