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
Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.
how can I tell when to replace the array?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
What is the purpose of record level identifier?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
What is file identifier where we can use?
How can we override a file during runtime in rpg?
can you debug ile rpg program using isdb?
how does the rpg element work?
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...........
What is a record lock error?
what do you mean by an input subfile, what are the keywords required?
Interviewer asked me write down DDS for load all subfile .can anybody write dds