PHP calling C

About MQSERIES & WEBSPHERE

Moderator: Moderator Group

Post Reply
edwardd20
Member
Posts: 1
Joined: Tue Jul 26, 2011 12:37 am
Location: Lisle, IL, USA

PHP calling C

Post by edwardd20 » Tue Jul 26, 2011 1:02 am

I have 30 years experience as a BAL programmer. Been doing C for 15. Right now I'm a noob at WebSphere.

I have an HTML page that is being driven by a PHP script. That PHP script needs to call a C program to get it's data. The C program needs to reference a couple of DD's (VSAM DB's) to get data for the web page.

I put the DD's in the HTTPD1 proc.

I can get PHP to call C, but the C program can't see the DD's.

Can somebody point me in the right direction?

Thanks,

Ed.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others