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

01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2
times. My qustion is how can we access the second name

Answer Posted / veena

occurs can never be used in the 01 level. and when the
clause is used in 02 level, the variable has to be in the
level below that.

01 ws-name1.
02 ws-name2 occurs 2 times.
03 ws-name. pic x(10).

and also pic clause cannot be used in the same statement of
the occurs clause.

Is This Answer Correct ?    16 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?

1210


What is rmode(any) ?

1280


how to access the file from prodution from changeman tool and to submit a file to production

7558


Which division and paragraphs are mandatory for a COBOL program?

1286


Difference between cobol and cobol-ii?

1286


What is the difference between goback, stop run and exit program in cobol?

1598


What do you understand by psb and acb?

1131


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

1130


What rules are followed by the search verb.

1130


How do you differentiate between cobol and cobol-ii?

1221


What are the cobol coding sheets?

1285


what is the use of outrecord?

2226


) how do u code after getting data?

2161


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1161


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1241