DIFFERENCE BETWEEN BINDING LANG AND BIND DIR WHEN USING IN
SERVICE PGM...when using binding directory service pgm is
necessary?
Answers were Sorted based on User's Feedback
Answer / syam
Binder Language : Set of commands (STRPGMEXP, EXPORT, and
ENDPGMEXP) to define the signature for a service program.
These commands (source type BND) are not executable.
Binding Directory : An object that contains a list of names
of modules and service programs that the binder may need
when creating an ILE program or service program. A binding
directory is not a repository of the modules and service
programs; instead, it allows the binder to refer to them by
name and type.
Binding : The process of creating a callable program by
packaging ILE modules and resolving symbols passed between
those modules.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / 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 |
what is the difference between seton lr and retrn?
How can we change the uppercase to Lowercase in RPG?
can we retrieve dspf source?
What is Spool file, Why is it required?
what is the version of os/400 that we have?
In which specification can a report layout be defined ?
what opcode could be used to test an alphanumeric field for all numeric values?
under given circumstances, my cgi should link to another site. How to implement this?
what is the purpose of data structure?
i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.
What is the purpose of the following FORDHDR1 CF E WORKSTN $2SFN SFILE FMT2
What are the steps to retrieve the records from Journal file...?