|
To be dynamic, you are going to have to look up the files within a library at the time of prompting. I agree that it would be a waste of time to hardcode filenames, but the only way I can suggest of achieving a promptable list is to have the command prompt the user if the second parameter is blank - perhaps cued by a validity checker pgm ? Then your prompt pgm will receive the library parm, populate a file list from this (PFs only ?) and present the user with a list of possible files. Why not use a subfile for this - isn't that what they're for ? Best of luck, commands are fun, Fiona
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.