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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Discuss about changing dataset name in proc.

1224


When is inspect verb is used in cobol?

1241


What rules are to be followed while using the corresponding options?

1056


What is the difference between goback, stop run and exit program in cobol?

1578


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1156


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

1203


Which division and paragraphs are mandatory for a COBOL program?

1263


Write down the divisions of cobol program?

1237


How to print 10 to 1 if the input have only 10 digit number?

1252


What the difference is between continue and next sentence?

1155


What is link edit in cobol?

1190


What is report-item in COBOL?

1145


What is the difference between PIC 9.99 and 9v99 in COBOL?

1323


Explain about different table spaces.

1087


What are the different types of condition in cobol and write their forms.

1108