0 pts.
 External procedure chain shows %Found but no data returns
RPG
I have created an external procedure in RPGIV Free, with 2 incoming alpha parameters. When chaining to a file for data, the chain presents %Found, but the data are not there. I've looked at the incoming parms in debug, and they are correct. HELP???!!!

Software/Hardware used:
ASKED: May 4, 2005  8:28 AM
UPDATED: May 9, 2005  2:26 AM
  Help
 Approved Answer - Chosen by TomLiotta

Could it be that the names of the parameters match the names of database fields? In that case you created local variables that hide the global variables for the database fields. When you chain, the global fields are updated, but not the local variables.

Joep Beckeringh

ANSWERED:  May 9, 2005  2:26 AM (GMT)  by TomLiotta

 
Other Answers:

during debug and after the chain did you saw the data ?
Where is data missing ? in the procedureitself or in the returned value ?
Can you send the prototype and a piece of your code please ?

Last Wiki Answer Submitted:  May 4, 2005  8:52 am  by  Recuyer   0 pts.
Latest Answer Wiki Contributors:  Recuyer   0 pts.
To see other answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _