IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Load an Dot Net exe file into MQ series.


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Nov 15, 2007 5:11 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Nov 15, 2007 5:13 pm
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Sat Nov 17, 2007 1:27 pm
Reply with quote

Requirement is like that. Whether it is possible or not?
Thanks

Regards,
Gnanas
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Sat Nov 17, 2007 1:40 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Nov 18, 2007 2:53 am
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Mon Nov 19, 2007 11:02 am
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Nov 19, 2007 2:23 pm
Reply with quote

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
View user's profile Send private message
stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Mon Nov 19, 2007 7:27 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Nov 19, 2007 8:06 pm
Reply with quote

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
View user's profile Send private message
lrawat

New User


Joined: 02 Feb 2008
Posts: 19
Location: usa

PostPosted: Sun Feb 03, 2008 5:59 am
Reply with quote

Don't mind Gnanas, but r u trying to run any virus on mainframe?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Feb 03, 2008 8:06 am
Reply with quote

Hello,

Quote:
but r u trying to run any virus on mainframe?
Please clarify this.
Back to top
View user's profile Send private message
lrawat

New User


Joined: 02 Feb 2008
Posts: 19
Location: usa

PostPosted: Mon Feb 04, 2008 12:12 am
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Feb 04, 2008 1:02 am
Reply with quote

"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 icon_biggrin.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Feb 04, 2008 2:19 am
Reply with quote

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
View user's profile Send private message
abhishekmdwivedi

New User


Joined: 22 Aug 2006
Posts: 95
Location: india

PostPosted: Mon Feb 04, 2008 3:30 pm
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Mon Feb 04, 2008 3:36 pm
Reply with quote


Thank you very much, abhishekmdwivedi.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Load new table with Old unload - DB2 DB2 6
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top