On Wednesday, 02/15/2006 at 11:50 PST, "Schuh, Richard" <[EMAIL PROTECTED]> wrote: > Is there an exit or other facility that allows an authorized class G user to > issue VTAM commands and get the response back? We have some naïve (VM > illiterate) users in the network group who need to be able to issue commands to > VTAM. I am hesitant about giving them the ability to either log on to VTAM or > be made SECUSER to it. My fuzzy memory in this area is that there is/was a > commonly used exit or exec available somewhere.
Depends on how complex you want the solution to be. VTAM has a multi-threaded command API built into it - it's used by Netview. But you can write your own GCS application that talks to it, opening a VTAM APPL ACB with AUTH=SPO. This is what the old VTAMOPER (VTAMOP?) program did, written by Bob Pesner and posted to VMSHARE. That program, running in the VTAM virtual machine, accepted SMSGs, checked an authorization file, issued the command, and MSGNOH'd the responses back to the issuer. (I never got it work really reliably - it abends after a while.) PROP is ok, but you have to perform some fancy footwork to correctly get the VTAM responses back to the issuer, and you can only have one VTAM command running at a time. Alan Altmark z/VM Development IBM Endicott
