Author |
Message
|
krypton |
Posted: Tue Sep 13, 2016 12:12 pm Post subject: FileOutputNode for writing the file to Mainframe file system |
|
|
 Disciple
Joined: 14 Mar 2010 Posts: 186
|
Hi All,
we have a requirement where we need to write the File from UNIX system to IBM Mainframe system using FileOutput Node in IIB.
we are wondering whether it is doable and does any extra setup (beside Write access) is required at IBM Mainframe end so that we can send file from UNIX (IIB) to Mainframe system.
Thank you all in advance!
 _________________ Dreams are not something which you watch when you are asleep,it is something which doesn't let you sleep. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 14, 2016 3:50 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
File? What is a file?
Use an MQ Queue.
Talk to your zedOS admins to find out what can be done to mount file systems. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Wed Sep 14, 2016 5:00 am Post subject: Re: FileOutputNode for writing the file to Mainframe file sy |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
krypton wrote: |
we are wondering whether it is doable and does any extra setup (beside Write access) is required at IBM Mainframe end so that we can send file from UNIX (IIB) to Mainframe system. |
- ask a z/OS sys prog for "write access" and he'll either look at you funny or laugh in your face, then ask what level of RACF authority you mean;
- how do you plan to map UNIX user ids into z/OS ids to get the access once they've set up the RACF rules;
- I'm not aware of any way to directly mount DASD onto any kind of distributed file system (which is not to say there isn't one) but do wonder how a non-hierarchical file system like DASD would relate to the hierarchical one UNIX uses;
- if your z/OS system still has USS running then ask why, and then see if you can mount that to UNIX. But USS is old technology and a bit flakey to rely on for a live system.
You're much better off writing the file out to the IIB Unix file system and getting whatever your site currently uses to move files on to and off z/OS to move it.
Or use MQ as my most worthy associate suggests. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Wed Sep 14, 2016 8:35 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Select the FTP or SFTP option on the fileoutput node.
z/OS supports FTP or SFTP assuming it's enabled. Test out a file transfer using another program like winscp first and then set the values needed in the file node FTP tab.
You don't really want to try to directly write to mainframe disk storage - it may be possible but why make life hard?
Think about ASCII vs EBCDIC issues and choose the correct FTP options.
Configure these FTP values in a Broker FTP configurable service for best practice. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Sep 14, 2016 8:53 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
zpat wrote: |
z/OS supports FTP or SFTP assuming it's enabled. |
Heresy! Burn him! Burn him!
We don't have no stinkin' FTP servers running on z/OS......
Still, if the OP has asked the sys progs for "write access" in RACF, they'll probably be laughing hard enough for the OP to get a good head start after he asks for an open FTP service.
Probably make it out. Maybe not.....
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 14, 2016 8:57 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
OOOooo.
Maybe you could use the CICS nodes to invoke a CICS transaction that will write the data to a file....
(or just call the right thing that needs to process the data... )  _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
Vitor |
Posted: Wed Sep 14, 2016 9:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
Maybe you could use the CICS nodes to invoke a CICS transaction that will write the data to a file.... |
You could.
If the data was a significant size, you could start getting contact admin from the CICS people. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|