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
can a indexed file be accessed in arrival sequence in rpg program?
define a output queue?
what is the maximum number of subroutines allowed in rpg?
what are all the contents of subfile?
WHAT IS FERERENTIAL INTRIGRITY ?
In 'o' Specs What Is The Opcode For Write?
What is %CHECK?
name few ibm supplied libraries?
What is the Difference between command attention key and command function key ?
which indicator is used for read?
what is the function of crtdupobj command?
writing an sql statement from selecting records from two files using single statement and nested select statement.
Explain The Keywords Edtcde & Edtwrd?
what are the important factors in error message subfile ?
define what a data area is along with a brief example of what it may be used for?