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
routine1. /*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)'
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: - The DD parameters are required. The DSN parameters are optional
and can be varied.
- Return codes are not checked in this example.
- Your user terminal will not be available while the tool is active.
- This example is not shipped with the VTAM® code and is included for information only.