View previous topic :: View next topic
|
Author |
Message |
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
FTPing
Scenario: Load an Dot Net .exe file into MQ series.
Whether it is possible to FTP an .EXE file into mainframe?...
If possible what will the record format and size of the file in the mainframe. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10889 Location: italy
|
|
|
|
Quote: |
Whether it is possible to FTP an .EXE file into mainframe?... |
why would you want to do that ???
a .exe has no meaning for the mainframe |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Requirement is like that. Whether it is possible or not?
Thanks
Regards,
Gnanas |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10889 Location: italy
|
|
|
|
Quote: |
Whether it is possible or not? |
YES IT IS !
if You had replied in a more collaborative way
You could have gotten more useful info ! |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
If you explain the requirement, someone may have a suggestion.
With no more info than
Quote: |
Requirement is like that. Whether it is possible or not? |
to work with, i'll go along with Enrico - yes, it is possible - once on the mainframe, it is a useless clump of "stuff".
I suspect there is a missed communication somewhere - seeing the requirement may help us understand. I also question what business value an ascii .net binary executable would have on the mainframe. |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Hi all,
My requirement is..
I need to get an EXE file from Dot Net to Mainframe(COBOL) through MQ-Series and need to execute the EXE file through COBOL. Can anyone help me in resolving this issue.
And if it possible, what are all the things needed in Mainframes?
Thanks,
Gnanas |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10889 Location: italy
|
|
|
|
Quote: |
My requirement is.. |
I am curious about the reasoning behind this requirement...
as already explained, if You had cared to listen,
a PC executable, has no meaning for ..mainframes..
MQ series like the name says is Message Queuing architecture
with some very sophisticated frills..
unless somebody is tryng to implement some kinf of RPC ...
(remote program calling, schedule on a different comuter a program )
there is a lot of confusion in this requirement |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 631 Location: Wisconsin
|
|
|
|
Quote: |
I need to get an EXE file from Dot Net to Mainframe(COBOL) through MQ-Series and need to execute the EXE file through COBOL. Can anyone help me in resolving this issue.
|
It is impossible to resolve. Microsoft has not released the .Net framework for z/OS. Even if they had there are fundamental architecture difference. ASCII vs EBCDIC, file I/O, etc. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I need to get an EXE file from Dot Net to Mainframe(COBOL) through MQ-Series and need to execute the EXE file through COBOL. Can anyone help me in resolving this issue. |
Who suggested/directed this?
The technology does not exist to do this. . . .
The closest you will probably get is to look at the specifications or the code for the .net code and re-code the functionality on the mainframe.
Depending on what is in the .net code, this may take a long time.
If the business requirement was documented it wouild quite likely be easier to start over and write the needed mainframe code. |
|
Back to top |
|
|
lrawat
New User
Joined: 02 Feb 2008 Posts: 19 Location: usa
|
|
|
|
Don't mind Gnanas, but r u trying to run any virus on mainframe? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
but r u trying to run any virus on mainframe? |
Please clarify this. |
|
Back to top |
|
|
lrawat
New User
Joined: 02 Feb 2008 Posts: 19 Location: usa
|
|
|
|
Gnanas starting this topic with question - "Whether it is possible to FTP an .EXE file into mainframe?... "
normally virus is inducted into any system in the form of .exe file, i don't see any other reason to send .exe file to mainframe.. if you have any idea? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10889 Location: italy
|
|
|
|
"something.exe" is a windows executable...
so moving such a a thing to any other platform will just be interpreted
by the destination system as a sequence of bits without any other implied meaning
as a general point any object can be exchanged between architectures in
store and forward mode, but do not expect to make any use of it
I hope to have been clear |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Gnanas starting this topic with question - "Whether it is possible to FTP an .EXE file into mainframe?... " |
As was mentioned earlier - yes, it is possible to transfer the .exe file. . .
As was also asked earlier - why? It will only be a binary file, not an executable on the mainframe.
Quote: |
normally virus is inducted into any system in the form of .exe file, |
Basically, true only for win-based systems. . . As the mainframe does not know how to launch a file with a .exe extension (yet?), i suspect that there has never been a virus introduced to the mainframe via some win-based executable. |
|
Back to top |
|
|
abhishekmdwivedi
New User
Joined: 22 Aug 2006 Posts: 95 Location: india
|
|
|
|
Well gnanas,
Quote: |
I need to get an EXE file from Dot Net to Mainframe(COBOL) through MQ-Series and need to execute the EXE file through COBOL. Can anyone help me in resolving this issue. |
If you know the windows application architecture you probably would have known the fact that an EXE executable coded in windows application IDE using .NET framework can only be executed if the system have the framework pre-installed. Secondly, mainframes z O/S is not supportive to any such form of code and it's an completely different form of environment.
----------------------------
An .EXE executable program can only be understood by windows and how come a COBOL code can call a executable developed on windows from an mainframe environment.
----------------------------
I think may be near future you may find a bridge between mainframes and windows. And if you want some info. on that then visit :
http://www.microsoft.com/windowsserver/mainframe/default.mspx |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Thank you very much, abhishekmdwivedi. |
|
Back to top |
|
|
|