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


Please Help Members By Posting Answers For Below Questions

what are necessary keywords to code message subfile?

1033


What Is Default Data Type (if You Define Decimals '0') In Physical File?

1151


how will you display a particular page in subfile ?

1054


which are the string manipulation opcodes?

633


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

1158






how can you check for a records existence without causing and i/o (chain/read)?

1296


under given circumstances, my cgi should link to another site. How to implement this?

579


What Is The Difference Between Goto & Exsr?

1175


How Many Specs Are There In Rpg & Which Are They?

686


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?

713


what is scan and xlate?

1091


What is the default access path of a file?

589


in which specification the report layout can be defined?

982


WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?

2037


what is the necessary keyword for non-join logical file?

1176