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 are the different opcodes used for file operation on a subfile in a rpg pgm?
What Does Lokup Does In Tables & Arrays?
what does opcode post do ?
a multiple format logical file is also known as?
What is the draw back of Procedures? why we are going to Modules?
how you will find an error which is not in the first page of the subfile without using rolldown key?
what is the maximum number of subfiles that can specified in a display file ?
why is the declare cursor statement is used for?
Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out
which cl command can be used at program execution to redirect the file named in an rpg program?
why do we use readc? What is sflnxtchg?
how can you detect overflow for a print program that prints multiple lines per cycle?
what is service program?
how can I control from my cgis the cache of a remote browser?
what is the sequence when using cursor?