Skip to Main Content
IBM Data and AI Ideas Portal for Customers


This portal is to open public enhancement requests against products and services offered by the IBM Data & AI organization. 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

Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea


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.

IBM Employees should enter Ideas at https://ideas.ibm.com


Status Not under consideration
Workspace Optim
Components Optim Archive
Created by Guest
Created on Jul 8, 2019

Run SQL queries having joins on the tables

We use the Relational Archive Facility in IBM's InfoSphere Optim z/OS Solution to archive and then purge the data. We have created Access Definitions (AD) and each AD has a set of tables with SQL WHERE clause for some of them for extracting the data. Optim doesn't have the capability to run a SQL query with joins between multiple tables. It can only extract data from one table with condition defined in the WHERE clause

 

Our business requirement is to run a SQL query like this to extract the data from the driving table in an Access Definition (AD).

(SELECT * FROM
LPAHCA.PAYMASTR PAY
INNER JOIN
LPAHCA.PAEMPLOYEE PAE ON
PAE.COMPANY = PAY.COMPANY AND
PAE.EMPLOYEE = PAY.EMPLOYEE
LEFT OUTER JOIN
LPARFO.LEGALHOLD LEG ON
STRIP(PAE.COMP_NBR,"B") = STRIP(LEG.COMP_NBR,"B")
WHERE YEAR(PAY.CHECK_DATE) = 2008 AND
LEG.COMP_NBR IS NULL);

We can't do that right now Optim.

Needed by Date Aug 5, 2019
  • Guest
    Reply
    |
    Jan 7, 2021

    Hi, sorry I didn't see your question from October sooner!!!

    About Greg Czaja: he remains a developer on Optim for z/OS. His management may discourage him from talking directly with customers but he is extremely knowledgeable and if he can reply to you I know he will have useful info. I mention ABMartin and Estuate because they are the "official" channel for such questions.

    About your question about Archive Actions for Optim for z/OS: Here is that page: https://www.ibm.com/support/knowledgecenter/SSC6CA_11.3.0/com.ibm.nex.optimz.common.doc/AccessDefs/opzcommon-r-archive_actions.html

    You would want to use the archive action for before the first row is processed on the Optim Start Table. You can run a query like the SQL JOIN you included in this question, and put the results into the Start Table (INSERT INTO START_TABLE VALUES (your query here)).

  • Guest
    Reply
    |
    Jan 7, 2021

    Peter,

    The link you provided is for archiving data with Optim on distributed platforms. We use Optim on z/OS.

    Which panel (of the tool on z/OS) has archive actions?

  • Guest
    Reply
    |
    Oct 16, 2020

    Peter,

    Thanks for the link.

    Reg Optim support, I got support from Greg Czaja from Unicom for last couple of years.
    Has the Optim support model changed now and I need to contact someone from ABMartin and Estuate but not Greg from Unicom?

  • Guest
    Reply
    |
    Oct 16, 2020

    Hi, you can Google "Optim Archive Actions". Here is my top hit! :-)

    https://www.ibm.com/support/knowledgecenter/SSMLNW_11.3.0/com.ibm.nex.optimd.common.doc/04acdefs/opcommon-r-archive_actions_tab.html

    Also we have business partners like ABMartin and Estuate who can help, if you want a more formal relationship or engagement.

  • Guest
    Reply
    |
    Oct 15, 2020

    Peter, where can I find more details about Optim Archive Action?

  • Guest
    Reply
    |
    Oct 15, 2020

    You can run a query like this in an Optim Archive Action. It can run before other processing starts in the Archive. If the query is an INSERT (placing the results into a table holding those current results) and the INSERTed table is the start table, this will work fine.

    We will consider making this an easier to use part of Optim in future. But the point of the above is, you can do this today, fully automated, as a part of an Optim Archive.