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



Hi, Tomasz:

You could look at this:

1. Create a display file with all the keywords in the command that you 
want to be changeable represented by entry-capable fields.

2. In the CL set all the desired field values to defaults.

3. Use SNDRCVFMT to process the display file. 

4. Pass the returned field values to the command.

Darrell

Darrell A. Martin  -  754-2187
Manager, Computer Operations
dmartin@xxxxxxxxxxxxx

midrange-l-bounces@xxxxxxxxxxxx wrote on 07/20/2006 05:43:20 PM:

Hi

I want to create CL program with calling some other command where prompt
will be added, deafault value loaded, but I want to have an 
possibilities to
change this value during calling.

i.e

From code

             ?          WRKOUTQ OUTPUT(*PRINT)


I got:

                       Work with Output Queue (WRKOUTQ)

Type choices, press Enter.

Output queue . . . . . . . . . .   *ALL          Name, generic*, *ALL

  Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB, 
*ALL

Output . . . . . . . . . . . . . > *PRINT        *, *PRINT  (this field 
is
not allowed to changing) 

How to get prompt with some defaults values and all fields "active"?

Regards

Tomasz Skorza





This e-mail, including attachments, may contain information that is 
confidential and/or proprietary, and may only be used by the person to 
whom this email is addressed. If the recipient of this e-mail is not the 
intended recipient or an authorized agent, the reader is hereby notified 
that any dissemination, distribution, or copying of this e-mail is 
prohibited. If this e-mail has been delivered to you in error, please 
notify the sender by replying to this message and deleting this e-mail 
immediately.

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.