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

Delete FileName at first statement in RPG.

1 Answers  


In how many ways a session/device error occurs,,, and what is the remedy for it?

3 Answers  


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

4 Answers   HCL,


What is the difference between RPG/400 and RPG4

1 Answers   HCL,


How to create a key field for a logical file inside RPG?

4 Answers   HSBC,


steps involved in debugging and types of debugging modes?

1 Answers  


Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?

1 Answers  


difference betwen keywords and opcodes

3 Answers  


how do u track msg in cl pgm???

1 Answers   CTS,


The PGMA calls PGMB.PGMB generates a report.The report should contain the called program name(PGMA).How do i get the called program name in PGMB to print it on the spool file?(calling program name should NOT be hard coded or passed as parameter to called program?

6 Answers  


Can you copy the records created by the OPNQRYF to other files and how?

2 Answers  


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

1 Answers   NetCracker,


Categories