Cannot Assign GDG File With Relative Version
(Doc ID 1502359.1)
Last updated on OCTOBER 30, 2024
Applies to:
Oracle Tuxedo Application Runtime for CICS and Batch - Version 11.1.1.3.0 and laterInformation in this document applies to any platform.
Symptoms
When using following JOB, m_FileAssign fails due to relative version number was not found.
The problem happen with following case,
1)Use GDG DB management.
2)Define max generation number is 1 using m_GenDefine -s 1
3)Use MT_GDG_COMMIT=STEP
4)Specify relative version which is created before step.
m_JobBegin -j GDGMAX1 -s START -v 2.0 -c A
while true ;
do
m_PhaseBegin
case ${CURRENT_LABEL} in
(START)
m_GenDefine -s 1 ${DATA}/ORACLE.DEMO.GDGF88
JUMP_LABEL=STEP1
;;
(STEP1)
m_FileAssign -d NEW,CATLG,DELETE -g +1 FILE1
${DATA}/ORACLE.DEMO.GDGF88
m_ProgramExec IEFBR14
JUMP_LABEL=STEP2
;;
(STEP2)
m_FileAssign -d SHR -g +1 FILE01 ${DATA}/ORACLE.DEMO.GDGF88
m_ProgramExec IEFBR14
JUMP_LABEL=END_JOB
;;
(END_JOB)
break
;;
(*)
m_RcSet ${MT_RC_ABORT:-S999} "Unknown label : ${CURRENT_LABEL}"
break
;;
esac
m_PhaseEnd
done
m_JobEnd
The error message:
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 |
Cause |
Solution |