I'm importing asjava.uniobjects.*;
asjava.uniclientlibs.*;
I'm learning this whole Java language, so I am very new to it. I tried using the perform in a pic program and then use
UniSubroutine getemailAddress = uSession.subroutine("GETEMAIL", 3);
try {
getemailAddress.setArg(0, STMT);
getemailAddress.setArg(1, user);<---this was assigned when they login
getemailAddress.setArg(2, RESULT);
getemailAddress.call();
EMAILADDRESS = getemailAddress.getArg(2);
} catch (UniSubroutineException e) {
return valid;
}
to get the results. but I kept getting a you must use caught error. I was wondering if I could just perform the statement via java or whatever the best way to do it is.