Author |
Message
|
jkb |
Posted: Thu Jan 20, 2011 1:22 am Post subject: From win WMB to unix disk |
|
|
Newbie
Joined: 12 Jun 2009 Posts: 7
|
Hi,
We have WMB 6105 running on windows. We will in a future projekt recieve data from MQ and need to deliver data to unix disk. I know it is possible to do it with FileOutPut node using the FTP option. Is possible to write "more directly" to a unix disk from win WMB without using FTP?
Thanx
Jakob |
|
Back to top |
|
 |
zpat |
Posted: Thu Jan 20, 2011 1:26 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Yes, FTP is just one option for FileOutput. You can write to locally accessible filesystems (or drives in windows terms).
However I would caution against setting up NFS mounts and writing to them as it represents a form of tight coupling to the broker that is best avoided (in my view) in favour of using SFTP.
This is especially true over diverse platforms. |
|
Back to top |
|
 |
jkb |
Posted: Thu Jan 20, 2011 1:49 am Post subject: |
|
|
Newbie
Joined: 12 Jun 2009 Posts: 7
|
Thanks for your reply. I will use your point about tight coupling when we design the solution
Jakob |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jan 20, 2011 4:30 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Broker v7 has MQFTE nodes... you could use MQ FileTransfer edition instead of FTP....
 |
|
Back to top |
|
 |
lancelotlinc |
Posted: Thu Jan 20, 2011 5:03 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
Also, you may think about writing a simple MQ program that would run on the Unix side if you have an MQ QMGR there. Depending on the data, you may not need to write any code, as you could use amsmqget sample and pipe the output to a disk file using some creative scripting techniques. Otherwise a simple 30 lines of code would do the trick. _________________ http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Jan 20, 2011 6:20 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
Always remembering that the AMQSGET sample had a hard coded buffer length of 100 bytes
AND
There is a 'C' Compiler available for the Unix system.
AND
the PHB's will let a homegrown executable anywhere near their precious production platform.. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
zpat |
Posted: Thu Jan 20, 2011 8:13 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
lancelotlinc wrote: |
Also, you may think about writing a simple MQ program that would run on the Unix side if you have an MQ QMGR there. Depending on the data, you may not need to write any code, as you could use amsmqget sample and pipe the output to a disk file using some creative scripting techniques. Otherwise a simple 30 lines of code would do the trick. |
The support pac MA01 would be much better (the Q program). |
|
Back to top |
|
 |
|