how can a procedure will be added in to a srvpgm

Answer Posted / kapil kumar

UPDSRVPGM add the procedure/module then use the binder
language command as below
STRPGMEXP PGMLVL(*CURRENT)
EXPORT SYMBOL(NewProc)
EXPORT SYMBOL(pgm1)
EXPORT SYMBOL(pgm2)
STRPGMEXP PGMLVL(*PRV)
EXPORT SYMBOL(pgm1)
EXPORT SYMBOL(pgm2)
ENDPGMEXP

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to define to define a hidden filed in dspf ?

900


what are different types of substems?

1497


what are the limitations of cl (compare to rpg) ?

1729


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

1846


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

775






what is externally described file ?

1116


What Does 'sr' In Columns 7-8 Of C Specs Mean?

1200


Difference Between Call & Sbmjob?

901


how to validate input values in display file ?

755


how can I predict the performance of my cgis?

729


What is compiler directive in as400? Give example of compiler directive.?

664


what is the difference between *like and *namvar ?

1791


what is scan and xlate?

1260


A join logical file has how many record formats?

703


define subsystem?

1170