I'm getting return code 292 when I run C$JAVA with op-code CJAVA-CALLSTATIC. Has anyone already saw this error before? Tks.
Page 1 / 1
I'm getting return code 292 when I run C$JAVA with op-code CJAVA-CALLSTATIC. Has anyone already saw this error before? Tks.
I'm getting return code 292 when I run C$JAVA with op-code CJAVA-CALLSTATIC. Has anyone already saw this error before? Tks.
I created a Java class API that returns a string of installed certificates separated by ";". This api works fine. In Acucobol I created a paragraph for execute the C$JAVA with the appropriate values (see the paragraph below) and get the return value into a COBOL string variable (info variable PIC X(5000)). After that I'll populate a Acucobol list box with this variable contents. I thought in split it directly in list box when find ";" character, but I accpect sugestions.
However, when I perform this paragraph, I get the code 292 into STATUS-VAL variable and I don't know from where this return code comes.
seleciona-rotulo-certificado.
CALL "C$JAVA"
USING CJAVA-CALLSTATIC,
"br/com/javac/util/CertificadoDigital",
"listaInformacoesCertificados",
"(X)X",
DIR-XML-PAR OF ARQPAR,
info
GIVING STATUS-VAL
IF STATUS-VAL = 0 THEN
DISPLAY MESSAGE BOX "A lista de certificados instalados f
- "oi gerada no arquivo de log."
TITLE IS "NFe" TYPE IS MB-OK ICON
IS MB-DEFAULT-ICON
ELSE
DISPLAY MESSAGE BOX "Erro " STATUS-VAL
TITLE IS "NFe" TYPE IS MB-OK ICON
IS MB-ERROR-ICON
END-IF
.
Can you help me?
Carlos
PS: Sorry my English
I'm getting return code 292 when I run C$JAVA with op-code CJAVA-CALLSTATIC. Has anyone already saw this error before? Tks.
I'm getting return code 292 when I run C$JAVA with op-code CJAVA-CALLSTATIC. Has anyone already saw this error before? Tks.
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.