APAR status
Closed as program error.
Error description
When ad hoc submitting jobs with a combination of quotes and environment variables, a job can fail to submit without any error being returned. . As an example, the following job submits successfully: . conman 'sbd "echo \"LOGIN\"" alias=echo4' IBM Workload Scheduler(UNIX)/CONMAN 9.3.0.03 (20170607) ... Scheduled for (Exp) 11/13/17 (#23) on MDM00. Batchman LIVES. . Limit: SYSTEM, Fence: 0, Audit Level: 0 %sbd "echo \"LOGIN\"" alias=echo4 Submitted MDM00#echo "LOGIN" to batchman as MDM00#JOBS.ECHO4 . But this one does not: . conman 'sbd "echo \"$LOGIN\"";alias=echo3' IBM Workload Scheduler(UNIX)/CONMAN 9.3.0.03 (20170607) ... Scheduled for (Exp) 11/13/17 (#23) on MDM00. Batchman LIVES. Limit: SYSTEM, Fence: 0, Audit Level: 0 . Note that in this case there is no "%sbd" ... or "Submitted" lines. . Whether the combination of quotes is correct is not significant here, the issue is that conman is not returning any kind of error, butsimply stops and returns an exit 0.
Local fix
Adjust the quoting until a combination is found which enables the submit to complete successfully.
Problem summary
["conman", "sbd \"echo \\\"$LOGIN\\\"\" alias=echo"...], [/* 38 vars */]) = 0 the problem from the shell add 2 \\ so the command is not recognized correctly. conman exit with not submitted job . otherwise conman response with Submitted EU-HWS-LNX31#echo $LOGIN to batchman as EU-HWS-LNX31#JOBS.ECHO617Y4
Problem conclusion
This APAR will be fixed 9.3.0-TIV-TWS-FP0004, 9.4.0 F7
Temporary fix
conman 'sbd "echo \"LOGIN\"" alias=echo4'
Comments
APAR Information
APAR number
IJ05891
Reported component name
TIV WKLD SCHDL
Reported component ID
5698WKB93
Reported release
9A3
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2018-04-20
Closed date
2018-06-13
Last modified date
2019-09-17
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
TIV WKLD SCHDL
Fixed component ID
5698WKB93
Applicable component levels
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGSPN","label":"IBM Workload Scheduler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9A3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
17 September 2019