

Using and Modifying Copied Code › Listing the Contents of a Data File › What You Can Do
What You Can Do
You can list the contents of a data file before CA Culprit reports are run against a file. Three to ten fields for a specified number of records can be printed in the order of appearance in the file.
You can also sort records, select records, and print total lines.
How to Do It
Code:
- An =MACRO or USE parameter with:
- AMLIST immediately followed by a number from 3 to 10, depending on how many fields are to be listed
- The WITH VALUES clause if you code the USE parameter
- An argument list enclosed in parentheses (the number of records to be listed, the subtitle, the field names in the order of listing)
- The =MEND parameter, if =MACRO is used
Copyright © 2014 CA.
All rights reserved.
 
|
|