No such Method error when using call...using [message #891704] |
Mon, 25 June 2012 14:33 |
Steve Doody Messages: 4 Registered: June 2012 |
Junior Member |
|
|
Hi,
I've been following an example from Joe Pluta on calling QCMDEXC from EGL.
I've set up a connection to my IBM i as a resource binding in the DD.
I've got the following code in the EGL program:
program callQCMDEXC
MyI IBMiConnection? { @Resource };
function main()
command string = "SNDMSG 'TEST' LOGICAAPS";
call this.QCMDEXC(command, characterLen(clip(command))) using MyI;
end
function QCMDEXC(input string in, length decimal(15,5) in)
{
@IBMiProgram {
programName = "QCMDEXC",
libraryName = "/QSYS.LIB",
parameterAnnotations = [
@AS400Text {length = 80},
@AS400PackedDecimal {}
]
}
}
end
end
The call..using statement is highlighted as an error. The error message is:
IWN.JavascriptGen.9998.e 11/161 Exception occurred: No such method genStatementBody(org.eclipse.edt.mof.eglx.jtopen.impl.IBMiCallStatementImpl,
org.eclipse.edt.gen.javascript.Context, org.eclipse.edt.mof.codegen.api.TabbedWriter, ) for any template for Class org.eclipse.edt.mof.eglx.jtopen.impl.IBMiCallStatementImpl
My EDT version numbers are:
Eclipse IDE for EGL Web Developers - 0.8.0
EDT IBM i support - 0.8.1
EGL Web Developer Tools - 0.8.1
EGL Web Developer Tools Source Code - 0.8.1
EGL Web Developer Tools with Source Code - 0.8.1
Has anyone come across this error before and what would I need to do to correct it?
Thanks
Steve
|
|
|
|
Powered by
FUDForum. Page generated in 0.02971 seconds