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 are the different opcodes used for file operation on a subfile in a rpg pgm?

1103


What Does Lokup Does In Tables & Arrays?

741


what does opcode post do ?

1102


a multiple format logical file is also known as?

597


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

1232






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

564


what is the maximum number of subfiles that can specified in a display file ?

1055


why is the declare cursor statement is used for?

632


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

2908


which cl command can be used at program execution to redirect the file named in an rpg program?

713


why do we use readc? What is sflnxtchg?

671


how can you detect overflow for a print program that prints multiple lines per cycle?

970


what is service program?

603


how can I control from my cgis the cache of a remote browser?

679


what is the sequence when using cursor?

607