× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: ILE service program questions
  • From: "Stone, Joel" <StoneJ@xxxxxxxxxxxxxxxx>
  • Date: Thu, 13 Jul 2000 17:41:18 -0400

Title: ILE service program questions

I created a module (named TESTMOD) and from that created a SRVPGM (named TESTSRV).  Then I compiled an RPG4 (named mainpgm) which uses a subprocedure in the SVCPGM.

The mainpgm points to a binding directory in the H spec as follows:

H dftactgrp(*no) bnddir('JRSBINDDIR')                              
                                                                   
D loadfield1      PR             6                                 
d  lf_input                     10                                 
                                                                   
D field1          s             10                                 
                                                                   
c                   eval      field1=loadfield1(field1)            
c     field1        dsply                                          
                                                                   
c                   seton                                        lr
                                                                   
                               

When I change the SRVPGM, the mainpgm still runs the old subprocedure.

Here is part of the compile listing of MAINPGM.  It appears that the binding is static, not dynamic.

                 E x t e r n a l   R e f e r e n c e s     
 Statically bound procedures:                              
    Procedure                            References        
    LOADFIELD1                                3       8    

Why is the subprocedure LOADFIELD1 statically bound, and not dynamic??  (Why doesnt it change when I modify the subprocedure and re-create the service pgm)?

All is on OS/400 v4r4.

How can I debug the sub-procedure using STRDBG?

Thanks!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.