RPG commands and functions show with their PHP equivalents .... A great resource would be directly from the horses mouth... http://php.net/
The most difficult thing I find about venturing into PHP (being in RPG for 15 years) is what is the translation. For example my Assembly file has 3 Jobs and percents (or of course, any assembly could have any number of jobs): Assembly Job Percent A1020 11020 20 A1020 11030 40...
what is new for PHP accessing the AS400 (regular Physical and Logical files) what about Zend Core, is it reliable and popular these days? How can I start on this? Thanks for any response Jorge
Hi I am updating upload of as400 data to reporting web tool. Earlier developer had his user ID setup it seems and now I need some generic user ID to setup for this but not able to find anywhere use of old user. I tried changing STMF/DIR owner but still refering old owner. Can someone please...
Hi I am uploading data to one of report tool QBASE. All is fine except fields coming after 350 record length are getting zeroed out and data is blank in reporting tool. Is there such post limit using PHP in AS400 (V5R3)? Note: I am posting it using data base file (externally described/DDS)...
For the last two days, the email from our RPG programs and PHP application have stopped sending. I can stop SMTP and restart it and one maybe two emails will go through and then it will stop again. I noticed that job QTSMTPCLTD is constantly running and usually with a high CPU percentage (usually...
Hello, i try to call a php-script on our 520. CHGVAR VAR(&CMM) + VALUE('/usr/local/Zend/Core/bin/php + /www/zendcore/htdocs/test.php') QSH CMD(&CMD) i try to send an email in the php script and i was...
My company has gone from an internal email server to letting Google host our email. I have changed our SMTP configuration to use IP 10.1.1.14 to allow forwarding. This seems to work with several RPG programs that send emails. These programs send emails without any problem. The one PHP...
I have several tables that I'm pulling data from on the i5... I just found out that I'm getting garbage out of ONE table! After throwing the Red Flag and forcing a Review of the Call on the Field... the Booth came back and said there were issues with the CCSID. The ONE table is set to 65535. The...
I program in RPGLE/Free form. I also do some website on the side in all php. I am currently trying to find a way to give our overseas vendors the ability to upload a spreadsheet or csv file from a php website to an as400 file. Is there any documentation on how to begin? I can program in both...
We would like to do Zend PHP on V5R4. We have been searching unsuccessfully for a couple of months for the Portable Utilities license program install CDs for this system. This system does have Legacy support with IBM, but even they are unsuccessful locating the CDs, and since it is no longer...
They finally (after 4 years of begging) installed PHP on my development box today. YEAAAAA!! It's nice to be able to get into the development of PHP again! Something outside of internet programming anyway. I really do feel like a kid in a candy store again... I just need to find the...
In this article am going to provide JavaScript examples of translation from filament to numeral, string to floating-point, and numeral to twine. Custom Web Design also gives the impression of creature at some connected subject matter, counting how to set-up numeric productivity with two decimal...
Hi, (excuse me for my english!) i have installed "Zend Core for i5/OS V2.6" on my AS/400. Question Is possibile running php batch (like php.exe for windows or php executable on linux/unix)? If not, is possibile schedule on OS/A400 one rpg programs or cl that call one php script on local machine...
Hi I am learning PHP. I need some help. Can some one tell if PHP code needs any compilation of source to form executable object? Test code from zend is working fine but when I copied same code and try to run then it is showing same code in hex but for copy from zend echo is perfect trying...
I need to unpack the above files (as a start) into a text file for uploading onto the iSeries. Planning to control that (as a sub-process) inside RPG directly from the IFS before an RPG module rips it into an existing DB2 file. Alternatively, I'll create the PHP to execute in another process so...
Has anybody used this to take green screen apps to the web? Is this a tool or do you have to know how to code the PHP?
I am trying to consume a web service that is provided by another department within my company. I have tried using Scott Klement's HTTPAPI utility, but I receive errors and I have no way of knowing how to deal with those (earlier attempts at outside services workd OK). Just wondering if anyone...
Hi all ! On our i5 V5R4, I've installed PHP Zend core distribution wich includes MySQL. It works pretty well, but... : MySQL is at level 5.0.45 and I would like to use the new " IBM DB2 for i as a Storage Engine of MySQL" So I read the redbook : Using IBM DB2 for i as a Storage Engine of...
hello all - ive got a bit of a problem dealing with null values in my database. im trying to read in recordsets in php that happen to have a few null values. im using PDO in php through the linux iSeries odbc driver. My development server deals with the null values fine, but when i move...
Anyone find/develop some php functions that abstract both mySql and i5 database data access functions. In this way one can develop locally on a laptop when you don’t have an as/400 handy. i5_pconnect and mysql_connect i5_query and mysql_query i5_fetch_row and mysql_result
OK, we've rapidly approached the first major roadblock. Our System Administrator is all over this PHP thing now getting ready to shut it down due to Security. Does anyone have setup guides or something we can go through to set this up without running each PHP job without going through...
Frustration can be good...and bad! In my previous post, I was eluding to the frustration of getting onto the system and beginning the reality of connecting and doing something with data already on the system. To my happiness, I found things to be much more enjoyable than it was earlier. ...
OK.. I'm getting my feet wet on the reality of utilizing PHP on my i5. I like the fact that I'm getting back into this arena and having a flood of old PHP code flashing across my membrane. Outside of the "Hello World!" the move into the abyss is running slow. (I have to keep up my ability to...
Hi, Our site is a standard RPG shop on V6R1..we are looking at web-enabling our applications. How do we PHP ready our system I so we can perform some initial testing. Regards
Hi, I am trying to open word documents from a PHP script into a new browser window. But I cannot get it to fly at all. Can anyone assist on this ? Cheers GC
There are currently 1 users browsing this forum. (0 members & 1 guests)
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Forum Rules