why we use binding directory and service pgm
Answers were Sorted based on User's Feedback
Answer / nikhil
Binding directory is user to bind 1 or more modules into a
program this is purely a concept of ILE. It basically
creats an envlope (*PGM) over different modules
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / pravin
through srvpgm we can use/add modules,srvpgm and bnddir to
a program
through bnddir u can use/add modules and srvpgm to pgm
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / abhay
Binding Directory is use when we physically want to copy
source into PGM at the time of creation.
However if don't, then we use Service Program.
At the time of Invoking the Progrma which is using SRVPGM,
it take signature of that service progrma and use it's
module accordingly.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vaiv20
When U want to use a procedure defined in another module or
service pgm in your pgm. This can be used only in ILE pgms
but not in OPM pgms as per my knowledge
| Is This Answer Correct ? | 2 Yes | 5 No |
How Many Specs Are There In Rpg & Which Are They?
which are the string manipulation opcodes?
What controls which printer a report goes to?
Hi i have one question In my srvpgm one module ADDM is there now i want to add new module i.e SUBM , please answer me IN STEPS how to write bndlanguage and how it was attach to SRVPGM
What is the purpose of FRCDTA (Force Data) keyword?
How can we read file using curser? how to define a curser?
why we use binding directory and service pgm
what are two types of record are used in subfile?
Can be OVRDBF command mentioned after OPNQRYF command in CL?
can you explain the difference between spacea,spaceb,skipa and skipb. I'm new to learning about as400 and printer files. can any one give me an example using source code showing the difference that occurs between using these 4 keywords. A-Physical file PF004 source UNIQUE R RR STUNAM 10 ROLLNU 5 0 MARKS 3 0 SEX 6 K ROLLNU 4 records present in PF004 are STUNAM ROLLNU MARKS SEX KAVYA 12,344 55 FEMALE MADHAVAN 14,579 60 MALE RAMYA 14,785 70 FEMALE KRISHNAN 14,988 72 MALE B-Printer File PRINT1 source A R HEADER A 10 3'STUNAM' A 10 20'ROLLNU' A 10 30'MARKS' A 10 40'SEX' A R DETAIL A SPACEB(1) A STUNAM 10 3 A ROLLNU 5 0 20 A MARKS 3 0 30 A SEX 6 40 A R FOOTER A SPACEB(1) A 20'END OF REPORT' C-RPG/400 Program PRTTPG source FPF004 I F E DISK FPRINT1 O E PRINTER C WRITE HEADER C READ PF004 60 C *IN60 DOWEQ *OFF C WRITE DETAIL C READ PF004 60 C ENDDO C WRITE FOOTER C SETON LR D-spooled file result set Display Spooled File File . . . . . : PRINT1 Page/Line 1/10 Control . . . . . Columns 1 - 130 Find . . . . . . *...+....1....+....2....+....3....+....4....+....5....+.... 6....+....7....+....8....+....9....+....0....+....1....+.... 2....+....3 STUNAM ROLLNU MARKS SEX KAVYA 12344 055 FEMALE MADHAVAN 14579 060 MALE RAMYA 14785 070 FEMALE KRISHNAN 14988 072 MALE END OF REPORT Bottom F3=Exit F12=Cancel F19=Left F20=Right F24=More keys I have changed from SPACEB to SPACEA now in my printer file source E-Changed PRINT1 Source A R HEADER A 10 3'STUNAM' A 10 20'ROLLNU' A 10 30'MARKS' A 10 40'SEX' A R DETAIL A SPACEA(1) A STUNAM 10 3 A ROLLNU 5 0 20 A MARKS 3 0 30 A SEX 6 40 A R FOOTER A SPACEA(1) A 20'END OF REPORT' F-Spooled file Result Set after keyword change Display Spooled File File . . . . . : PRINT1 Page/Line 1/10 Control . . . . . Columns 1 - 130 Find . . . . . . *...+....1....+....2....+....3....+....4....+....5....+.... 6....+....7....+....8....+....9....+....0....+....1....+.... 2....+....3 KAVYAM 12344U 055KS FEMALE MADHAVAN 14579 060 MALE RAMYA 14785 070 FEMALE KRISHNAN 14988 072 MALE END OF REPORT Bottom F3=Exit F12=Cancel F19=Left F20=Right F24=More keys Overprinting not displayed.
what is *inzsr used for?
I have SQLRPGLE program in which there are some update statements which executed correctly. there were no errors run time. Once the program gets over, the file was not updated with the new values. What might be the reason?