× 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: SQLRPGLE problem
  • From: tomh@xxxxxxxxx
  • Date: Fri, 3 Aug 2001 06:39:07 -0500


I have an SQLRPGLE service program (snippet follows):


h nomain                                                        
 *************************************************************  
 * Compile instructions:                                     *  
 * Compile using PDM option 15, then                             *  
 * CRTSRVPGM SRVPGM(REDICE/WO11SRVR) EXPORT(*ALL)            *  
 *           TEXT('Service program for Work Order 11')       *  
 *           ACTGRP(*CALLER)                                 *  
 *************************************************************  
                                                               
                                                               
d                 ds                                            
d cm                          8192    inz(*blanks)              
                                                               
 **************************************************************
 *  Prototype for ILE C 'system' command                      *
 **************************************************************
d SystemCmd       pr            10i 0 extproc('system')    
d   cmd                           *   value options(*string
                                                           
                                                           
 /copy qprotosrc,AgeMths                                  
 /copy qprotosrc,IsValidCmp                                
 /copy qprotosrc,RtvChnIdDs                                
 /copy qprotosrc,RtvCmpName                                
 /copy qprotosrc,RtvLocName                                
 /copy qprotosrc,RtvCusName                                
                                                           
d ErrorCode       s              7a   import('_EXCP_MSGID')
d Failed          c                   1                    

The option 15 from the PDM menu works with no errors
When I do the CRTSRVPGM, it fails with the following messages in the joblog:
Definition not found for symbol '_EXCP_MSGID'.
Definition not found for symbol 'system'.    
Service program WO11SRVR not created.        

What am I missing?


Tom Hightower
Solutions, Inc
http://www.simas.com
------------
If Bill Gates had a dime for every time a Windows box crashed... oh, wait - he does.

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.