Fixes are available
APAR status
Closed as program error.
Error description
In the deployment package Deployed_Flows/pxrun.sh script it looks like the format/syntax of the params value string has changed from DS 7.5.1a to DS 8.5. The format/syntax in DS 8.5 doesn't appear to quote the values of parameters listed in the -params string. So, if there is an environment variable that has a value with spaces then the osh command with the -f option is throwing an invalid option error. ERROR RECEIVED in 8.5 executing OSH from pxrun.sh (when env var has spaces - in this case DATETIME has a space before time. So, osh errors thinking that the time is an invalid option for osh -f) ##E IIS-DSEE-TCOS-00006 15:58:12(005) <main_program> Invalid value for option -f: 15:58:11;"$JOB_NAME"=GLOBAL.
Local fix
Adding the double quotes around the values
Problem summary
**************************************************************** USERS AFFECTED: Problem affects only users of remote deployed osh jobs which have spaces embedded in environment variable job parameters. **************************************************************** PROBLEM DESCRIPTION: The quoting on the pxrun.sh script was incorrect and did not protect environment variables whose value contained the space character. Problem manifested itself as an error in the arguments when running the osh command. **************************************************************** RECOMMENDATION: For automated use of remote deployment the patch should be applied ****************************************************************
Problem conclusion
Corrected the DataStage compiler code so that it generated a version of pxrun.sh with the correct quoting to support spaces being passed. For jobs which exhibit the failure based on the environment variables containing spaces it will be necessary to recompile the jobs after applying the patch. For jobs where environment variables do not contain spaces recompilation is not necessary.
Temporary fix
Edit the pxrun.sh script prior to deployment and insert double quotes around the values.
Comments
APAR Information
APAR number
JR44841
Reported component name
WIS DATASTAGE
Reported component ID
5724Q36DS
Reported release
850
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-11-20
Closed date
2012-12-07
Last modified date
2013-03-28
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
WIS DATASTAGE
Fixed component ID
5724Q36DS
Applicable component levels
R850 PSY
UP
R870 PSN
UP
R910 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"InfoSphere DataStage"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
12 October 2021