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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to call one program from another program in RPG? please help me with the code

1273


How can we override a file during runtime in rpg?

699


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1907


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1330


what is program status data structure?

1419






How Chain operation copies the record's data to the input buffer for the program?

1096


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3305


What is the difference between iter and do?

691


are there any useful c runtime apis that I can call from rpg iv?

713


what are the key words you must use when using a subfile?

702


what is an online rpg?

748


how do I preserve and clean the array?

685


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1032


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

733


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

789