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

what is the clp command to access a query/400?

1354


what is the difference between udate and the system date?

1145


what are all the contents of subfile?

984


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

696


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

1285






how to develop some simple graphs (bar charts) using just html?

664


all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?

2407


Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

653


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.

2259


the maximum number of subfiles that can be active for a single file is ____ .

1174


how can I give more performance to some selected pages?

608


which are control break logic indicators?

635


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

1061


. How to know why the OPM job is in MSGWAIT state?..WHAT COULD BE THE REASON FOR it?

7023


how to define global parameter in ile ?

625