Why cannot log in be done to easycom TOOLKIT with QSECOFR?

General discussion on Zend Core for IBM System i
Post Reply
pochiman
Posts: 1
Joined: Thu Jun 03, 2010 12:07 am

Why cannot log in be done to easycom TOOLKIT with QSECOFR?

Post by pochiman » Thu Jun 03, 2010 12:25 am

Why cannot log in be done to easycom TOOLKIT with QSECOFR?
If it is another user, log in can be done.

For instance, when I execute program of PHP is as follows it, following error is outputed.
"The user or the password is different. "

<?php
echo "i5_connect進行中です...<br>";
$conn = i5_connect("localhost","QSECOFR","QSECOFR");
if($conn){
echo "接続OK!<br>";
i5_command("RTVJOBA",array(),
array("USER"=>"USER",
"USRLIBL"=>"USRLIBL",
"SYSLIBL"=>array("SYSLIBL","CHAR(165)"),
"CURLIB"=>"CURL")
);
print "ユーザー:$USER<br>";
print "ユーザー・ライブラリー・リスト:$USRLIBL<br>";
print "システム・ライブラリー・リスト:$SYSLIBL<br>";
print "現行ライブラリー:$CURL<br>";
} else {
var_dump(i5_error());
}
i5_close($conn);
?>


Please tell me.

chris_hird
Posts: 171
Joined: Fri Apr 10, 2009 12:41 am
Location: Toronto
Contact:

Re: Why cannot log in be done to easycom TOOLKIT with QSECOFR?

Post by chris_hird » Thu Jun 03, 2010 11:39 am

If you look at the joblog in the EasyCom program you will see a message stating SBMJOB cannot be run with QSECOFR plus a number of other profiles. This is an OS restriction not an EasyCom server restriction. I think (you can ask EasyCom directly) that they are submitting jobs from the server for every request that is made through the i5_Toolkit functions?

Chris...
Shield Advanced Solutions Ltd
Home of JobQGenie and the Receiver Apply Program
http://www.shield.on.ca/Blog

Post Reply