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


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

Answers were Sorted based on User's Feedback



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

Answer / srini

once srini here ,see above i send for diff b/e srvpgm &
bnddir ok
now ,see diff b/w srvpgm & binding
1) binding means physicaly module copy into main pgm,this
process is bind by value.
step1:CRTPGM +f4 pgmname/lib
module1/lib
module2/lib...so on +enter.
pgm is created.

2)srvpgm means ,physicaly module are not copy into main
pgm,this process is bind by refference.(i.e ,we call main
PGM ,it will call srvpgm and reffer the module)

step1:CRTSRVPGM +f4 SRVpgmname(any name)/lib
module1/lib
module2/lib...so on +enter.
srvpgm is created.

step2:CRTPGM +f4 pgmname/lib
+f10(page down)
bindsrvpgm...>srvpgmname/lib +enter.

PGM is created.

ok, thna"q" pls rong correct me. bye...

Is This Answer Correct ?    13 Yes 0 No

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

Answer / manikandan s.k.

Hi Binding directory is nothing collection of service
programs/Module.
service program only contains the procedure and its going
to be refered at runtime.
suppose the program 'A' has using 2 service programs s1,s2
and one module m1.
you can include these 2 serive programs and one module in
one binding directory(BD1).
that is BD1 now contains s1,s2,M1. so instead of include
all the objects s1,s2,m1 you can refer/include the
directory name.

have to declare the binding directory name in the Hspec or
module creation time .

Is This Answer Correct ?    5 Yes 0 No

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

Answer / pramod & remya

Service program-These are pgms that holds the modules that
we frequently used in a pgm. ie, we need to bind this
service pgm with a pgm in order to work with the modules in
it. now we can call the modules by using callb. Service pgms
are not work independently. Service pgms provides services
to another pgm or modules when needed.all the modules in the
service pgm exists in the same activation group.

Binding directory- it used to increase system performance
.Instead of searching in all libraries,the ile compiler
check the existence of object in binding directory.If it
will not find the obj in binding directoy, it will search in
other lib list.

Is This Answer Correct ?    5 Yes 2 No

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

Answer / srini

HI,this is srini,
i am giving one point above Q's

SRVPGM:it is nothig but collection of module's.we con't ADD
module to this srvpgm.

BNDDIR:it is collection/index of modules. here we can ADD
module to BNDDIR.(by using BNDDIRE go thire see opton's)

pls ,if rong correct me.

Is This Answer Correct ?    7 Yes 8 No

Post New Answer

More RPG400 Interview Questions

Why did we give STRSRVJOB while debugging batch program

3 Answers   HBL Power Systems,


3 members in databasefile .how to read records from all the members??

6 Answers   CTS,


1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??

2 Answers  


what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?

3 Answers  


What will be the value of STRING after line 0106 is executed in the code below? 0101 E* Fromfiletofile..tabnameprnentlenpdatabnamlenpda 0102 E ARR 8 1 0103 ISTRING DS 0104 I 1 8 ARR 0105 C MOVE *BLANK STRING 0106 C MOVEA'ABC' ARR A) 'AAAAAAAA' B) 'BBBBBBBB' C) 'CCCCCCCC' D) 'ABC ' E) ' ABC'

2 Answers  


how do I declare a table or array in rpg iv?

0 Answers   IBM,


can we perform CHAIN operation on Subfile record format....?

4 Answers  


Suppose my file has 10 fields and I want to make the 2nd field zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation?

1 Answers  


what is the necessary command needed before OPNQRYF and why?

5 Answers  


Maximum how many files declare in rpgle

3 Answers   TCS,


can i use unique key in LF

3 Answers   TCS,


As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks

5 Answers   CTS,


Categories