|
I am trying to learn procedures and have converted an existing process to use them and I keep running into a problem on the procedure call. My setup is as follows: RPG source#1 is the driving code created as module(using crtrpgmod) RPG source#2 is the procedure portion also created as a module PGM object was created with CRTPGM listing source#1 and source#2 as modules with source#1 being the entry point To here everything works, I get compiled modules and a pgm object. When I issue the strdbg command I can see both modules listed and can set breakpoints accordingly in both modules, everything is good. When I call the pgm again everything is good I enter the first module and can walk through it no problems however when I get to the point of calling the procedure I continually get the following error message: Message . . . . : Cannot resolve to object source#2. Type and Subtype X'0201' Authority X'0000'. Cause . . . . . : Either a system pointer or a data pointer can not be resolved. For a system pointer, it can not be resolved to object source#2, type and subtype X'0201', authorization X'0000', because either the named object was not in any context referred to or the correct object was located but the user profile did not have the required authority. The object types for common type or subtype codes follow:... and do not understand why. Is there something I am missing during pgm creation or something else? Any help is greatly appreciated, thanks in advance. -- Weyco Group - Florsheim, Brass Boot, Nunn Bush, Stacy Adams Duane Kehoe Phone # 414.908.1814 EC / Programmer / Analyst Fax # 414.908.1601 Email: dkehoe@xxxxxxxxxxxxxx
As an Amazon Associate we earn from qualifying purchases.
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.