I have a simple RPG IV program, keeping count of bad records found. At the end, I want to return that COUNT # to the calling CL program
Gives me an error. IBM Document says to put the variable in Factor 2.
"...An operand must not be specified for a procedure that does not return a value. "
EDIT....Nevermind……….I realize I can just use *ENTRY PLIST in the RPG and it will return to the CL
Code:
C ADD 1 COUNT 5 0 ….. ….. CLR RETURN COUNT
"...An operand must not be specified for a procedure that does not return a value. "
EDIT....Nevermind……….I realize I can just use *ENTRY PLIST in the RPG and it will return to the CL
Comment