Job Failed When Using Line Continuous Character In KSH Job Body
(Doc ID 2873694.1)
Last updated on JUNE 10, 2024
Applies to:
Oracle Tuxedo Application Runtime for CICS and Batch - Version 12.2.2 and laterInformation in this document applies to any platform.
Symptoms
When executing JOB , if fails when using line continuous character (\) like following job code
m_FileAssign -d NEW,DELETE,CATLG FILE1 \
${DATA}/data
${DATA}/data
Error Message
JOB JOBA BEGIN AT 2022/05/31 02:17:26
in while
BEGIN PHASE START AT 2022/05/31 02:17:26
label is START
start
END PHASE START AT 2022/05/31 02:17:26 (RC=C0000, JOBRC=C0000, ELAPSED=0)
in while
BEGIN PHASE STEP1 AT 2022/05/31 02:17:26
label is STEP1
ERROR mi_FileAssign: The file (/DATA/data) exists
ERROR m_FileAssign: The internal action function (mi_FileAssign -d NEW,DELETE,CATLG FILE1 /DATA/data) returns a code different from 0 (123)
mi_ExtendedScriptExecute: /DATA/data: cannot execute - Permission denied
TRAP ERROR 126
FATAL /JOBS/JOBA_15146_20220531_021726_extended_ksh_mif_ErrorTrap: An error has been caught in the script with return code 126
(ACC): resources release
END PHASE STEP1 AT 2022/05/31 02:17:27 (RC=S960, JOBRC=S960, ELAPSED=1)
(ACC): resources release
JOB ENDED ABNORMALLY WITH CODE (S960) AT 2022/05/31 02:17:27
in while
BEGIN PHASE START AT 2022/05/31 02:17:26
label is START
start
END PHASE START AT 2022/05/31 02:17:26 (RC=C0000, JOBRC=C0000, ELAPSED=0)
in while
BEGIN PHASE STEP1 AT 2022/05/31 02:17:26
label is STEP1
ERROR mi_FileAssign: The file (/DATA/data) exists
ERROR m_FileAssign: The internal action function (mi_FileAssign -d NEW,DELETE,CATLG FILE1 /DATA/data) returns a code different from 0 (123)
mi_ExtendedScriptExecute: /DATA/data: cannot execute - Permission denied
TRAP ERROR 126
FATAL /JOBS/JOBA_15146_20220531_021726_extended_ksh_mif_ErrorTrap: An error has been caught in the script with return code 126
(ACC): resources release
END PHASE STEP1 AT 2022/05/31 02:17:27 (RC=S960, JOBRC=S960, ELAPSED=1)
(ACC): resources release
JOB ENDED ABNORMALLY WITH CODE (S960) AT 2022/05/31 02:17:27
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |