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 are necessary keywords to code message subfile?
What Is Default Data Type (if You Define Decimals '0') In Physical File?
how will you display a particular page in subfile ?
which are the string manipulation opcodes?
How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz
how can you check for a records existence without causing and i/o (chain/read)?
under given circumstances, my cgi should link to another site. How to implement this?
What Is The Difference Between Goto & Exsr?
How Many Specs Are There In Rpg & Which Are They?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
what is scan and xlate?
What is the default access path of a file?
in which specification the report layout can be defined?
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
what is the necessary keyword for non-join logical file?