z/OS Communications Server: SNA Diagnosis Vol 1, Techniques and Procedures
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Interactive mode

z/OS Communications Server: SNA Diagnosis Vol 1, Techniques and Procedures
GC27-3667-00

As an alternative to running in batch mode, you may invoke the following routine to run the VIT analysis tool interactively. If you choose this method for processing, your terminal will be unavailable until processing is completed.

Figure 1. Sample VIT analysis tool interactive routine
1. /*REXX*/
2. /*******************************************************************/
3. /*  Run the VIT analysis tool interactively.                       */
4. /*                                                                 */
5. /*  Tailor the data set names and other ALLOC options as needed for*/
6. /*  each run.                                                      */
7. /*                                                                 */
8. /*******************************************************************/
9.
10.'ALLOC DD(PARM)     DSN(run1.parm) SHR'
11.'ALLOC DD(TRACE)    DSN(run1.trace) SHR'
12.'ALLOC DD(SUMMARY)  DSN(run1.summary) OLD'
13.'ALLOC DD(DETAILS)  DSN(run1.details) OLD'
14.'ALLOC DD(OUTSTAN)  DSN(run1.outstan) OLD'
15.'ALLOC DD(LOG)      DSN(run1.log)     OLD'
16.'ALLOC DD(VITEXT)   DSN(run1.vitext)  OLD'
17.
18."CALL 'SYS1.MIGLIB(ISTRAFT1)'"
19.
20.'FREE DD(SUMMARY,DETAILS,OUTSTAN,LOG,VITEXT,PARM,TRACE)'
 

The lines in Figure 1 are:

Line Description
1 Required for a REXX EXEC.
2–8 Comments.
10–16 Data set allocations. The data sets must be preallocated.
18 Invokes the VIT analysis tool, assuming that it has been installed in the SYS1.MIGLIB load library.
20 Frees the data sets allocated to the DD name statements to allow the exec to run again with different data set names.
Note:
  1. The DD parameters are required. The DSN parameters are optional and can be varied.
  2. Return codes are not checked in this example.
  3. Your user terminal will not be available while the tool is active.
  4. This example is not shipped with the VTAM® code and is included for information only.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014