Uxordre does not parse a parameter vector if parameter is a space " "
search cancel

Uxordre does not parse a parameter vector if parameter is a space " "

book

Article ID: 85293

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Error Message :
There is no error message

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

Description :If a parameter sequence is submitted to a uxordre containing a parameter with the value of " ", the parsing is incorrect. It stops at

a uproc contains the following script:

###########################################################
#!/usr/bin/ksh

. /apps/du/600/TST600_vmstl32c58cst01/unienv.ksh

echo "P02 $S_P2 $S_P3 $S_P4 $S_P5"
echo "param = $1 $2 $3 $4 $5 $6 $7 $8 $9 "


echo $UXEXE
##############################################################

If now the uxordre is executed as follows, with " " as one parameter from a uproc.:

############################################################
#!/usr/bin/ksh

#. /apps/du/600/TST600_vmstl32c54cst01/unienv.ksh

$UXEXE/uxordre ESP=X TSK=TSK_PROV_123 QUEUE=SYS_BATCH UG=HRPRO PARAM="tt"


$UXEXE/uxordre ESP=X TSK=TSK_PROV_123 QUEUE=SYS_BATCH UG=HRPRO PARAM=" ","AS800NBX"

$UXEXE/uxordre ESP=X TSK=TSK_PROV_123 QUEUE=SYS_BATCH UG=HRPRO PARAM="1","hello"," ","AS800NBX"


echo $UXEXE
############################################################
The parsing of the Parameter with the value " " induces a mistake as you can see during the parameter listing: in the following job logs:

1.
DUAS environment loaded for Company TST600 Node vmstl32c58cst01.

P02
param = tt
/apps/du/600/TST600_vmstl32c58cst01/bin

2.

DUAS environment loaded for Company TST600 Node vmstl32c58cst01.

P02 AS800NBX
param =
/apps/du/600/TST600_vmstl32c58cst01/bin


3.

DUAS environment loaded for Company TST600 Node vmstl32c58cst01.

P02 hello AS800NBX
param = 1 hello
/apps/du/600/TST600_vmstl32c58cst01/bin
######################################################################################

The parameter listing breaks systematically when the parameter " " appears.

Environment

OS: All Unix
OS Version: Linux, AIX

Cause

Cause type:
Defect
Root Cause: N/A

Resolution

This issue is corrected in versions 6.1.41 and above of Dollar Universe.

Fix Status: Released

Fix Version(s):
Component: Application.Server
Version: Dollar.Universe 6.1.41

Additional Information

Workaround :
N/A