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 you will know whether you are in sfldrop or sflfold mode?
if we tried to move year part of *iso date into a field of length 3, what will happen ?
what is message subfile?
what is the maximum number of subfiles that can specified in a display file ?
how do you specify page overflow indicator for printer files in rpg?
what is a primary file?
define subsystem?
what is *inzsr used for?
The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...
define what a data queue is along with a brief example of what it may be used for?
how can database records be read without lock ?
what is the function of cpysplf command?
Difference Between Call & Sbmjob?
what are necessary keywords to code message subfile?
what is the clp command to access a query/400?