User Tools

Site Tools


utilitarios_cisis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
utilitarios_cisis [29/07/2007 10:55]
fernando
utilitarios_cisis [05/05/2009 23:22]
fernando
Line 17: Line 17:
  
 Estos utilitarios fueron desarrollados por [[Bireme]], y su distribución es gratuita. El código fuente permanece cerrado. Estos utilitarios fueron desarrollados por [[Bireme]], y su distribución es gratuita. El código fuente permanece cerrado.
 +
  
  
Line 269: Line 270:
  
    ​{+|-}control|leader|xref|dir|fields|all ​   [now] [mfrl]    ​{+|-}control|leader|xref|dir|fields|all ​   [now] [mfrl]
 +</​code>​
 +
 +==== msrt ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility MSRT
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +msrt <​dbname>​ <​keylen>​ <​keyfmt>​ [-mfn] [tell=<​n>​]
 +
 + <​dbname>​ master file to be sorted in place or <​dbn>,<​0>​
 + <​keylen>​ sort key length
 + <​keyfmt>​ format specification to generate sort keys or tag=<​n>​
 +
 + ​-mfn ​    keep the original MFNs
 + ​+del ​    ​delete duplicate tag=<​n>​ keys
 + ​tell=<​n>​ produce a message to the stderr every each <n> keys
 </​code>​ </​code>​
  
Line 300: Line 318:
            7 «Field 7/3.»            7 «Field 7/3.»
 </​code>​ </​code>​
 +
 +==== mxf0 ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility MXF0
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +mxf0 <​dbname>​ [create=]<​dbnout>​ [<​tnrecs>​] [noedit] [tell=<​n>​] [total]
 +
 + <​dbname>​ input master file
 + <​dbnout>​ output master file for results
 + <​tnrecs>​ expected number of input records (default=0)
 +
 + ​noedit ​  ​suppress all leading spaces in the output data fields
 + ​tell=<​n>​ produce a message to the stderr every each <n> input records
 +
 + The following tags are output to <​dbnout>:​
 +
 +  1001: input master file name
 +  1003: date & time stamp
 +  1009: total number of records
 +  1010: number of active records
 +  1011: number of logically deleted records
 +  1012: number of physically deleted records
 +  1013: next MFN to be assigned
 +  1020: ^tTAG ^dDOCS ^oOCCS ^lMINLEN ^uMAXLEN ^nDATA BYTES
 +  1030: ^tall ^xCHRCODE ^nCHRFREQ
 +
 + Exit code is 0 if the total number of records is equal to <​tnrecs>​
 +</​code>​
 +
 +==== mxtb ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility MXTB
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +mxtb <dbn> [create=|append=]<​dbnout>​ <key> [<​key>​ ...] [<​option>​ [...]]
 +
 +keys:    keylen:​key_fmtspec
 +
 +options: {from|to|loop|count|tell|btell}=<​n>​
 +         ​tab=<​tab_val_fmt>​
 +         ​mfnsum=<#​levels>​ [{min|max}{avg|freq}=<​n>​]
 +         ​class=1000
 +         ​bool=<​expr>​
 +         ​uctab={<​file>​|ansi}
 +
 +Ex: mxtb in out len1:fmt1 len2:fmt2 len3:fmt3
 +
 +     out = 1  key/​key1_value (max len1 chars)
 +           ​2 ​ key/​key2_value (max len2 chars)
 +           ​3 ​ key/​key3_value (max len3 chars)
 +         ​998 ​ 999999999 - key_frequency
 +         ​999 ​ key_frequency
 +
 +Ex: mxtb in out len:fmt tab=Vtag
 +
 +     out = 1  key_value (max len chars)
 +         ​998 ​ 999999999 - Vtag_subtotal
 +         ​999 ​ Vtag_subtotal
 +</​code>​
 +
 +==== retag ====
 +
 +<​code>​
 +CISIS Interface v5.2b/​PC32/​M/​32767/​10/​30/​I - Utility RETAG
 +Copyright (c)BIREME/​PAHO 2006. [http://​www.bireme.br/​products/​cisis]
 +
 +retag <​dbname>​ {<​retag.tab>​|unlock} [<​option>​ [...]]
 +
 + <​dbname> ​   master file to be retagged/​unlocked
 + <​retag.tab>​ retag table
 +
 +options: ​    ​{from|to|tell|shift}=<​n>​
 +
 +The retag table is a sequential file in the format:
 +
 +   <​tag>​ <new tag> ​  (max 5461 entries)
 +
 +The table:
 +
 + 24 240
 + 70 700
 +
 +changes tag 24 to 240 and 70 to 700
 +</​code>​
 +
 +{{tag>​isis}}
utilitarios_cisis.txt · Last modified: 06/05/2009 00:00 (external edit)