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
what is the function of rlu ?
how you will find an error which is not in the first page of the subfile without using rolldown key?
What is the draw back of Procedures? why we are going to Modules?
what is the difference between *like and *namvar ?
under given circumstances, my cgi should link to another site. How to implement this?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?
a multiple format logical file is also known as?
how many types of display are available on as/400 for user interaction?
what is the sequence when using cursor?
What Is The Purpose Of The "n" In The Following Calculation Specification?
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
how can you check for a records existence without causing and i/o (chain/read)?
what is the difference between sflclr and sflinz?
what is the command used to invoke rlu ?
I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.