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
how many files can be defined in f specs?
how to get the cursor position?
what is externally described file ?
all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?
name few ibm supplied libraries?
when is a tag statement used in rpg?
how do you use commitment control in rpg program ?
how many types of display are available on as/400 for user interaction?
what are the important factors in error message subfile ?
where can you specify an indicator in lokup operation?
hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.
How to convert a spool file to PDF file in AS400?
what key word is used when screen is re-display?
what is the purpose of ovrdta and ovrata keywords ?
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?