How to report on a Data Set Prefix or High Level Qualifier running TMSGRW?
CA 1 12.6 and 14.0
TMSGRW compares the operands from the WHEN statement using the length of the first operand. If you specify your operand from the CONTROL SECTION, as first operand you get a match for all records starting with your defined value in the related field.
NOTE: this works for character fields only.
The following sample lists all volumes with a DSN starting with USER01.T:
If more complex filtering is required use CA Vantage GMI or the pattern masking feature of EARL.