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

Answers were Sorted based on User's Feedback



is it mandatory to give data division before procedure division ? wht happens if i give procedure d..

Answer / sarang sangeet

THE COMPILATION JOB GETS ABENDED WITH MAXCC=12.

Is This Answer Correct ?    11 Yes 0 No

is it mandatory to give data division before procedure division ? wht happens if i give procedure d..

Answer / 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

More COBOL Interview Questions

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

0 Answers  


i want to use only first 100 records from a file.plz tell me how to write JCL for this(for read,copy,write operations).plz give me details of all posible JCL utilities?

7 Answers   CTS,


The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290

4 Answers   TCS,


How many sections are there in data division?.

10 Answers   Amdocs, TCS,


whats the disadvantage of search all over search?

4 Answers   Patni, TCS,


How to find whether a Flat file is empty or not without Reading a file in COBOL Program. (not using JCL)

9 Answers   Bank Of America,


Whats the difference between search & search ALL?

3 Answers   IBM,


I have a file it contain 10 records.i got abend at 8th record because of soc7.how do you know that perticular record got abend?

3 Answers   IBM,


In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?

5 Answers  


Can anybody give me example of subscript and index

5 Answers  


What is a scope terminator give example?

0 Answers  


What do you feel makes a good program?

2 Answers  


Categories