Reusable Server Kernel
Problem 14 (Note): PL/X linkage usage
==================== 1999-03-30 09:34:15 (-05.00) ==================== Name: ** Suppressed ** Company: ** Suppressed ** Telephone: ** Suppressed ** E-mail: ** Suppressed ** Text: When developing RSK-based applications using PL/X, make sure that the service routines are declared to accept the Ptr_to_sblock and Ptr_to_cblock paramaters as BYVALUE and not the default of BYADDR. That is, use the following code fragment: SRVNAME: proc (ptr_to_sblock, ptr_to_cblock) options(........); ....... declare srvname entry(pointer(31) byvalue, pointer(31) byvalue) external as ('SRVNAME'); Otherwise, very unpleaseant things can happen inside your server. :-) This is mention inn the comments in the PL/X code example show in Figure 5 in the User's Guide.
[ Help | Summary | Previous | Next ]