RE: [PHP] Accessing Mainframe

2002-03-05 Thread Dan Vande More

http://www.e-gineer.com/instructions/installing-ibm-db2-for-php4x-with-apach
e13x-on-linux.phtml
I used this, and currently use PHP to AS400 DB2 everyday.

Dan

-Original Message-
From: Sridhar Moparthy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 11:51 AM
To: 'Andrew Brampton'; [EMAIL PROTECTED]
Subject: RE: [PHP] Accessing Mainframe


Thank you Andrew for the reply!

Actually I have requirements for booth. I also have a requirement to access
the DB2 databases and VSAM files if possible.

Thanks Again
Sridhar



-Original Message-
From: Andrew Brampton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 1:41 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Accessing Mainframe


When you say accessing, how do you mean?
Access the file system? Access a service running on the Mainframe?

Please be a little more specific
Andrew
- Original Message -
From: "Sridhar Moparthy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 6:15 PM
Subject: [PHP] Accessing Mainframe


> Hi All,
>
> Is it possible to access IBM Mainframe from PHP on Windows? Is so, do I
need
> to install any software on Mainframe? Are there any "classes"  available
to
> do this?
>
> I am using PHP 4.X on Windows.
>
> Thank you in advance,
> Sridhar Moparthy
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Accessing Mainframe

2002-03-05 Thread Robert Covell

Short answer:
Yes

Longer answer:
I did this exact (but PC using Java to the Mainframe) thing about 7 years
ago for Sprint, so my memory will not be the best.  From my experience you
can do this but the Mainframe does not "by default" speak TCP/IP.  There are
many applications, of which slip my mind, that we used to listen on specific
ports.  You can either define a protocol (header with actions and data) to
speak to the Mainframe or utilize Orb's.  Either way you would just open up
the port or establish the ORB and send the request over.

Now that I think about it I am not sure of the ability to utilize Orb's with
PHP.  Also, if you use the port method you will have to define some sort of
return mechanism.

This is off the top of my head.  So comments or suggestions would be great.

Sincerely,

Robert T. Covell
President / Owner
Rolet Internet Services, LLC
Web: www.rolet.com
Email: [EMAIL PROTECTED]
Phone: 816.471.1095
Fax: 816.471.3447
24x7: 816.210.7145

-Original Message-
From: Sridhar Moparthy [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 12:15 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Accessing Mainframe


Hi All,

Is it possible to access IBM Mainframe from PHP on Windows? Is so, do I need
to install any software on Mainframe? Are there any "classes"  available to
do this?

I am using PHP 4.X on Windows.

Thank you in advance,
Sridhar Moparthy




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Accessing Mainframe

2002-03-05 Thread Andrew Brampton

Having a quick search through the PHP manual, I find this little note:
(This is not to be confused with IBM's DB2 software, which is supported
through the ODBC functions.)

So I guess DB2 is supported via the ODBC functions..

As for the VSAM, I find no mention of it in the manual.

Just have a search through the PHP manual, and maybe hotscript.com or other
such sources, and you will most likly find what you need

Andrew

P.S Please note I've never done IBM work, I haven't even seen a IBM
Mainframe, so I can't help much more than this :)

- Original Message -
From: "Sridhar Moparthy" <[EMAIL PROTECTED]>
To: "'Andrew Brampton'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 6:50 PM
Subject: RE: [PHP] Accessing Mainframe


> Thank you Andrew for the reply!
>
> Actually I have requirements for booth. I also have a requirement to
access
> the DB2 databases and VSAM files if possible.
>
> Thanks Again
> Sridhar
>
>
>
> -Original Message-
> From: Andrew Brampton [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 05, 2002 1:41 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Accessing Mainframe
>
>
> When you say accessing, how do you mean?
> Access the file system? Access a service running on the Mainframe?
>
> Please be a little more specific
> Andrew
> - Original Message -
> From: "Sridhar Moparthy" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Tuesday, March 05, 2002 6:15 PM
> Subject: [PHP] Accessing Mainframe
>
>
> > Hi All,
> >
> > Is it possible to access IBM Mainframe from PHP on Windows? Is so, do I
> need
> > to install any software on Mainframe? Are there any "classes"  available
> to
> > do this?
> >
> > I am using PHP 4.X on Windows.
> >
> > Thank you in advance,
> > Sridhar Moparthy
> >
> >
> >
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Accessing Mainframe

2002-03-05 Thread Sridhar Moparthy

Thank you Andrew for the reply!

Actually I have requirements for booth. I also have a requirement to access
the DB2 databases and VSAM files if possible.

Thanks Again
Sridhar



-Original Message-
From: Andrew Brampton [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 1:41 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] Accessing Mainframe


When you say accessing, how do you mean?
Access the file system? Access a service running on the Mainframe?

Please be a little more specific
Andrew
- Original Message -
From: "Sridhar Moparthy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 6:15 PM
Subject: [PHP] Accessing Mainframe


> Hi All,
>
> Is it possible to access IBM Mainframe from PHP on Windows? Is so, do I
need
> to install any software on Mainframe? Are there any "classes"  available
to
> do this?
>
> I am using PHP 4.X on Windows.
>
> Thank you in advance,
> Sridhar Moparthy
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Accessing Mainframe

2002-03-05 Thread Andrew Brampton

When you say accessing, how do you mean?
Access the file system? Access a service running on the Mainframe?

Please be a little more specific
Andrew
- Original Message -
From: "Sridhar Moparthy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 6:15 PM
Subject: [PHP] Accessing Mainframe


> Hi All,
>
> Is it possible to access IBM Mainframe from PHP on Windows? Is so, do I
need
> to install any software on Mainframe? Are there any "classes"  available
to
> do this?
>
> I am using PHP 4.X on Windows.
>
> Thank you in advance,
> Sridhar Moparthy
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php