NorstarOption
Technical User
Anyone has a script to retrieve all BARS info to excel?
TIA
TIA
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
.. is there an advantage over waitquiet FOREVER? my scripts are very simular to yours, if they work in my switch, i stop.. i've always said firebird's work is closer to art then work.. mine do the job but i just use them to save me time, and up until a year ago never meet another switchman that used them at all..waitquiet 2 FOREVER
[b]Get_bars.was[/b]
;this script will collect all that is needed for netty.xls
proc main
capture on
set txpace 45
transmit "****^M"
; ****** Get all from AC1**********
transmit "LD 90^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "net^M"
waitfor "TRAN "
transmit "ac1^M"
waitfor "TYPE "
transmit "npa^M"
waitquiet 2 FOREVER
transmit "^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "net^M"
waitfor "TRAN "
transmit "ac1^M"
waitfor "TYPE "
transmit "nxx^M"
waitquiet 2 FOREVER
transmit "^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "net^M"
waitfor "TRAN"
transmit "ac1^M"
waitfor "TYPE"
transmit "SPN^M"
waitquiet 2 FOREVER
transmit "^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "net^M"
waitfor "TRAN "
transmit "ac1^M"
waitfor "TYPE "
transmit "loc^M"
waitquiet 2 FOREVER
transmit "^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "net^M"
waitfor "TRAN "
transmit "ac1^M"
waitfor "TYPE "
transmit "HLOC^M"
waitquiet 2 FOREVER
transmit "^M"
waitfor "REQ" forever
; ****** Get all from AC1 is done!**********
transmit "END^M"
waitquiet 2 FOREVER
; ****** Get all from AC2**********
transmit "ld 90^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "net^M"
waitfor "TRAN "
transmit "ac2^M"
waitfor "TYPE "
transmit "npa^M"
waitquiet 2 FOREVER
transmit "^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "net^M"
waitfor "TRAN "
transmit "ac2^M"
waitfor "TYPE "
transmit "nxx^M"
waitquiet 2 FOREVER
transmit "^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "net^M"
waitfor "TRAN "
transmit "ac2^M"
waitfor "TYPE "
transmit "SPN^M"
waitquiet 2 FOREVER
transmit "^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "net^M"
waitfor "TRAN "
transmit "ac2^M"
waitfor "TYPE "
transmit "loc^M"
waitquiet 2 FOREVER
transmit "^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "net^M"
waitfor "TRAN "
transmit "ac2^M"
waitfor "TYPE "
transmit "HLOC^M"
waitquiet 2 FOREVER
transmit "^M"
waitfor "REQ" forever
; ****** Get all from AC2 is done!**********
transmit "END^M"
waitquiet 2 FOREVER
;********LD 87 CDP collection**************
transmit "ld 87^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "cdp^M"
waitfor "TYPE "
transmit "dsc^M"
waitfor "DSC "
transmit "^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "cdp^M"
waitfor "TYPE "
transmit "lsc^M"
waitfor "LSC "
transmit "^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "cdp^M"
waitfor "TYPE "
transmit "tsc^M"
waitfor "TSC "
transmit "^M"
waitfor "REQ" forever
transmit "END^M"
waitquiet 2 FOREVER
;****** LD 86 RLI & DGT**********
transmit "ld 86^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "rlb^M"
waitfor "RLI "
transmit "^M"
waitfor "REQ" forever
transmit "prt^M"
waitfor "CUST "
transmit "0^M"
waitfor "FEAT "
transmit "dgt^M"
waitfor "DMI "
transmit "^M"
waitfor "REQ" forever
transmit "END^M"
waitquiet 2 FOREVER
capture off
set txpace 0
endproc