for both statements return the same error:
SQL1.ExecNonQuery ("{{CALL PGM(V82ZATOO/SFCZ57B2)}}")
SQL1.ExecQuery ("{{CALL PGM(V82ZATOO/SFCZ57B2)}}")
Waiting for debugger to connect...
Program started.
true
Error occurred on line: 73 (Main)
java.sql.SQLSyntaxErrorException: [SQL0206] Colonna o variabile globale V82ZATOO non trovata.
at com.ibm.as400.access.JDError.createSQLExceptionSubClass(JDError.java:782)
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:661)
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:631)
at com.ibm.as400.access.AS400JDBCStatement.commonPrepare(AS400JDBCStatement.java:1401)
at com.ibm.as400.access.AS400JDBCStatement.execute(AS400JDBCStatement.java:1755)
at anywheresoftware.b4j.objects.SQL.ExecNonQuery(SQL.java:148)
at b4j.example.main._button1_action(main.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:612)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:226)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:90)
at anywheresoftware.b4a.BA$2.run(BA.java:165)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
at java.lang.Thread.run(Thread.java:745)
I also found this documentation, if it may be helpful:
http://www.ibm.com/support/knowledgecenter/en/ssw_ibm_i_71/rzahh/pgmc.htm