Sent too soon...but your call is setup to receive a agent number.
Indicator <> agent number...
From: murali dhar <hydchap1@xxxxxxxxx>
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>,
Date: 04/02/2012 08:30 AM
Subject: procedure question
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
I am trying to replace subroutine &local procedure in my RPGLE program to
create a module. In my RPGLE I have a subroutine and use a local procedure
to return the value
of AgentNmber(AGENOQ). I wrote a module to combine both subroutine and
local procedure into one and trying to return same agent no. I get the
"the type of factor 2 is not the same as as the type of return value of
procedure"" in the code (return AgentNOQ ; ) . Please help to correct the
// local procedure newAgentNumber allocates the next Agent
This mailing list archive is Copyright 1997-2019 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