Uprocs with CLP fails

Document ID : KB000086790
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
Error Message :
    Error in the QPJOBLOG output (job log of the job)
##############################################################################################
*NONE Commande 03/04/14 10:55:47,078009 QCLCLCPR QSYS 04CB UV$TSTJGO DTCDEV 004D
Message . . . . : 5500 - CALL PGM(UXSET) /* La commande CALL
contient des paramètres */
CPF9898 Echappement 40 03/04/14 10:55:47,427799 UNIUTIL DTCDEV *STMT UXSET DTCDEV *STMT
.......

Module de destination . . . : UXSET
.......

Message . . . . : argument invalid ¬error code = 1|.
Cause . . . . . : Ce message est utilisé par les programmes d'application
comme message général d'arrêt programme.
......
Message . . . . : Application error. CPF9898 unmonitored by UXSET at
statement 0000000060, instruction X'0000'.
Cause . . . . . : The application ended abnormally because an exception
occurred and was not handled. The name of the program to which the
unhandled exception is sent is UXSET UXSET main. The program was stopped at
the high-level language statement number(s) 0000000060 at the time the
message was sent. If more than one statement number is shown, the program
is an optimized ILE program. Optimization does not allow a single statement
number to be determined. If *N is shown as a value, it means the real value
was not available. Recovery . . . : See the low level messages previously
listed to locate the cause of the exception. Correct any errors, and then
try the request again. CPF9
##############################################################################################

Patch level detected:Dollar Universe 6.0.00
Product Version: Dollar.Universe 6.0.0

Description :During an upgrade operations from DUAS 5.1.3 to 6.1.21 on a AS400 system, objects were imported from V5 in the new instance.
The execution of the original freshly imported UPROC with a standard CLP fails systematically.
 
 
Environment:
OS: IBM AS/400
 
 
Cause:
Cause type:
By design
Root Cause: In the CLP to send variables contents to the history trace the instruction Uxset msg is called as follows:
CALL PGM(UXSET) PARM('MSG' &MSGTXT)
In version 6 of Dollar Universe of AS400 the call of uxset msg does not handle properly the string termination character '\0 '. This command cannot be used for this kind of operation.
 
 
Resolution:
In Version 6 of Dollar Universe for AS400 has been introduced a set of improved aliases for main CLI commands, in this case : UXSETMSG MSG.
In their CLP programs AS400 developers are asked to replace each time that uxset msg receives a variable as parameter.
=============================================================================================
CALL PGM(UXSET) PARM('MSG' &MSGTXT)

by

UXSETMSG MSG (&MSGTXT)
=============================================================================================

Fix Status: No Fix
 
 
 
Additional Information:
Workaround :
N/A