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

What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

7 Answers   T systems,


What does the INITIALIZE verb do?

1 Answers  


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

2 Answers   IBM, Wipro,


What is the difference between comp and comp-3 usage?

0 Answers  


I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

2 Answers   L&T,


how do u link sub pgm to main pgm ?

2 Answers   TCS,


Can we move X(9) to 9(9). If yes what are the ways for doing this?

3 Answers  


wht do u mean by (*,intrdr) wht is * used for ?

2 Answers  


How include time & date in the report generation in cobol programing?

2 Answers  


in the TIME parameter we r giving hours r minutes

4 Answers   IBM,


Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.

1 Answers  


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

0 Answers   iNautix,


Categories