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


Can anybody tell me in which scenario we have to use
SQLRPG .(Embeded SQL)....?

Answers were Sorted based on User's Feedback



Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?..

Answer / syam

1. You can select some data from a big Physical File and
Fetch that data
2. You can get Grand Total from a Physical File field
beginning of the RPG program
3. You can serch a value from a PF field

Is This Answer Correct ?    7 Yes 1 No

Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?..

Answer / zhang

use SQLRPG is not a good idea, cause it will make your
system slowdown.
but sometimes we have to use it, such like we need provide
a compound query to custom, they have some searching
condition(they can be input together or only input one of
them), and we don't know which condition will entered, in
this scenario we can't make a logical file for this query,
so we have to use SQL sentence to searching it. we can
compose a complex "WHERE " clause.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More RPG400 Interview Questions

Can we found a record existance in a file w/o reading the file?

6 Answers   Traitsys Technologies,


Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.

6 Answers  


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

0 Answers  


What is the significance of UDATE?

5 Answers   IBM,


what do you mean by an input subfile, what are the keywords required?

0 Answers   IBM,


how can I tell when to replace the array?

0 Answers   IBM,


two types of read performed in dataqueue?????

4 Answers   CTS,


Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?

0 Answers  


how can we can we the data decimal error?how can we open such file in support

1 Answers  


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

0 Answers  


1.what are the ARITHMETIC EXPRESSIONS IN CL PGM? 2.How to PASSING PARAMETER TO CL PGM?

1 Answers   NetCracker,


please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?

4 Answers   HCL,


Categories