wiki:ShExtract

Version 2 (modified by MarcusWalther, 15 years ago) (diff)

--

Return to command index

extract info from q-file

command: EXTRACT <q-file> <trcno> <info> <symbol>

Extracts information from given q-file and stores it in specified symbol.

parameters

  • <q-file> parameter type: filename (without extension)
    Name of q-file, where the information should be extracted.
  • <trcno> parameter type: integer
    Number of trace in the q-file to read the information from. If <info> equals to "NO_OF_RECS" this parameter is ignored.
  • <info> parameter type: info entry
    Name of info entry to be extracted from specified trace or keyword "NO_OF_RECS" to get total number of traces in the q-file. The mandantory <trcno> parameter is here omitted.
  • <symbol> parameter type: symbol address
    Name of symbol where the information value is to be stored.

examples

extract MYQFILE 3 SLOWNESS &SLO
extracts slowness value from 3 trace in file "MYQFILE" and stores it in symbol "SLO".
extract MYQFILE 1 NO_OF_RECS &NO
returns number of traces in q-file "MYQFILE" in symbol "NO".