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

IF I mention stop run in CICS what happens?

2379


What is length is cobol?

1100


Write a program to explain size error.

1200


) what is the difference between AID and HANDLE AID?

2156


How do we get current date from system with century in COBOL?

1381


What the difference is between continue and next sentence?

1168


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9105


Discuss about changing dataset name in proc.

1235


how do you reference the variable unblock file formats from cobol programs

1328


How you can read the file from bottom?

1158


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

1203


What are the different rules to perform a Search?

1098


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

1172


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1241


What is the difference between comp and comp-3?

1185