View previous topic :: View next topic
|
Author |
Message |
cser_oxygen
New User
Joined: 25 Oct 2006 Posts: 33
|
|
|
|
Dear All,
I am facing an issue regarding file open failed in CICS.
what happened as follows:
Batch afterhour processing completes, batch job using EXTI call CICS program to reset file status to CLOSED/ENABLE
ADRDSSU ran to backup files into tapes
Online transaction tried to open the file, but failed, the file status has been set to CLOSED/UNABLE
Below is the parameter we used in ADRDSSU
DUMP DATASET(INCLUDE(HLQ.FILE.NAME.** -
) -
) -
OUTDDNAME(ONSITE) -
TOL(ENQF) -
OPT(3) -
SHARE -
SPHERE
I am considering two solutions:
1. Set the files status to OPEN/ENABLED once afterhour processing completes, but my concern is whether using too much storage (buffer, data table, etc) in a short period will cause any issue? Or any potenical risk?
2. Reset the file status to CLOSED/ENABLE after ADRDSSU, there are too many files which I don't want to reset all of them, so is there any utility/job can check the file status in CICS, from that I can capture which file status is UNABLE, so I can create a job to automatically reset the file status.
Any suggestion is much appreicated.
Thanks in advance. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Setting the File to CLO/ENA would be fine, providing the FCT entry specifies Opentime : Firstref, which is the default, but ENA is the key.
In SDSF, under the CICS Job Name Sysout (MSGUSR), what error message are you seeing when an ENA and/or OPE is attempted?
Are you specifying SHROPTION(3) in the Delete/Define?
Any particular reason for this SHROPTION? |
|
Back to top |
|
|
cser_oxygen
New User
Joined: 25 Oct 2006 Posts: 33
|
|
|
|
Bill O'Boyle wrote: |
Setting the File to CLO/ENA would be fine, providing the FCT entry specifies Opentime : Firstref, which is the default, but ENA is the key.
In SDSF, under the CICS Job Name Sysout (MSGUSR), what error message are you seeing when an ENA and/or OPE is attempted?
Are you specifying SHROPTION(3) in the Delete/Define?
Any particular reason for this SHROPTION? |
Thanks for your reply Bill.
The opentime is Firstref.
I have checked MSGUSER, but there is no error message for that file.
Shareoption is 3 too
DEFINE FILE(TEST1) GROUP(SECMEFF0)
DESCRIPTION(ACCOUNT ADDRESS INFORMATION)
DSNAME(TEST.TEST.TEST1) RLSACCESS(NO) LSRPOOLID(2)
READINTEG(UNCOMMITTED) DSNSHARING(ALLREQS) STRINGS(30)
REMOTESYSTEM(LSEF) REMOTENAME(TEST1) KEYLENGTH(24)
STATUS(ENABLED) OPENTIME(FIRSTREF) DISPOSITION(SHARE)
DATABUFFERS(31) INDEXBUFFERS(30) TABLE(NO) MAXNUMRECS(NOLIMIT)
UPDATEMODEL(LOCKING) LOAD(NO) RECORDFORMAT(F) ADD(YES)
BROWSE(YES) DELETE(NO) READ(YES) UPDATE(YES) JOURNAL(NO)
JNLREAD(NONE) JNLSYNCREAD(NO) JNLUPDATE(NO) JNLADD(NONE)
JNLSYNCWRITE(YES) RECOVERY(NONE) FWDRECOVLOG(NO)
BACKUPTYPE(STATIC)
Above is the FCT setup |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Looks like a fairly standard FCT entry.
Sometimes, LSR Pool definitions can burn you.
Make sure there are adequate buffers defined for the Data CI and Index CI (defined to the Cluster) in LSR Pool 2 or perhaps reassign this file to a different LSR Pool? |
|
Back to top |
|
|
cser_oxygen
New User
Joined: 25 Oct 2006 Posts: 33
|
|
|
|
Guys, just wondering anyone can suggest:
"is there any utility/job can check the file status in CICS, from that I can capture which file status is UNABLE, so I can create a job to automatically reset the file status. " |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3051 Location: NYC,USA
|
|
|
|
Write a small program which does so...
But usually that is not necessary as during the start up of CICS region this is already been taken care. So as suggested by Bill,please take that information to CICS Admin and then find out what went wrong. |
|
Back to top |
|
|
Mickeydusaor
Active User
Joined: 24 May 2006 Posts: 258 Location: Salem, Oregon
|
|
|
|
In the process I setup I set the file status to CLOSED/DISABLED and
after the Backups are finished I reset file status to CLOSED/ENABLE |
|
Back to top |
|
|
|