Q1. How to use signature in service program and ILE.?
Q2.what is use of signature and binder language and what is
the relation between them?
Answer Posted / reecha
Signature can be said to be do wat the level identifier of
physical file do. It help the programs to know if any
service program is updated or not . As many program would
be using this service Program so compliting all of them is
cumbersome so Binder langanguage provide the solution .
When the program calling the service program is compiled
its stores the signature of the service program . If the
service progranm is changed so does the signature of it.
The work around is the Binder language For eg
STRPGMEXP PGMLVL(*CURRENT)
EXPORT SYMBOL(A)
EXPORT SYMBOL(B)
EXPORT SYMBOL(C)
ENDPGMEXP
if changes r made to Service program(new procedure D is
added0 the Binder language will be :
STRPGMEXP PGMLVL(*CURRENT)
EXPORT SYMBOL(A)
EXPORT SYMBOL(B)
EXPORT SYMBOL(C)
EXPORT SYMBOL(D)
ENDPGMEXP
STRPGMEXP PGMLVL(*PRV)
EXPORT SYMBOL(A)
EXPORT SYMBOL(B)
EXPORT SYMBOL(C)
ENDPGMEXP
now one need not to compile the programs calling service
program & the program will run proeperly as thr will be no
signature violation as the binder language have both
current and previous signature.
| Is This Answer Correct ? | 18 Yes | 0 No |
Post New Answer View All Answers
How Many Specs Are There In Rpg & Which Are They?
under given circumstances, my cgi should link to another site. How to implement this?
what is the maximum number of fields under a record format of physical file?
how to run other job when one job is active?
Which command is used to replace CDUP command in FTP IF i WANT TO USE SFTP?
A join logical file has how many record formats?
in conjunction with what other keyword must ovrdta and ovrata be used?
how many levels are there in a physical file?
which single rpg opcode performs both setll and reade?
How can we change the uppercase to Lowercase in RPG?
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
when would you prefer logical file than opnqryf?
which indicator is used for read?
how does union file maintains record formats?
which cl command can be used at program execution to redirect the file named in an rpg program?