Search found 12 matches
- Wed Sep 02, 2009 9:47 am
- Forum: Zend Platform for i5/OS
- Topic: 5250 Bridge, cannot get focused field when error
- Replies: 0
- Views: 4572
5250 Bridge, cannot get focused field when error
I have the 5250 Bridge working, when the RPG program gives a validation error I get the error message, no problem so far. The problem is that I do not get any data on the focused field, so I cannot work out for what field the error is given and yes unfortunately the same error is given for several d...
- Mon Aug 31, 2009 3:04 pm
- Forum: Zend Platform for i5/OS
- Topic: [SOLVED]5250 Bridge not showing input fields
- Replies: 2
- Views: 6727
Re: [SOLVED]5250 Bridge not showing input fields
Never mind, problem solved was an application feature.
Post may be deleted !
Post may be deleted !
- Mon Aug 31, 2009 10:46 am
- Forum: Zend Platform for i5/OS
- Topic: [SOLVED]5250 Bridge not showing input fields
- Replies: 2
- Views: 6727
[SOLVED]5250 Bridge not showing input fields
I have a screen with a lot of input fields, but the Bridge is only showing three when I display the input fields after $inputFields = zend_5250_get_input_fields($response); I tried to change the Server Time-Out as suggested in the manual but that did not help. Does a screen on the system i need to c...
- Fri Jun 26, 2009 2:52 pm
- Forum: Zend Core for i5/OS
- Topic: Error calling subprocedure
- Replies: 4
- Views: 3843
Re: Error calling subprocedure
Apparently it does not work with subprocedures who return a parameter. I changed the code so that the subprocedure returns a value in an extra parameter and then I get the correct value. p testsubproc b export d testsubproc pi d parameterIn 5a d parameterOut like(parameterIn) /Free parameterOut = 'X...
- Wed Jun 24, 2009 2:22 pm
- Forum: Zend Core for i5/OS
- Topic: Error calling subprocedure
- Replies: 4
- Views: 3843
Error calling subprocedure
I use this code to call a subprocedure inside a service program : <?php require_once($_SERVER['DOCUMENT_ROOT'] . '/includes/header.php'); echo 'Now = ' . date('H:i:s') . '<br /><br />'; $connect = 'IP-ADDRESS i'; $user = 'user'; $pass = 'password'; $Hdlcon = i5_connect($connect, $user, $pass, array(...
- Thu Jun 18, 2009 2:38 pm
- Forum: Zend Core for i5/OS
- Topic: Calling subprocedure
- Replies: 8
- Views: 4871
Re: Calling subprocedure
If found this piece of code : print_r(i5_error()); if (i5_command("CHGJOB",array("LOG" => "4 00 *SECLVL", "LOGCLPGM" => "*YES"),array(), $Hdlcon)) { } else { echo "Error =".i5_errormsg(); } // Display the job ID. This makes it easy to find the job to review the log. if (i5_command("rtvjoba", array()...
- Thu Jun 18, 2009 2:19 pm
- Forum: Zend Core for i5/OS
- Topic: Calling subprocedure
- Replies: 8
- Views: 4871
Re: Calling subprocedure
Here is some information I received from Zend support on setting up debugging for the PHPJOBs. I haven't done this in a while so I don't know if anything has changed in the new versions. Remember to shut the logging OFF when you are done so the LOGFILE in ZENDCORE doesn't fill up. Scott DEBUGGING: ...
- Thu Jun 18, 2009 1:09 pm
- Forum: Zend Core for i5/OS
- Topic: Calling subprocedure
- Replies: 8
- Views: 4871
Re: Calling subprocedure
Seems CEE9901 is just a general application fault.
Where could I find the previous error messages ?
I cannot find a job called PHPJOB OR PHP_JOB
In the log files nothing is to be found either, not with or without showing the error message.
Where could I find the previous error messages ?
I cannot find a job called PHPJOB OR PHP_JOB
In the log files nothing is to be found either, not with or without showing the error message.
- Thu Jun 18, 2009 9:39 am
- Forum: Zend Core for i5/OS
- Topic: Calling subprocedure
- Replies: 8
- Views: 4871
Re: Calling subprocedure
When I use this code :
I get this message :
Program call error. Error number = 312, msg = CEE9901
Code: Select all
if (!$ret) die('<br>Program call error. Error number = <b>' . i5_errno() . '</b>, msg = <b>' . i5_errormsg()) . '<b /';
Program call error. Error number = 312, msg = CEE9901
- Thu Jun 18, 2009 9:33 am
- Forum: Zend Core for i5/OS
- Topic: Calling subprocedure
- Replies: 8
- Views: 4871
Re: Calling subprocedure
Seems I made a mistake in my code this : $desc = array ( array ('companyNbr' => 'companyNbr', 'io'=>I5_IN, 'type' => I5_TYPE_PACKED, 'length' => '3.0'), array ('type' => 'type', 'io'=>I5_IN, 'type' => I5_TYPE_CHAR, 'length' => '5'), array ('colorCode' => 'colorCode', 'io'=>I5_IN, 'type' => I5_TYPE_C...