|
I am once again missing the boat... This procedure works in rpg, but not cl... The procedure AUTOF is contained in my service program, binding directory... I think it's the way something is defined in the prototype? Any ideas?
You can solve the problem in two ways:
D AUTOF PI 1A EXTPROC(*CL: 'AUTOF')
D InUsrId 10A
D InApp 2A DCL VAR(&AUTH) TYPE(*CHAR) LEN(2) /* Use LEN=2 */
CALLPRC PRC(AUTOF) PARM(&USER &APPL) RTNVAL(&AUTH) IF (%SST(&AUTH 1 1) *EQ 'Y') DO
/* hooray! */
ENDDOGood Luck
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.