Hi Team,
i need a help in workaround for a requirement where i have to invoke a java jar file from Mainframe using jcl
requirement is to invoke jar file , also if possible passing arguments thorugh JCL and then whatever the result is to copy into mainframe datasets in next step.
what i teh required enviorenment set up or class i would require to call the java jar file.
Also how to get started and pre-reequisites for this requirement. If anyone here can just give me a reference code and explanation on it.
Thanks,
FelDNY
Ivoking JAVA JAR file from Mainframe ZOS
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Ivoking JAVA JAR file from Mainframe ZOS
IBM Redbooks are the most useful source of information for such queries
a staring point would be a google search with
also googling with something like
will return quite a bit of informations
a staring point would be a google search with
ibm redbooks java
also googling with something like
zos executing a jar container from jcl
will return quite a bit of informations
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Posts: 4
- Joined: Thu Mar 11, 2021 10:53 am
- Skillset: COBOL,JCL,VSAM,DB2,Stream weaver
- Referer: I am an IBM EMployee
Re: Ivoking JAVA JAR file from Mainframe ZOS
enrico-sorichetti wrote:IBM Redbooks are the most useful source of information for such queries
a staring point would be a google search withibm redbooks java
also googling with something likezos executing a jar container from jcl
will return quite a bit of informations
f: THANKS !
m trying to use BPXBATCH utility , invoking jar via shell, how do i get in Zos unix framework
i tried entering OMVS at beginning but no luck .
i need to create a STDOUT file in the BPXBATCH step, m stuck here. How do i create path?
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Ivoking JAVA JAR file from Mainframe ZOS
topic moved where it belongs 

cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Posts: 4
- Joined: Thu Mar 11, 2021 10:53 am
- Skillset: COBOL,JCL,VSAM,DB2,Stream weaver
- Referer: I am an IBM EMployee
Re: Ivoking JAVA JAR file from Mainframe ZOS
enrico-sorichetti wrote:topic moved where it belongs
F: can you help in here? what i am missng on .
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Ivoking JAVA JAR file from Mainframe ZOS
You posted originally in the Forum rules section
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Ivoking JAVA JAR file from Mainframe ZOS
what happened when you googled with
I got many links that answered your question
for example https://www.ibm.com/developerworks/syst ... atchz.html
up to you to investigate further
"zos icl example to run java jar"
I got many links that answered your question
for example https://www.ibm.com/developerworks/syst ... atchz.html
up to you to investigate further
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Posts: 4
- Joined: Thu Mar 11, 2021 10:53 am
- Skillset: COBOL,JCL,VSAM,DB2,Stream weaver
- Referer: I am an IBM EMployee
Re: Ivoking JAVA JAR file from Mainframe ZOS
enrico-sorichetti wrote:what happened when you googled with"zos icl example to run java jar"
I got many links that answered your question
for example https://www.ibm.com/developerworks/syst ... atchz.html
up to you to investigate further
F:
i tried and created JCL using utility, i am facing one issue, wile executing the script which calls the jar file
java.sh
java -jar /tmp/java-test.jar
error in spool:
.¦/./..¦/...._..¦/./......¦/.: /tmp/javarun.sh 1: FSUM7351 not found
can you please guide what parameter i need to change.
-
- Global moderator
- Posts: 3006
- Joined: Fri Apr 18, 2008 11:25 pm
- Skillset: tso,rexx,assembler,pl/i,storage,mvs,os/390,z/os,
- Referer: www.ibmmainframes.com
Re: Ivoking JAVA JAR file from Mainframe ZOS
the message hints that something was not found
time to get your support involved
we do not belong to your organisation and we do not know your setup
time to get your support involved
we do not belong to your organisation and we do not know your setup
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2
- 4014
-
by zbius
View the latest post
Wed Nov 06, 2024 2:16 pm
-
-
transferring file from pc to mainframe pds member
by valeca » Wed Sep 28, 2022 3:42 am » in TSO & ISPF - 5
- 3350
-
by Pedro
View the latest post
Thu Sep 29, 2022 12:11 am
-
-
- 1
- 2884
-
by Robert Sample
View the latest post
Sun Feb 20, 2022 8:04 pm
-
- 1
- 1338
-
by jcdm
View the latest post
Mon Oct 24, 2022 6:10 pm
-
-
Doubt about run Java into IMS and scheduling steps
by jcdm » Wed Nov 22, 2023 6:32 pm » in IMS DB/DC - 1
- 3585
-
by sergeyken
View the latest post
Wed Nov 22, 2023 8:24 pm
-