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
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 |
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 |
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 |
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 |
What you have to do in the display file when you are using message subfile?
One of the job in subsystem is in Running status,expected time to complete this job is 2 minutes. But from last 5 -10 minutes this job is still in running status....What are the possible reasons...and What are the actions i need to perform to check this...?
What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52
How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?
Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?
Explain mdt?
we are sending data of physical file to screen design and it is showing no record why?
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?
1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?
what is kids-rpg?
Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?