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


If a sub program is called from mainprogram.I have opened
cursor in main program and Fetch the result in
subprogram ,Is it possible ?If yes please tell me the
reason.



If a sub program is called from mainprogram.I have opened cursor in main program and Fetch the res..

Answer / shruti

The scope of cursor-name is the source program in which it is defined; that is, the application program submitted to the precompiler. Thus, you can only refer to a cursor by statements that are precompiled with the cursor declaration. For example, a COBOL program called from another program cannot use a cursor that was opened by the calling program

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More COBOL Interview Questions

What guidelines should be followed to write a structured cobol prgm?

0 Answers  


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?

0 Answers  


What is XDC ?

3 Answers   Cap Gemini, IBM,


How is sign stored in a comp-3 field?

7 Answers  


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

0 Answers  


what is internal sort and external sort ? which is preferable ?

2 Answers   TCS,


Name the sections present in data division.

0 Answers  


how to change picture class of copy book variable inside program?

2 Answers  


What is Control Break processing ?

1 Answers   iGate,


i want to store 20 digits . h will u do it in cobol ?

4 Answers   TCS,


01 a pic s9(5) value '-12345' how it will be stored

7 Answers   ACS,


If my program receives input feed from program in other system.. if the receiving field size is less than the sending field.. what abend will be happening.

1 Answers   HCL,


Categories