Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Returning a record to a calling pgm using post_event
I have reason to change a use of end_dialog to post_event. According to documentation, up to 20 params can be passed. I'm passing a single @fm-delimited record:
"post_event(winid,'CLOSE',pseudo)", getting the error:
"ENG0711: PS_EXEC_METHOD, line 1. Too many parameters passed to procedure RUN_EVENT."
"post_event(winid,'CLOSE',pseudo)", getting the error:
"ENG0711: PS_EXEC_METHOD, line 1. Too many parameters passed to procedure RUN_EVENT."

Comments
CLOSE(ctrlentID, ctrlclassID, cancelflag)
it must be referinfering to your @fm string
As Barry noted, the extra parameter for the CLOSE event is for cancelflag, which is just a Boolean flag. Are you attempting to pass back a bunch of data to the caller since you cannot do so via the End_Dialog routine?