|
Hello Viji, You wrote: >We know that PDM allows us to create options etc. Will it not be great >if we can add more options to existing IBM panels - like WRKSPLF? I for >one, would like to create such options like CPYSPLF, or other options to >archive etc. for example. PDM supports user-defined options but it doesn't use UIM. PDM is built with normal display file support using subfiles and multiple record formats. If PDM can do it then you can too! You cannot add your own functions to IBM panels because they haven't been designed to support that. They could, of course, but I don't see Rochester doing that -- especially with their current love-affair with Windoze as the AS/400 user interface. (Excuse me while I throw up.) >Will it be possible to explore this option in panels that will be created >by users ? Predefined options numbers can be provided ofcourse...Or is >the whole thing too much to ask from UIM? It is certainly possible to support user-defined options using UIM if you take responsibility for processing the list actions in your application. A select list could be used to check for predefined options (e.g., any numeric options) and then call a program to handle user-defined options (e.g., alphabetic options). A generic list processor could be created that looked for options in a file, performed variable substitution, and ran the resulting command. The real difficulty is handling options that make no sense for certain lists e.g., a RunProgram (RP) option invoked on a WRKSPLF panel. I might attempt that in the final chapter of the book but maybe that should be left as an exercise for the reader :) Regards, Simon Coulter. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«» «» FlyByNight Software AS/400 Technical Specialists «» «» Eclipse the competition - run your business on an IBM AS/400. «» «» «» «» Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ «» «» Fax: +61 3 9419 0175 mailto: shc@flybynight.com.au \ / «» «» X «» «» ASCII Ribbon campaign against HTML E-Mail / \ «» «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«» +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.