View previous topic :: View next topic |
Author |
Message |
Badri2016 Beginner
Joined: 05 Jul 2016 Posts: 3 Topics: 1
|
Posted: Mon Jul 11, 2016 8:25 am Post subject: Mainframe and Java |
|
|
Hi Team, Request your help. I have Mainframe dataset. I have to send this dataset to Unix directory and then a Java program will process that dataset (or a file as called in Unix) and send backt the processed file from Unix back to Mainframe as dataset. NDM would be a easy way but we wanted to avoid NDM. I tried to do OCOPY(OMVS) to copy the file to Z/os Unix (still not succesfful with JCL) but then the Java program is outside Mainframe. Could you help me how to achive this. Thank you Badri. _________________ Thank you, Badri |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Mon Jul 11, 2016 10:40 am Post subject: |
|
|
Badri2016,
There are couple of ways you can send the file to unix server and receive it back
1. Use SMTP
2. Use FTP to send the file to unix and receive it back _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Badri2016 Beginner
Joined: 05 Jul 2016 Posts: 3 Topics: 1
|
Posted: Tue Jul 12, 2016 8:23 am Post subject: |
|
|
Hi Kolusu, Thank you, yes we can use SMTP or FTP. But it we use it in our case then we have to make changes to our proc create job dependencies and i have move lot of steps to another proc. Hence wanted to check with your group to see if there is anyother method to call or connnect to Java program in Unix outside Mainframe. Kindly request you to let me know if any such method. Thank you. _________________ Thank you, Badri |
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue Jul 12, 2016 9:08 am Post subject: |
|
|
Part of the process of implementing new stuff is to adapt old stuff to match the requirement. So what is the problem? If this moving of steps was not in the plan simply add a task to cater for it and then do the necessary. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Tue Jul 12, 2016 12:11 pm Post subject: |
|
|
Badri2016 wrote: | Hi Kolusu, Thank you, yes we can use SMTP or FTP. But it we use it in our case then we have to make changes to our proc create job dependencies and i have move lot of steps to another proc. Hence wanted to check with your group to see if there is anyother method to call or connnect to Java program in Unix outside Mainframe. Kindly request you to let me know if any such method. Thank you. |
Badri2016,
huh? You don't want to send the file to the PC side where the JAVA program resides but you want the java executed? If you cannot send the file, then how about bringing in the JAVA class file to mainframe? You do realize that COBOL can now invoke JAVA directly on the mainframe?
Here is an example
http://www.ibm.com/support/docview.wss?uid=swg27020750 _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Badri2016 Beginner
Joined: 05 Jul 2016 Posts: 3 Topics: 1
|
Posted: Thu Jul 21, 2016 2:07 am Post subject: |
|
|
Hi Kolusu, I want to send the file to Java and get it processed. We are trying out initial method NDM. Thank you a lot ! _________________ Thank you, Badri |
|
Back to top |
|
|
|
|