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 Delivered
Workspace IBM i
Created by Guest
Created on Apr 17, 2020

Add library list options to PASE "system" command

The "system" command within PASE allows the user to run an IBM i command. I would like to see new options added so that I could specify a Current Library and Library List (e.g. comma separated) that will be used for the

The newly spawned process will inherit the library list of the current shell process. However, I don't believe there is a way to currently change this.

QShell has a "liblist" built-in that can be used to amend the library list for the current shell process. Bash, not being IBM i specific, obviously doesn't offer this. Trying to use ADDLIBLE in conjunction with the system command doesn't work because that only changes the library list for the spawned job, not the current shell process.

We currently work around this by having a special CL program to set up the library list before running an IBM i command. I would like to be able to remove this dependency and run commands directly with my desired library list.


Use Case:

Two examples of where this would have been useful:
- Open source build systems, like gmake or scons, that may need a particular library list for a compilation command
- Provisioning systems like Ansible, that run remote SSH commands


Idea priority Medium
  • Guest
    Reply
    |
    Feb 17, 2021

    We have added equivalents to QSH's getjobid, liblist, and system utilities to BASH as builtin functions: getjobid, liblist, and cl. Because these are builtin functions, they run within the calling bash instance. cl differs from system only that it defaults to running in the current process (instead of requiring -i to be passed).

    There is a more thorough writeup here: https://kadler.github.io/2020/12/23/bash-builtins.html