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

is it mandatory to give data division before procedure division ?
wht happens if i give procedure division first thn data division
? reply soon

Answer Posted / paray2x

You will get compilation error.

All the files,identifiers, literals used in Procedure
Division have to defined first.

It is imperative for the Data division to appear before
procedure division.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2636


What kind of error is trapped by on size error option?

1289


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1174


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

1499


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2325


What is amode(31)

1216


How many sections are there in data division in COBOL?

1183


How you can characterize tables in cobol?

1252


What are the different rules for performing sort operation?

1278


How arrays can be defined in COBOL?

1298


how do you define single dimensional array and multidimensional array in your cobol?

1151


Write down the divisions of cobol program?

1334


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

1305


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3317


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

1209