×
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.
In the hope of teaching someone "how to fish" - AS/400 commands are built
with standard components - DSP for 'display' and FLR for 'folder', etc.
These components are documented in CL Programming manual.
Appendix E. Abbreviations of CL Commands and Keywords
This section contains alphabetic lists of abbreviations that are used in CL
commands that are part of IBM OS/400 and other IBM AS/400 licensed
programs. This information can assist you in naming commands and keywords
in a consistent manner when using command definition.
So, to display the contents of a folder, try DSPFLR. It has an *OUTFILE
option, so can be read in your choice program.
Knowing these abbreviations is useful, too, in looking for commands for
object types or actions. Thereare many menus that list commands, and they
all start with CMD, followed by one of these abbreviations. Commands about
folders can be seen using GO CMDFLR.
But it probably won't work - the choice program only gets passed the
command name, the parameter name, and a type character, 'C' or 'P'. The
values of parameters are not available, AFAIK.
Of course, you could use a choice program to display all folders, then pass
back selected folder. Still, this does not fill in the parameter, only
shows a list of values. Also, it does not do any validity checking. You'd
need to have some mechanism in the validity checker to do this.
Or use the exit program facility for commands, which comes in prior to the
rest of command processing.
HTH
Vern
At 09:08 AM 3/5/2003 +0000, you wrote:
Hi all,
I've created a command to copy a document from QDLS into appropriate
members. I was thinking of using a Choice program to list all the docs from
the designated folder. Any ideas on how to retrieve and display a list of
documents from folder A in QDLS??
Regards,
Vikas.
As an Amazon Associate we earn from qualifying purchases.
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.