echo off
rem * saves traces started from cstrace in current directory but not network drive *
rem * cstrace and appnt.bat + quick beginnings (CSQKB) Appendix D for more options *
rem * command format appnf fn where fn is the trace file name                      *
rem *    if fn is not specified then use nstrc as the file name--line prior echo on*
rem * save saves traces under fn.trc (and ips trace under fnips.trc                *
rem * save saves formated traces under fn.tlg                                      *
rem * cstrace shutdown resets trace flags set from command line (appnt for example)*
rem * save saves summary and detailed traces under fn.sum and fn.det               *
if %1. == . appnf nstrc
echo on
cstrace stop
cstrace save %1.trc
cstrace format %1
cstrace shutdown
snaformat %1.tlg


