next up previous contents
Next: *imcnts* - Use of Up: Regions and Source Parameters Previous: Other Useful Functions

*tprint* - Reading a Table File Created by imcnts

Table files like the ones created in the section on imcnts can be displayed, printed and manipulated using the tasks contained in the stsdas.ttools package.

Tables are composed of a header section, followed by columns for storing data. Header and table information can be accessed (read, printed, copied) or modified through editing. Table columns can also be plotted or used in arithmetic calculations or statistics.

To read and print the tables obtained in the previous section:

  sp> tables                                         # Load the relevant package
  ta> tprint rp90_cnt prpar=yes                         # .tab extension assumed
                       # the hidden parameter prpar is set to display the header
                                                           # as well as the data

  ta> tprint rp90_cnt                              # Displays only the data info
  ta> tprint rp90_cnt prdata- prpar+             # Displays only the header info
  ta> tprint rp90_cnt prparam=yes | page         # To read both header and data,
                        # one page at a time. Note the alternate form of prpar+.
  ta> tprint rp90_cnt prparam=yes | lprint             # Sends output to printer
  ta> tprint rp90_cnt prpar+ >           # To write to a file,