-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Groovy script (using JCLExec) executes with no errors,but job is not getting submitting. #20
Comments
Hi, |
Hi @dajsen Thanks for your response. Yes, what you said about the problem is correct. I referred the link that you shared. From my understanding, the code is in accordance with the document. I cant figure out what the issue is since even the first statement in the code which is a display statement is not working. Thanks. |
You have Java/Groovy installed, right ? /u/xxxx/scripts/./test.sh content of test.sh content of testprint.groovy |
Hi @dajsen Yes we have Java installed. We placed the groovy script on the user path. Is there any specific path to place it? Appreciate your help. |
Before going down the path of enabling all the tracing, can you please check, that you use a Java 8 64 bit? Here is a link to all prereqs: Can you issue groovy --version? DBEHM:/u/dbehm: >/u/dbehm/dbb100/bin/usr/lpp/IBM/dbb_1.0.7/bin/groovyz --version |
Hi @dennis-behm We do have Java 8. Here is the result for the version command: IBMUSER:/VERSYSB/usr/lpp/IBM/dbb/bin: >groovyz --version Hope this will give an idea what is missing. |
@PriyaVP-crypto |
ooops, didn't supply the most critical part of it all. |
Hi, We tried to EXPORT it and got the below response: IBMUSER:/u/ibmuser: >export JAVA_HOME=/usr/lpp/java/J8.0_64 |
Try running this in USS, works for me... Same as the one supplied yesterday, just added DBB_CONF.... And just to be 100% certain that it works I have these imports in the groovy script: |
@PriyaVP-crypto can you check if you are using this path? It can actually be in another directory /usr/lpp/IBM/dbb |
Hi, @dajsen The response of running looks like:
Hi @dennis-behm , the listing of path looks like : IBMUSER:/VERSYSB/usr/lpp/IBM/dbb: >ls |
So still NO OUTPUT ? |
No output.....Even when first line is println.... |
Hi, Where do you keep your shellscript and groovyscript (which folder) ? |
Hi, Sorry for the delayed reply. There is been some installation issues regarding DBB and team is been looking after them. Hopefully all errors will be resolved after the fix. |
@PriyaVP-crypto |
Hi ,
I have created a script to submit a job using JCLExec API, while executing it, it compiles successfully with no error or warning messages. But the job is not getting submitting. Even the display statements in the scripts are not getting displayed.
Attaching the sample code I tried.
SubmitJCL.txt
The text was updated successfully, but these errors were encountered: