× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Have a look at the Selective Prompting for CL commands in the manual

https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/rbam6/rbam6pdf.pdf?view=kc

Page 355.

Your example of the call where you want to only control the library may
not be possible unless you write your own command but as you have not said
what commands you are wanting to control you may find these options
assist.



Don Brown





From: "Justin Taylor" <JUSTIN@xxxxxxxxxxxxx>
To: "MIDRANGE-L (midrange-l@xxxxxxxxxxxx)" <midrange-l@xxxxxxxxxxxx>
Date: 01/05/2018 01:50 AM
Subject: Newsletter / Marketing: Menu prompt object only
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>



I have a 5250 menu with a command that references a qualified object
(MYLIB/MYOBJECT). We'd like for the user to be able to specify the object
but not the library. I can get the command to prompt for the qualified
object, but not just the object itself.

Is there a way to do that on the menu? Alternatively, doesn't the OS now
have ways to create command aliases? I checked Google for both. DDS
menus are so old it's hard to find a lot of specifics, and I came up with
nothing about command aliases.

Here's what I have so far, just using CALL as an example:
CALL ??PGM(MYLIB/MYOBJECT)


TIA

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.