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
what is elastic and non elastic subrile?
Can you summarize the steps I have to go through in writing my first cgi?
what is the maximum number of subfiles that can specified in a display file ?
is it there an easy way to determine if an html section is available to issue a wrtsection upon?
define data structure?
what is *inzsr used for?
where can you specify an indicator in lokup operation?
What is the default access path of a file?
how you will know whether you are in sfldrop or sflfold mode?
What are the record format field mapping options in cpyf?
What Is The Error If We Don't Get Login Screen?
how to write code for singlepage in sqlrpgle with update ?
what is sflrolval?
what is the function of rlu ?
define subsystem?