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

why occurs clause not mentioned in 01 level

Answer Posted / som

BECAUSE IF WE DEFINE THE OCCURS CLAUSE AT 01 LEVEL THEN IT
BREAK THE BASIC RULE OF LANGUAGE DECLARTION OF SAME NAME
VARIABLE MORE THEN ONE TIME.E.G
01 NAME PIC XX OCCURS 2 TIMES. MEANS ACTUAL DECLARTION WILL
LIKE THIS
01 NAME PIC XX.
01 NAME PIC XX.
THATS WHY IT IS NOT USED AT 01 LEVEL

Is This Answer Correct ?    6 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are 77 levels used for?

1112


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2402


what is the use of outrecord?

2224


What is a scope terminator give example?

1118


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1262


Why occurs cannot be used in 01 level in COBOL?

1165


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1357


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2558


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1507


i want a program using by if, evaluate , string, unstring, perform, occurs?

4731


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9901


Give some examples of command terminators?

1268


How do u write test cases?

2071


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

1329


What is inspect in cobol ?

1310