× 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.



Ah... amazing how once you ask someone a question the answer pops out at
you. 

I just discovered the PMTCTL(*PMTRQS) parameter.  Which hides the extra
parms until the users presses the F10 function key. Woo-hoo!

I'm still trying to figure out how to trigger a set of parms showing up
based on a certain value entered in another parm.  If anyone has an idea on
that one, I'd appreciate suggestions.

Or, I guess if you wait long enough to answer, I'll probably figure it out
myself in the meantime. :-)

TIA

Shannon O'Donnell

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Shannon ODonnell
Sent: Saturday, December 17, 2005 1:08 PM
To: 'Midrange Systems Technical Discussion'
Subject: Creating Commands

Hi,

 

One of the features of OS/400 commands that I really like is how a command,
like CPYTOIMPF for example, only displays part of the command parameters
until you press F9 (All Parameters).    Another cool feature is a command
like DSPOBJD.  When you enter *OUTFILE in the Output parameter and press the
Enter key, you are automatically prompted to enter an OUTFILE name and
library. If you don't enter *OUTFILE in the OUTPUT parameter, you never see
those additional parms.

 

 

Is there a way to duplicate this functionality in user created commands?
I've been playing around with it a little bit today and so far have not
figured out the right combination of parameters on the PARM keyword in my
command source.

 

Can anyone tell me how this functionality is achieved?

 

Thank you,

 

Shannon O'Donnell

 


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.