home *** CD-ROM | disk | FTP | other *** search
/ ftp.robelle3000.ai 2014 / 2014.06.ftp.robelle3000.ai.tar / ftp.robelle3000.ai / faq / s5.txt < prev    next >
Text File  |  1995-10-10  |  574b  |  20 lines

  1. Appending Record Count to Output File.
  2.  
  3. A  simple  to  way  to  add  the record count to the output file is to use the
  4. MPE/iX Echo command and the SuprtoolFullCount hpvariable. The  only  thing  to
  5. remember is that the output file must have room for the extra line.
  6.  
  7.  !job mgr.test
  8.   !run suprtool.pub.robelle
  9.     base    store
  10.     get     m-customer
  11.     numrecs 105%             {build output bigger}
  12.     set     squeeze off      {don't make limit = eof}
  13.     output  cust
  14.     exit
  15.   !
  16.   !file cust,old
  17.   !echo Total number of customers = !suprtoolfullcount>> *cust
  18.   !eoj
  19.  
  20.