The FOR operand with the TAB2 command limits the number of identifiers included in a report for each identifier listed by the TAB command.
Example 1: TAB and TAB2 Commands
The following TAB and TAB2 commands create a report showing terminals and the five transactions used the most by each:
TAB TERMID TRAN USE AND,
TRAN LIFE AND,
TRAN CPU
TAB2 TRANID FOR 5 TRAN USE AND,
TRAN LIFE AND,
TRAN CPU
END
RUN
A report like the following, shown in part, is generated:
TERM TRAN TRAN TRAN TRAN TRAN TRAN TRAN ID USE LIFE CPU ID USE LIFE CPU -------- -------- -------- -------- -------- -------- -------- -------- WA19 65 1.943 0.037 CSPG 40 0.033 0.002 GLAE 23 5.193 0.098 CSSN 1 5.527 0.080 CSGM 1 0.037 0.002 -------- -------- -------- -------- SUMMARY 65 1.943 0.037 -------- -------- -------- -------- 4A93 53 18.37 0.116 WISB 51 19.01 0.121 CSSN 1 4.460 0.019 CSGM 1 0.012 0.002 -------- -------- -------- -------- SUMMARY 53 18.37 0.116 -------- -------- -------- -------- BP3P 42 2.921 0.088 RAPP 42 2.921 0.088 0A0B 33 2.424 0.020 CSPG 18 0.022 0.002 PADI 14 5.683 0.044 CSGM 1 0.017 0.002 -------- -------- -------- -------- SUMMARY 33 2.424 0.020 -------- -------- -------- -------- 0A14 31 5.125 0.086 WISI 11 14.26 0.199 CHAI 11 0.071 0.022 PART 7 0.173 0.035 CSGM 2 0.015 0.002 -------- -------- -------- -------- SUMMARY 31 5.125 0.086 -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- SUMMARY 8684 87.43 0.633 8684 87.43 0.633 -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- --------
Example 2: FOR Operand with TAB and TAB2 Commands
The FOR operand combined with both the TAB and TAB2 commands creates a table of transactions and the terminals associated with them:
TAB TRANID FOR 3 TRAN USE AND,
TRAN LIFE AND,
TRAN CPU
TAB2 TERMID FOR 9 TRAN USE AND,
TRAN LIFE AND,
TRAN CPU
END
RUN
A report like the following is generated:
TRAN TRAN TRAN TRAN TERM TRAN TRAN TRAN ID USE LIFE CPU ID USE LIFE CPU -------- -------- -------- -------- -------- -------- -------- -------- FXFR 2482 0.361 0.072 F014 2482 0.361 0.072 PSPI 939 0.248 0.092 8A21 197 0.219 0.084 . F006 116 0.327 0.158 . 0A09 67 0.198 0.103 . 0A02 64 0.224 0.103 . 8A03 60 0.228 0.060 . 8A09 57 0.163 0.048 . F012 41 0.271 0.106 . 4A64 41 0.235 0.079 . 8A24 40 0.370 0.102 . -------- -------- -------- -------- . SUMMARY 683 1305 517.8 . -------- -------- -------- -------- CSNE 699 0.026 0.007 N/A 699 0.026 0.007 -------- -------- -------- -------- -------- -------- -------- -------- SUMMARY 4120 0.279 0.066 8684 87.43 0.633 -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- --------
|
Copyright © 2013 CA.
All rights reserved.
|
|