You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// if outq is not *ALL, it should have a library name
2268
2268
if (($outq != '*ALL') && empty($outqLibName)) {
2269
+
// Try *LIBL
2270
+
$outqLibName = '*LIBL';
2269
2271
// if no libname, result set will be empty, so might as well alert the user.
2270
-
i5ErrorActivity(I5_ERR_PHP_ELEMENT_MISSING, I5_CAT_PHP, 'Missing outq library', 'You specified an outq but did not qualify it with a library name.');
2271
-
returnfalse;
2272
+
//i5ErrorActivity(I5_ERR_PHP_ELEMENT_MISSING, I5_CAT_PHP, 'Missing outq library', 'You specified an outq but did not qualify it with a library name.');
// Compare with false since this is what findValueInArray returns on error
782
+
// this will prevent things such as empty arrays from causing errors
783
+
if ($dsData === false) {
783
784
// ds has no description to match value!
784
785
i5ErrorActivity(I5_ERR_PARAMNOTFOUND, I5_CAT_PHP, "Requested parameter '$dsName' does not exist in the input data", "Requested parameter $dsName does not exist in the input data");
0 commit comments