Problem Note 9476: "ERROR: The keyword parameter LTCUTOFF passed to macro CPRUNRPT was
given a value twice" from ITSV
After applying hot fix 82IS03 to IT Service Vision (ITSV) 2.5, the
following error message may be generated in the SAS Log when the ITSV
CPRUNRPT macro is executed:
ERROR: The keyword parameter LTCUTOFF passed to macro CPRUNRPT
was given a value twice.
The error stems from running the ITSV CPXHTML macro when it attempts to
execute the ITSV CPRUNRPT macro with an invalid recommendation
previously generated by ITSV CPEXCEPT macro. This recommendation is
invalid because the CPXRULE data set now has a field named LTCUTOFF
where the value should be specified. In other words, LTCUTOFF should
now be specified in the LTCUTOFF field - not within the RECOM fields and
not in both.
This problem will be corrected in a future release of ITSV.
To circumvent this problem, make a backup of the CPEXCEPT macro (located
in the autocall library that ITSV uses), then insert the following code:
%if %qsysfunc(exist(&RESULTS)) %then
%do;
data &SYSLAST;
length tmp1 tmp2 $200;
drop tmp1 tmp2 idx _j_;
set &SYSLAST;
array recom $ recom1-recom10;
do over recom;
idx = index(upcase(recom(_i_)),'LTCUTOFF');
if idx then
do;
_j_ = 1;
tmp1 = scan(recom(_i_),_j_,' ,');
do while(tmp1 ne ' ');
if not index(upcase(tmp1),'LTCUTOFF') then
do;
if tmp2 = ' ' then tmp2 = trim(tmp1);
else tmp2 = trim(tmp2) !! ', ' !! trim(tmp1);
end;
_j_ + 1;
tmp1 = scan(recom(_i_),_j_,' ,');
end;
put / 'Note: LTCUTOFF found and removed from field RECOM' _i_ ;
put ' in rule ' rulename ' - use LTCUTOFF field instead.';
put 'RECOM' _i_ 'before change: ' recom(_i_);
put 'RECOM' _i_ 'after change : ' tmp2;
recom(_i_) = tmp2;
end;
end;
run;
%end;
immediately before the following statements in the ITSVCPEXCEPT macro
%exit:
* S0042858: Calculate and print elapsed time in SAS log;
%CPTIMLOG( stop, cpexcept );
%* S0041461;
options &schkset &repset OBS=&obsset;
%LET &_RC=&CPPMRC;
%mend cpexcept;
This code removes the LTCUTOFF value from any of the recommendation
fields and issues a note.
Operating System and Release Information
| SAS System | SAS IT Resource Management-Server | Microsoft Windows NT Workstation | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Server | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| Microsoft Windows 95/98 | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Datacenter Server | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Professional | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| 64-bit Enabled Solaris | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| Solaris | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Advanced Server | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| 64-bit Enabled AIX | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| z/OS | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| 64-bit Enabled HP-UX | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| HP-UX | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| Tru64 UNIX | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
| AIX | 2.5 | 2.6 | 8.2 TS2M0 | 8.2 TS2M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Problem Note |
| Priority: | high |
| Topic: | System Administration ==> Servers
|
| Date Modified: | 2003-03-31 10:33:31 |
| Date Created: | 2003-02-21 13:25:07 |