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

What is the usage of comp fields in cobol?

1222


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1379


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1548


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1205


A table has two indexes defined. Which one will be used by the SEARCH?

1321


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1174


what is difference between cobol and cobol/400

23055


How many bytes S(8) comp field occupy and its maximum value?

2185


What is redefines clause in COBOL?

1340


What is the difference between Global and External Variables?

1429


Discuss about changing dataset name in proc.

1288


Write a program that uses move corresponding.

1201


how do you reference the variable unblock file formats from cobol programs

1373


) How do u handle errors in BMS macro?

2008


What are declaratives and what are their uses in cobol?

1252