Question

  Asked: Feb 26 2008   4:15 PM GMT
  Asked by: Jogisarge


call php from cl


PHP, CL, Qshell, AS/400

Hello,

i call a php program from my cl with
CALL PGM(QP2SHELL) ...
the php is called, but then opens the QSHELL.
can i close the QSHELL from my php programm?
Or can i call a php programm without starting qshell?

btw. can i sent parms back to the cl from php?

Thanks for your help i am just starting php on i5.

by jo

Subscribe to Alerts! Get questions and answers delivered to your Inbox.


E-mail me updates on this question



   SUBSCRIBE

hidden modal window

Answer Wiki (Improve, edit or add to this answer)


 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0



Hi,

In a QSHELL script the following should stop the QSHELL appearing :-

$(QIBM_QSH_CMD_OUTPUT="NONE")

I don't know if this will work from PHP, but maybe it'll give you a starting point.

Regards,

Martin Gilbert.
  • AddThis Social Bookmark Button

Browse more Questions and Answers on Development and AS/400.

Looking for relevant Development Whitepapers? Visit the SearchSQLServer.com Research Library.


Discuss This Answer


You must be logged-in to discuss a question. Log-in/Register