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 do you specify page overflow indicator for printer files in rpg?
difference between view and index ?
can error messages as a result of a comp, range or values keyword be overridden?
what is the version of os/400 that we have?
how to define to define a hidden filed in dspf ?
what are the different types of arrays available in rpg ?
is there any way to dynamically merge other html scripts into a given html?
WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)
how to define global parameter in ile ?
What Is Ddm ?
What Does Lokup Does In Tables & Arrays?
what is the clp command to access a query/400?
can you specify a display file to be used in the following modes input,output, or combined modes ?
what would be the effect on the field where reverse image, underline and highlight display attributes are active ?
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?