Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Load an Dot Net exe file into MQ series.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
Gnanas N

Active Member


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

PostPosted: Thu Nov 15, 2007 5:11 pm    Post subject: Load an Dot Net exe file into MQ series.
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Thu Nov 15, 2007 5:13 pm    Post subject: Reply to: Load an Dot Net exe file into MQ series.
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: 785
Location: Chennai, India

PostPosted: Sat Nov 17, 2007 1:27 pm    Post subject: Reply to: Load an Dot Net exe file into MQ series.
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Sat Nov 17, 2007 1:40 pm    Post subject: Reply to: Load an Dot Net exe file into MQ series.
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

Site Director


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

PostPosted: Sun Nov 18, 2007 2:53 am    Post subject:
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: 785
Location: Chennai, India

PostPosted: Mon Nov 19, 2007 11:02 am    Post subject: Reply to: Load an Dot Net exe file into MQ series.
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Mon Nov 19, 2007 2:23 pm    Post subject: Reply to: Load an Dot Net exe file into MQ series.
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    Post subject:
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

Site Director


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

PostPosted: Mon Nov 19, 2007 8:06 pm    Post subject:
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    Post subject: Load an Dot Net exe file into MQ series.
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

Site Director


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

PostPosted: Sun Feb 03, 2008 8:06 am    Post subject:
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    Post subject: hello
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10203
Location: italy

PostPosted: Mon Feb 04, 2008 1:02 am    Post subject: Reply to: Load an Dot Net exe file into MQ series.
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

Site Director


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

PostPosted: Mon Feb 04, 2008 2:19 am    Post subject:
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    Post subject:
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: 785
Location: Chennai, India

PostPosted: Mon Feb 04, 2008 3:36 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us