×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I have a CLP program that I call from AJS (Advanced Job Scheduler)
Intermittently, the 2nd parameter is getting garbage characters at the end, shown via dump of CLP pgm.
In the CLP program, parm 1 length defined as 15, parm 2 length defined as 41.
The lengths being passed from AJS are less, 12 and 33.
Program . . . . . . . . . . . . > ICAPICMD Name
Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB
Parameters . . . . . . . . . . . > '10.5.173.152'
+ for more values > 'sudo /sbin/service jboss-as start'
From the CLP dump
&CMD *CHAR 41 'sudo /sbin/service jboss-as start E seque'
The "E seque" is the garbage, causing the CLP to fail.
Is this an AJS parameter issue?
Thank You
_____
Paul Steinmetz
IBM i Systems Administrator
Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071
610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home
psteinmetz@xxxxxxxxxx
http://www.pencor.com/
As an Amazon Associate we earn from qualifying purchases.