Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Not under consideration
Workspace IBM i
Created by Guest
Created on Feb 7, 2017

lock being dropped when an object is deleted

I'm going to describe this behaviour I think it's strange, although not
sure if it's the normal way to work.

When we exclusive lock a logical file, the physicals are also locked; I
understand this is normal. But, if we delete the logical while it's
still locked, the physicals remain locked till the job that locked
the logical is ended.

Our question is if those locks over the physical files shouldn't be
realeased when the logical is deleted, without waiting for the job to
end. This is causing issues in our applications because those physical
files keep the locks for long times and can't be used by another jobs.


Use Case:

You can recreate this with these instructions:

> STRSQL
> CREATE TABLE ZFPGPRUEBA/PRUEBA_T1 (CAMPO1 CHAR (10 ) NOT NULL WITH
DEFAULT)
> CREATE TABLE ZFPGPRUEBA/PRUEBA_T2 (CAMPO2 CHAR (10 ) NOT NULL WITH
DEFAULT)
> CREATE VIEW ZFPGPRUEBA/PRUEBA_V (CAMPO1, CAMPO2) AS SELECT * FROM
ZFPGPRUEBA/PRUEBA_T1, ZFPGPRUEBA/PRUEBA_T2
> ALCOBJ OBJ((ZFPGPRUEBA/PRUEBA_V *FILE *EXCL))
> WRKOBJLCK OBJ(ZFPGPRUEBA/PRUEBA_V) OBJTYPE(*FILE) MBR(*ALL) shows:

PRUEBA_V QPADEV0046 FPG002ES MIEMBR *SHRRD RETE S

> WRKOBJLCK OBJ(ZFPGPRUEBA/PRUEBA_T1) OBJTYPE(*FILE) MBR(*ALL) shows:

PRUEBA_T1 QPADEV0046 FPG002ES DATOS *EXCL RETE

> WRKOBJLCK OBJ(ZFPGPRUEBA/PRUEBA_T2) OBJTYPE(*FILE) MBR(*ALL) shows:

PRUEBA_T2 QPADEV0046 FPG002ES DATOS *EXCL RETE

> DLTF FILE(ZFPGPRUEBA/PRUEBA_V)

> WRKOBJLCK for the two PFs show the same till the job is ended, when we
consider deleting the LF should have released these locks.


Idea priority High
  • Guest
    Reply
    |
    Oct 26, 2017

    This RFE is being Declined since this is expected behavior.

    This is the normal was ALCOBJ works when referencing a logical file or view. The OS has no knowledge that the physical files were locked by an ALCOBJ of a view.

  • Guest
    Reply
    |
    Aug 8, 2017

    The CAAC has reviewed this requirement and recommends that IBM view this as a high priority requirement that should be addressed.

    Background: The COMMON Americas Advisory Council (CAAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CAAC has a key role in working with IBM i development to help assess the value and impact of individual RFEs on the broader IBM i community, and has therefore reviewed your RFE.

    For more information about CAAC, see www.common.org/caac

    For more details about CAAC's role with RFEs, see http://www.ibmsystemsmag.com/Blogs/i-Can/May-2017/COMMON-Americas-Advisory-Council-%28CAAC%29-and-RFEs/

    Dawn May - CAAC Program Manager

  • Guest
    Reply
    |
    Aug 1, 2017

    I was able to reproduce the scenario described in the request. It seems reasonable that once the logical file has been deleted that the locks should drop off of the physicals.
    Tom Duncan - CAAC Member