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

what is the function of rlu ?

997


how you will find an error which is not in the first page of the subfile without using rolldown key?

567


What is the draw back of Procedures? why we are going to Modules?

1234


what is the difference between *like and *namvar ?

1575


under given circumstances, my cgi should link to another site. How to implement this?

586






Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?

621


a multiple format logical file is also known as?

603


how many types of display are available on as/400 for user interaction?

644


what is the sequence when using cursor?

611


What Is The Purpose Of The "n" In The Following Calculation Specification?

681


where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?

1126


how can you check for a records existence without causing and i/o (chain/read)?

1308


what is the difference between sflclr and sflinz?

1049


what is the command used to invoke rlu ?

1184


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.

2272