View previous topic :: View next topic
|
Author |
Message |
amitc23
New User
Joined: 05 Nov 2014 Posts: 95 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
read the manuals and take the actions suggested |
|
Back to top |
|
|
amitc23
New User
Joined: 05 Nov 2014 Posts: 95 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
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 |
|
|
amitc23
New User
Joined: 05 Nov 2014 Posts: 95 Location: India
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Kerry Ropar
New User
Joined: 14 Sep 2016 Posts: 25 Location: Australia
|
|
|
|
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 |
|
|
Kerry Ropar
New User
Joined: 14 Sep 2016 Posts: 25 Location: Australia
|
|
|
|
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 |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3048 Location: NYC,USA
|
|
|
|
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 |
|
|
amitc23
New User
Joined: 05 Nov 2014 Posts: 95 Location: India
|
|
|
|
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 |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3048 Location: NYC,USA
|
|
|
|
Quote: |
Sent it to CICS support team |
,That's the right step you took.
CICS abend - AFDK |
|
Back to top |
|
|
|