Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

File open failed - contention with batch job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Wed Apr 09, 2014 3:20 pm    Post subject: File open failed - contention with batch job
Reply with quote

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
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Apr 09, 2014 4:36 pm    Post subject: Reply to: File open failed - contention with batch job
Reply with quote

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
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Wed Apr 09, 2014 5:19 pm    Post subject: Re: Reply to: File open failed - contention with batch job
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Apr 09, 2014 11:39 pm    Post subject: Reply to: File open failed - contention with batch job
Reply with quote

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
View user's profile Send private message
cser_oxygen

New User


Joined: 25 Oct 2006
Posts: 33

PostPosted: Fri Jun 13, 2014 10:31 am    Post subject:
Reply with quote

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
View user's profile Send private message
Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1610
Location: NY,USA

PostPosted: Fri Jun 13, 2014 8:54 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Fri Jun 13, 2014 9:04 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us