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

How to know whether the module is dynamical or statistical?

1081


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2404


In COBOL, what is the different between index and subscript?

1185


What are the pertinent COBOL

2509


How do you reference the fixed block file formats from cobol programs

1155


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1174


Write a cobol program making use of the redefine clause.

1121


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

1064


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

1521


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2387


What is the difference between PIC 9.99 and PIC9v99?

1279


For rewrite, why is it mandatory that file needs to be opened?

1062


Name the divisions, which are available in a cobol program?

1169


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

1179


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2484