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


Please Help Members By Posting Answers For Below Questions

can a indexed file be accessed in arrival sequence in rpg program?

933


define a output queue?

927


what is the maximum number of subroutines allowed in rpg?

1052


what are all the contents of subfile?

983


WHAT IS FERERENTIAL INTRIGRITY ?

1095






In 'o' Specs What Is The Opcode For Write?

694


What is %CHECK?

838


name few ibm supplied libraries?

1202


What is the Difference between command attention key and command function key ?

767


which indicator is used for read?

619


what is the function of crtdupobj command?

1142


writing an sql statement from selecting records from two files using single statement and nested select statement.

633


Explain The Keywords Edtcde & Edtwrd?

827


what are the important factors in error message subfile ?

561


define what a data area is along with a brief example of what it may be used for?

952