DIFFERENCE BETWEEN BINDING LANG AND BIND DIR WHEN USING IN
SERVICE PGM...when using binding directory service pgm is
necessary?

Answer Posted / sumit gupta

Binding Language concept is involved in Service program.
This is used when we export procedures and attach when we
create service program or when update service program.
Binding language contains certain keywords like STRPGMEXP,
ENDPGMEXP, EXPORT
STRPGMEXP is used when signature is hardcoded or *current
or *previous is specified on PGMLVL.
ENDPGMEXP is used to end the STRPGMEXP
EXPORT is used to export the symbolic name of module
(procedure)

Binding directory is used to to attach many modules and
service program.

It depends whether service program is neccessary or not, if
your binding directory contains all the procedures which
are also present in service program then no need to using
service program.


Cheers

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code?

3064


http default port 80 is used by some other production http service. How can I create an http instance on another port to run cgidev2 and my future cgi developments?

584


if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?

1002


what is the favicon.ico request that my site receives now and then?

629


What Is The Purpose Of The "n" In The Following Calculation Specification?

668






what is sflinz and sflrna?

1013


WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?

2035


how can you detect overflow for a print program that prints multiple lines per cycle?

960


can we define multi-dimensional arrays in rpg ?

931


is there any way I can ease my rpg controls on numeric input fields? How about an input date field?

608


how to define global parameter in ile ?

629


what are various techniques to pass parameters from one program to another?

1038


how to run other job when one job is active?

599


how may a cgi control duplicate inputs?

597


Write a CL program which will run a batch job at 1 am every night

670