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 / syam
A service program is a collection of runnable procedures
and available data items easily and directly accessible by
other ILE programs or service programs. In many respects, a
service program is similar to a subroutine library or
procedure library.
Once we have the binder language we want to use in a source
member,it is compiled at the time we create the service
program Create Service Program (CRTSRVPGM).
Binder language is stored in physical file members, like
RPG, CL, and DDS source code.
CUSTPROCS service program Source member type BND
example.
STRPGMEXP PGMLVL(*CURRENT)
EXPORT SYMBOL(GetCustInfo)
EXPORT SYMBOL(SearchByPhone)
EXPORT SYMBOL(ValidCust)
ENDPGMEXP
Signature in Binder
Hard-Coded Signature Values:
One way a hard-coded signature can be used to our advantage
is to put some meaningful information into the signature
for documentation purposes.
for example: the date, the time, or other usefulinformation
about the new version of the service program.
STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('CUSTPROCS19SEP07')
EXPORT SYMBOL(GetCustInfo)
EXPORT SYMBOL(SearchByPhone)
EXPORT SYMBOL(ValidCust)
ENDPGMEXP
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Difference Between Source Physical File & Physical File?
what are the important factors in error message subfile ?
What is binder language ?
what does check opcode do ?
how do you know that records are locked?
How to reverse a string using RPG?
What Is The Purpose Of The "n" In The Following Calculation Specification?
can we use ASCII ,CDUP,SENDPASV commands in SFTP?
in which specification the report layout can be defined?
can you have multiple key lists for a single file ?
define a shared access path?
What Is The Difference Between Goto & Exsr?
how can database records be read without lock ?
when are the referential constraints executed?
hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.