|
Jim, > - Are command parameters passed to the checker in the > sequence of the command prompt or some other sequence > (what if "Order prompt is displayed" is active??) VCPs have the same parameter layout as the CPP for the command; it is not dependent upon which parameters are prompted. In fact, IBM programs often have parameters which are never prompted. For user written commands, obviously you will already know what the CPP expects. For IBM-supplied commands, it is non-trivial to determine what the VCP expects. However, Dave McKenzie has an *excellent* freeware program which recreates the command source from a command object. You can run this against CHGJOB or anything else, then use the command source to determine what your VCP should expect. The utility is called RTVCMDSRC. and is available from the News/400 web site download section. I highly recommend it. Doug +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-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.