Tuxedo Application Runtime for CICS and Batch 12cR1: ACCLOCK File Remains Lock Information In Some Cases

(Doc ID 1560352.1)

Last updated on JUNE 10, 2013

Applies to:

Tuxedo Application Runtime for CICS and Batch - Version 12.1.1.0 and later
Information in this document applies to any platform.

Symptoms

 When using following pattern, file lock information remains and never cleared.

m_FileAssign -d NEW,CATLG -S ${DATA}/BASE.GDG FILE1 ${DATA}/NEW.FILE

artjeadmin -l result:

00040|</home/work2/artlab/tuxjes/data/BASE.GDG>| Mode : <RR>| Hostname <localhost.localdomain>|      |JobName : <GENGDGG   >| Pid : <15140>| Date : <Tue May 28 15:28:09 2013>


or

m_FileRename ${DATA}/APP.GDG.DEF ${DATA}/APP.GDG.DEF.BAK

artjeadmin -l result:

00013|</home/work2/artlab/tuxjes/data/APP.GDG.DEF.BAK>| Mode : <WX>| Hostname <localhost.localdomain>|      |JobName : <GDGREN    >| Pid : <3067>| Date : <Tue May 28 13:59:52 2013>


And if LABEL is not defined, also lock will not be cleared.

#!/usr/bin/ksh
m_JobBegin -j JOB001 -s START -v 2.0 -c A
while true ;
do
       m_PhaseBegin
       case ${CURRENT_LABEL} in
(START)
       JUMP_LABEL=STEP1
       ;;
(STEP1)
#      JUMP_LABEL=STEP2
       ;;
(STEP2)
       m_FileAssign -d SHR FILE1 $DATA/app
       m_FileAssign -d OLD FILE2 $DATA/app2
       JUMP_LABEL=END_JOB
       ;;
(END_JOB)
       break
       ;;
(*)
       m_RcSet ${MT_RC_ABORT:-S999} "Unknown label : ${CURRENT_LABEL}"
       break
       ;;
esac
m_PhaseEnd
done
m_JobEnd

00043|</home/work2/artlab/tuxjes/data/app>| Mode : <RR>| Hostname <localhost.localdomain>|      |JobName : <JOB001    >| Pid : <16757>| Date : <Tue May 28 16:02:11 2013>
00044|</home/work2/artlab/tuxjes/data/app2>| Mode : <WX>| Hostname <localhost.localdomain>|      |JobName : <JOB001    >| Pid : <16757>| Date : <Tue May 28 16:02:11 2013>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms