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

How to read records which is in sequential file in reverse order ? Exp. 1 2 3 4 5 . i want 5 4 3 2 1?please clear my doubt any one

10 Answers   IBM,


What is the default value of DISP parameter?

3 Answers   IBM,


What is the use of EVALUATE statement?

4 Answers   Tesco,


what is the meaning of pic 9(09)v99-

4 Answers   HSBC,


When can the USING phrase be included in the call statement ?

2 Answers  


77 I pic 99 value 5 Perorm para-A I times. Para -A. move 10 to I. How many times the para-A will be executed.?

9 Answers   TCS,


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

0 Answers  


Which Search verb is equivalent to PERFORM…VARYING?

0 Answers  


what is meaning by design document? who can repared for this?

5 Answers   TCS,


What is the use of intialize verb?

0 Answers  


what are the steps to sort in a cobol program?

2 Answers   Patni,


in how many mode we can open a file ?

4 Answers  


Categories