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
 

 

Error IEC161I 052(009,XXXRS00)-084 while trying to write

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
amitc23

New User


Joined: 05 Nov 2014
Posts: 78
Location: India

PostPosted: Wed Oct 12, 2016 5:00 pm    Post subject: Error IEC161I 052(009,XXXRS00)-084 while trying to write
Reply with quote

Hi

I am trying to write into a VSAM dataset which has three associated Alternate Indexes, the write is not getting completed.

When I close this dataset on CICS and try to edit thru file-aid , I get the following error:

IEC161I 052(009,XXXRS00)-084

I loaded the dataset with 1 record (all low-values) once but after that getting this error.

Any suggestions please.

Thanks
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Oct 12, 2016 5:05 pm    Post subject: Reply to: Error IEC161I 052(009,XXXRS00)-084 while trying to write
Reply with quote

read the manuals and take the actions suggested
Back to top
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 78
Location: India

PostPosted: Wed Oct 12, 2016 5:17 pm    Post subject:
Reply with quote

Hi Enrico

Thanks for reply. I did what manual was saying. I initialized dataset with low-values. It says that dataset may be opened by other user. But this is working fine in another CICS region , with the same code, where I don't have Close/Open statement . If it would have been batch , I would have deleted/defined/repro the dataset. When I close this in CICS region, and try to edit through File-Aid , it gives VSAM OPEN ERROR with above code.

Can you please suggest some more in this ?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Oct 12, 2016 5:28 pm    Post subject: Reply to: Error IEC161I 052(009,XXXRS00)-084 while trying to write
Reply with quote

You have to be careful when working with clusters with AIXes defined over them

did You rebuild the alternate indexes after the reload ?

do You have the UPGRADE clause in the AIX definition ?
Back to top
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 78
Location: India

PostPosted: Wed Oct 12, 2016 5:32 pm    Post subject:
Reply with quote

I defined this dataset through file-aid.Loaded a record with low-values thrugh edit. Defined three alternate indexes. Defined the paths and then built the indexes, all through file-aid.

Upgrade is 'Y' in this case.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7912
Location: Bellevue, IA

PostPosted: Wed Oct 12, 2016 8:39 pm    Post subject:
Reply with quote

The manual is pretty clear about the 052 sfi code 009:
Quote:
SUBTSKMS - First open of a data set, not connecting, OUTPUT or DISP=OLD, SHR=1,x. Cannot get exclusive control of the I resource. Another ACB is already open to the data set.
XXXRS00 is the name of the first job that caused the SHAREOPTION conflict -- have you investigated what is going on with this job?
Back to top
View user's profile Send private message
Kerry Ropar

New User


Joined: 14 Sep 2016
Posts: 25
Location: Australia

PostPosted: Thu Oct 13, 2016 5:11 am    Post subject:
Reply with quote

amitc23 wrote:
But this is working fine in another CICS region , with the same code, where I don't have Close/Open statement .


Seniors please correct me, we do not place explicit open/close commands in CICS modules. Instead of having control section, we let FCT entry and CICS to manage it.
Back to top
View user's profile Send private message
Kerry Ropar

New User


Joined: 14 Sep 2016
Posts: 25
Location: Australia

PostPosted: Thu Oct 13, 2016 5:23 am    Post subject:
Reply with quote

amitc23 wrote:
But this is working fine in another CICS region


Below from IBM manuals:

Quote:
SHAREOPTIONS (2 3) is specified for the file. This means only one job can open the dataset for update in a single MVS image and full sharing is allowed for separate MVS images.

In the working case, where CICS and the batch job are in separate MVS images, it is the second part of SHAREOPTIONS (the 3) that is in effect. This option allows full sharing. In the failing case, where CICS and the batch job are in the same MVS image, it is the first part of SHAREOPTIONS (the 2) that is in effect. The 2 only allows one job to open the dataset for update. But, both CICS and the batch job were attempting to open the file for update.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


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

PostPosted: Thu Oct 13, 2016 10:11 pm    Post subject:
Reply with quote

Quote:
Seniors please correct me, we do not place explicit open/close commands in CICS modules. Instead of having control section, we let FCT entry and CICS to manage it.
That is just right.

IEC161I (return code 052)
If you don't find it from manuals or here ,what to do then I would suggest you sending an email to your site: storage Admin group about the err.
Back to top
View user's profile Send private message
amitc23

New User


Joined: 05 Nov 2014
Posts: 78
Location: India

PostPosted: Thu Oct 13, 2016 10:50 pm    Post subject:
Reply with quote

That's correct Rohit. I removed handle condition from the command and I got a AFDK abend which means some problem in the file definition related to LSR pool or with isolate option in transaction definition. Sent it to CICS support team.
Back to top
View user's profile Send private message
Rohit Umarjikar

Senior Member


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

PostPosted: Thu Oct 13, 2016 10:56 pm    Post subject:
Reply with quote

Quote:
Sent it to CICS support team
,That's the right step you took.
CICS abend - AFDK
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts IDMS/DC-COBOL program - SNAP error wh... rakeshsekar1987 IDMS/ADSO 5 Tue Sep 13, 2016 8:28 pm
No new posts Truncated error message after VERIFY ... David Sde TSO/ISPF 4 Mon Sep 05, 2016 11:26 pm


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