Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capturing PBX information to a text file for documentation.

Status
Not open for further replies.

Rook144

IS-IT--Management
Jan 25, 2011
7
US
I work on/with a switch that has approximately 1500 active DN appearances. I want to be able to document these as accurately as possible in real time. I manually went through and copied sections of text in LD 20 (PRT : DNB and PRT : TNB). I put all the stuff in a spreadsheet with filters. It worked out rather well, but was more time consuming than I would have liked.

My question is this... How do I do a global print out of ALL TNB/DNB data and have that captured to text *.txt. I want to be able to utilize some of the nifty spreadsheets with macros enabled on them. I don't really want to depend on my coworkers for the updating of the documentation. If I do it...I know it's been done and what I'm working with, at least in theory, is a known good.


If you could give me a step by step as far as any file conversions required, scripts, etc. I want to be able to implement this as quickly and painlessly as possible.


Thank you in advance to all those that choose to participate in this thread. :)
 
What program are you using to access the PBX ... Procomm, Hyperterminal ....?
 
go here


in the right hand window look for Conversion Utility by DB

download it and follow the instructions... it will document all your switch data to a spread sheet...
 
Is there a way for me to collect the entire TNB into a text file without me stopping the printing, copying to clipboard, and writing to a file?

I'd like to be able to just start the capture and end it once I knew that the TNB print out was completed. I looked into where the capture files are being stored, but they are being stored as a CAP file. That's not of much use to me in regard to using these spreadsheets, is it?
 
Rook144: I wrote a VB.NET program for parsing and importing the ProComm-captured DNBs into an Access database. It allows updates on subsequent imports, but in the case of a deleted DNB it marks it as legacy in the database. That way I can see the changes to the system, too. Too bad I can't contact you through Tek-Tips to get you some more info on this.

Regards,
David
 
A .CAP file is just a text-type file. You can either create the file association of .CAP to Notepad.exe in your computer, or just rename the .CAP files as .TXT afterwards.
 
Okay, I'll give that a shot. For some reason I assumed it was a proprietary file type to the Procomm.
 
I use a Procomm Plus script that lists out nearly all of the system into different text files for viewing or converting to source files etc. Some of my scripts are in the FAQ section. However, you may want to try out this one below which isn't there.

I have removed the pdt details as I don't want them to be made public. Just compile the script and READ the instructions. This file covers up to 4.5. Please let me know if you want the later copy.

###################################################################

; This used to be known as the List_All.was script. 28th April 2011

; Script to provide a list of a Nortel PBX system information for viewing via
; text files.

; NOTE!
; This program will only work with a WINDOWS version of Procomm Plus.
; I would recommend that this script is placed in the same folder as your capture
; files, because you can then use the DOS editor to check / change your files, after
; the listing have been obtained. the files are tagged as a "*.txt" for use with
; Microsoft's Notepad.
; Please amend your capture file settings under the following headings's
; "Options, Data Options, Setup Files, Capture File Options, Control Options" to
; UNCHECK the box marked "Query for file name when capture is started".
; Click "OK" & "OK" again before starting this script List_All.was program.
; This will make the script run & produce individual word or text files without
; any further manual assistance.

; Make sure that you enter the Login Name (or Account name for V04.5x onwards!)&
; the Password & click on the "ACCEPT" button to run the listings program.
; If your system does not use any Login name, then just enter any name or c/r in
; the box.
; You don't need to be LOGGED into the Meridian, before you run the script!.
; The program will still run on older software versions that don't use Named Login.
; It's best if log in first before the program is started. Just enter any name as
; mentioned above & wait 30 seconds before it will commence the input procedure.

; Run this file to capture a list of all the details listed within the file.
; It should work on all Meridian Versions & I have allowed "TARGET" prompt's
; to be used to enable the script to try & keep on going without it stopping.
; I would advise you to change the TTY port that you are using to have
; USER = "SCH" only. & Put back in the other settings after you have
; finished running the script file.

; The " ; " denotes that the data on the program script is ignored when
; the file is run.
; You must make sure that you have the "vkeys.inc" file located within
; Procomm Plus "Aspect" folder!. The script file will not compile without it!.
; If you don't have this file, then go to the last part of this script file &
; copy that section without the ";" as the file "vkeys.inc".

; This program file should remain unaltered & only copies made from it for whatever
; use is required. P.S. I suggest that you make it a "READ ONLY" file. & store it on
; your P.C's HARD DRIVE.

#include "vkeys.inc" ; You must have this file "vkeys.inc"
; located within the "Aspect" folder!
;string s_opdata[2]
STRING F_Time
;INTEGER EVENT
integer i_mdm_clrdwn

PROC MAIN
integer i_evt
;integer i_rg2_chc = 4
;integer i_rg5_chc = 6
integer i_tmp
;integer i_ch
integer i_fch_tx_val
integer i_tx_val
;integer i_p

;long l_tot_no_lin
;long l_lin_cnt
;long l_prog_bar_op
;long l_fi_sz0
;long l_cur_fi_sz0

;string s_lsno
;string s_ncos_list = ",0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80"
;string s_ncos_item
;string s_size
;string s_dnsz
;string s_fi_nm
;string s_dir
string s_pwd
string s_userid
string s_time_start
string s_date_start
;string s_progress
;string s_prog_bar
string s_tx_list = "0,5,10,20,30,40,50,80,100,120,150,180,200,300,400,500,600,700"
string s_tx_item = "100"
;string s_sce_lin

dialogbox 0 12 18 334 220 11 "Obtain most M1/Succession PBX Listings up to V04.50 as separate text files"
; radiogroup 2 i_rg2_chc
; radiobutton 3 20 6 296 11 "Enter the systems Login Name and Password in the box's below to run the listing script file"
; endgroup
text 3 20 6 296 11 "Enter the systems Login Name and Password in the box's below to run the listing script file" left
editbox 23 248 18 74 11 s_userid 11
editbox 13 248 33 74 11 s_pwd 16 MASKED
editbox 37 286 65 38 11 s_date_start 8
editbox 17 286 98 38 11 s_time_start 8
combobox 24 291 122 30 170 DROPDOWNLIST s_tx_list s_tx_item
checkbox 40 100 195 130 11 "Modem cleardown on completion" i_mdm_clrdwn
pushbutton 14 228 198 40 13 "Accept"
pushbutton 15 276 198 40 13 "Cancel"
text 29 14 85 274 11 "If you want the program to Time start enter the time in 24Hr format in the box below" left
text 47 78 33 166 11 "Switch Password is Case Sensitive for V4.5 onwards" left
text 25 43 124 246 11 "Select the systems Transmit Pacing. User a higher number on older software!." left
text 22 50 19 190 11 "Name or User ID. (No Name = any character key pressed!)" left
text 34 36 100 248 11 "Pressing the (Space Bar) = Auto Start, or enter the start Time = e.g. 16:20:00 " left
text 35 15 144 306 26 " Please remember to amend your capture file settings under the following headings's (Options, Data Options, Setup Files, Capture File Options, Control Options) to UNCHECK the box marked (Query for file name when capture is started)!. " left
text 16 14 174 306 17 "Click (OK) & (OK) again before starting this script program. This will make the script run and produce individual word and text files without any further manual assistance. " left
text 36 5 50 282 11 "If you want the program to Date start enter the Date as e.g. 23/12/05 in the box below" center
text 38 38 65 248 11 "Pressing the (Space Bar) = Auto Start, or enter the required Date for it to run" left
text 39 288 88 34 9 "Hr:Mn:Sc" center
text 41 288 55 34 9 "Dy/Mh/Yr" center
text 42 14 195 85 11 "Use up to V04.50 ONLY!" left
text 43 14 208 200 11 "Capture files are best VIEWED if only SCH is set on the TTY!" left
enddialog

while 1
dlgevent 0 i_evt
switch i_evt
case 0
; if i_rg2_chc == 3
; if nullstr s_lsno
; disable dlgctrl 0 14
; elseif nullstr s_size
; disable dlgctrl 0 14
; elseif nullstr s_dnsz
; disable dlgctrl 0 14
; elseif nullstr s_userid
; disable dlgctrl 0 14
; elseif nullstr s_pwd
; disable dlgctrl 0 14
; elseif nullstr s_fi_nm
; disable dlgctrl 0 14
; else
; enable dlgctrl 0 14
; endif
; endif
; if i_rg2_chc == 4
; if nullstr s_lsno
; disable dlgctrl 0 14
if nullstr s_date_start
disable dlgctrl 0 14
elseif nullstr s_time_start
disable dlgctrl 0 14
elseif nullstr s_userid
disable dlgctrl 0 14
elseif nullstr s_pwd
disable dlgctrl 0 14
; elseif nullstr s_fi_nm
; disable dlgctrl 0 14
else
enable dlgctrl 0 14
endif
; endif
endcase
; case 5
; if i_rg5_chc == 6
; enable dlgctrl 0 8
; enable dlgctrl 0 16
; endif
; if i_rg5_chc == 7
; disable dlgctrl 0 8
; disable dlgctrl 0 16
; endif
; endcase
; case 9
; atoi s_lsno i_tmp
; if i_tmp < 0 || i_tmp > 8190
; usermsg "LIST No. `"%d`"`n`nOUT OF RANGE" i_tmp
; sendvkey MAKE_KV(KV_SHIFT,VK_TAB)
; endif
; endcase
; case 10
; atoi s_size i_tmp
; if i_tmp < 1 || i_tmp > 1000
; usermsg "SIZE `"%d`"`n`nOUT OF RANGE" i_tmp
; sendvkey MAKE_KV(KV_SHIFT,VK_TAB)
; endif
; endcase
; case 11
; atoi s_dnsz i_tmp
; if i_tmp < 4 || i_tmp > 31
; usermsg "DNSZ `"%d`"`n`nOUT OF RANGE" i_tmp
; sendvkey MAKE_KV(KV_SHIFT,VK_TAB)
; endif
; endcase
case 13
strlen s_pwd i_tmp
if i_tmp < 4
usermsg "Password `"%s`"`n`nThis must be between 4-16 characters in length & it is case sEnsTivE on V04.50 onwards!" s_pwd
sendvkey MAKE_KV(KV_SHIFT,VK_TAB)
endif
endcase
case 14
exitwhile
endcase
case 15
exitwhile
endcase
case 17
strlen s_time_start i_tmp
if i_tmp < 1
usermsg "Start Time `"%s`"`n`nmust be 6 Numbers in length and with a :)) in between every 2 digits. or you can just press the Space Bar to leave the box blank to Auto Start the Listing program" s_time_start
sendvkey MAKE_KV(KV_SHIFT,VK_TAB)
endif
endcase
case 23
strlen s_userid i_tmp
if i_tmp < 1
usermsg "Name or UserID `"%s`"`n`nName can be up to 11 Characters. Otherwise enter a dummy name or press the Space Bar to accept the entry" s_userid
sendvkey MAKE_KV(KV_SHIFT,VK_TAB)
endif
endcase
case 37
strlen s_date_start i_tmp
if i_tmp < 1
usermsg "Start Date `"%s`"`n`nmust be 6 Numbers in length and with a (/) in between every 2 digits. or you can just press the Space Bar to leave the box blank to Auto Start the Listing program" s_date_start
sendvkey MAKE_KV(KV_SHIFT,VK_TAB)
endif
endcase
endswitch
endwhile

dlgdestroy 0 cancel

if i_evt != 14
exit
endif

; if not fopen 0 s_fi_nm read
; errormsg "Couldn't open file `"%s`"." s_fi_nm
; else
; cnt_no_fi_lines(i_ch,&l_tot_no_lin,&l_fi_sz0)

STATMSG "Waiting for the List_All auto start date/time program to run. Make sure that auto capture is set correctly!"

fetch txpace i_fch_tx_val
atoi s_tx_item i_tx_val
strcat s_tx_item " ms"
set txpace i_tx_val

datetimestart(s_time_start,s_date_start)
logi(s_userid)
login(s_pwd)

; ld_ovl_18(i_rg2_chc,i_rg5_chc,s_lsno,s_ncos_item,s_dnsz,s_size)

dialogbox 1 168 18 324 14 14 "Obtain most Nortel PBX Listings as separate text files Progress Status Bar"
; text 1 6 8 218 11 s_progress left
; editbox 2 14 22 198 11 s_prog_bar
;; text 3 14 38 290 11 s_fi_nm left
text 4 100 2 58 11 "Transmit Pace ==" left
; text 6 14 60 214 11 s_sce_lin left
text 5 162 2 34 11 s_tx_item left
enddialog

when TARGET 0 "NACT " CALL NACT
when TARGET 1 "AUTH008 " CALL CARR_RETURN
when TARGET 2 "AUTH002 " CALL SPWD_9999
when TARGET 3 "AUTH006 " CALL AUTH006
when TARGET 4 "SCH5294 " CALL SCH5294
when TARGET 5 "SCH0099 " CALL SCH5294
when TARGET 6 "SCH0705 " CALL SCH0705
when TARGET 7 "SCH8796 " CALL SCH8796
when TARGET 8 "SCH0808 " CALL SCH0808
when TARGET 9 "MARP " CALL CARR_RETURN
when TARGET 10 "OVL013 " CALL OVL013
when TARGET 11 "OVL309 " CALL OVL013
when TARGET 12 "SCH0111 " CALL SCH5289
when TARGET 13 " CPND_LANG " CALL CARR_RETURN
when TARGET 14 "SCH5289 " CALL SCH5289
when TARGET 15 "SPWD " CALL SPWD_0000
when TARGET 16 "ESN071 " CALL CARR_RETURN
when TARGET 17 "TEN " CALL CARR_RETURN
When TARGET 18 "OVL111 " CALL OVL111
When TARGET 19 "OVL428 " CALL OVL428
when TARGET 20 "KEM_RANGE " CALL CARR_RETURN
When TARGET 21 "SCH0101 " CALL SCH0101
when TARGET 22 "AUTH001 " CALL AUTH001
when TARGET 23 "Press Enter " CALL CARR_RETURN
when TARGET 24 "1. IPExpansion " CALL IPExpansion
when TARGET 25 "1. Media Gateway" CALL IPExpansion
when TARGET 26 "That option " CALL Option_not_available
when TARGET 27 "7. Current " CALL Seven_Current_Installation
when TARGET 28 "8. Current " CALL Eight_Current_Installation
when TARGET 29 "7. Current " CALL Seven_Current_Installation
when TARGET 30 "8. Current " CALL Eight_Current_Installation
when TARGET 31 "CONFIRM TEMPLATE " CALL TEMPLATE_AUDIT
when TARGET 32 "Wrong password. " CALL Wrong_password
when TARGET 33 "Invalid Login " CALL Wrong_password
when TARGET 34 "ACTIVE ETHERNET" CALL ACTIVE_ETHERNET
when TARGET 35 "BLOC " CALL CARR_RETURN


CALL LIST_ALL

ENDPROC

PROC LIST_ALL

txdc ("****")
SET CAPTURE FILE "Configuration Record 1.txt"
CAPTURE ON
STATMSG "WRITING Configuration Record 1.txt (LD 22) ISS Listing out the systems software Issue"
txdc ("LD 22")
WAITFOR "REQ"
txdc ("ISS")
WAITQUIET 5 FOREVER
txdc ("***")
STATMSG "WRITING Configuration Record 1.txt (LD 22) TID Listing out the systems Site Identification"
WAITFOR "REQ"
txdc ("TID")
WAITQUIET 5 FOREVER
txdc ("***")
STATMSG "WRITING Configuration Record 1.txt (LD 22) SLT Listing out the software Parameters"
WAITFOR "REQ"
txdc ("SLT")
WAITQUIET 5 FOREVER
txdc ("***")
STATMSG "WRITING Configuration Record 1.txt (LD 22) CFN Listing out the Configuration Settings"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("CFN")
WAITQUIET 5 FOREVER
txdc ("***")
STATMSG "WRITING Configuration Record 1.txt (LD 22) PKG Listing out the software Packages"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("PKG")
WAITQUIET 5 FOREVER
STATMSG "WRITING Configuration Record 1.txt (LD 22) PSWV Listing out the Peripheral Software Version (PSWV) data"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("PSWV")
WAITQUIET 5 FOREVER
txdc ("***")
STATMSG "WRITING Configuration Record 1.txt (LD 22) CINV Printing out the Core Inventory list"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("CINV")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
txdc ("****")
waitfor ">"
CAPTURE OFF

SET CAPTURE FILE "Configuration Record 2.txt"
CAPTURE ON
txdc ("LD 97")
STATMSG "WRITING Configuration Record 2.txt (LD 97) XPE Printing out the Extended Peripheral Equipment"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("XPE")
; WAITFOR "XPEC " 2
pause 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING Configuration Record 2.txt (LD 97) FDL Listing out any M39xx Forced download settings"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("FDL")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING Configuration Record 2.txt (LD 97) SYSP Listing out the System parameters for Peripheral Equipment"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("SYSP")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING Configuration Record 2.txt (LD 97) SYSM Listing out the System Parameters for MSDL/MISP card"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("SYSM")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING Configuration Record 2.txt (LD 97) XCTP Listing out the system Conference/TDS/MF Sender card parameters data block"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("XCTP")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING Configuration Record 2.txt (LD 97) LOSP Listing out the Loss Plan Tables data block"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("LOSP")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING Configuration Record 2.txt (LD 97) DTD Listing out the Dial Tone Detection parameters data block"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("DTD")
WAITFOR "XTDT" 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING Configuration Record 2.txt (LD 97) DTR Listing out the Digitone Receiver parameters data block"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("DTR")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING Configuration Record 2.txt (LD 97) SUPL Listing out the Systems Superloops"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("SUPL")
; WAITFOR "SUPL " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "System Patches.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING System Patches.txt (LD 22) ISSP Listing out the software Issue and System Patches"
txdc ("LD 22")
WAITFOR "REQ"
txdc ("ISSP")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
txdc ("****")
waitfor ">"

STATMSG "WRITING System Patches.txt (LD 143) STAT MDP ISSP Listing out the System Patches"
txdc ("LD 143")
waitfor "."
txdc ("MDP ISSP")
PAUSE 26
WAITQUIET 5 FOREVER
waitfor "."
CAPTURE OFF
txdc ("****")
waitfor ">"

; SET CAPTURE FILE "Card and Set Inventory.txt"
; capture on
txdc ("****")
STATMSG "WRITING Card and Set Inventory.txt (LD 117) INV GENERATE Cards"
txdc ("LD 117")
; WAITFOR "=>"
pause 5
txdc ("INV GENERATE CARDS")
; waitfor "MAT010" forever
pause 15
txdc ("***")
; WAITFOR "=>"

STATMSG "WRITING Card and Set Inventory.txt (LD 117) INV GENERATE Sets"
pause 5
txdc ("INV GENERATE SETS")
; waitfor "MAT011" forever
txdc ("***")
; WAITFOR "=>"
pause 15
capture off
txdc ("****")

SET CAPTURE FILE "Customer Data Block.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Customer Data Block.txt (LD 21) CDB Listing out the Customer Data Block"
txdc ("LD 21")
WAITFOR "REQ"
txdc ("PRT")
; WAITFOR "TYPE" 2
txdc ("CDB")
; WAITFOR "CUST " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Primary Rate Interface Calling Line ID.txt"
CAPTURE ON
STATMSG "WRITING Primary Rate Interface Calling Line ID.txt (LD 21) CLID Listing out the Calling Line Identification"
txdc ("PRT")
; WAITFOR "TYPE" 2
txdc ("CLID")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "RNGE " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "DASS or DPNSS Digital Channels.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING DASS or DPNSS Digital Channels.txt (LD 74) DDSL Listing out any DASS or DPNSS Digital Channels"
txdc ("LD 74")
WAITFOR "REQ"
txdc ("PRT")
; WAITFOR "TYPE" 2
txdc ("DDSL")
; WAITFOR "DDSL " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING DASS or DPNSS Digital Channels.txt (LD 74) LSSL Listing out any DASS or DPNSS Analogue Channels"
WAITFOR "REQ"
txdc ("PRT")
; WAITFOR "TYPE" 2
txdc ("LSSL")
; WAITFOR "LSSL " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Route Data Block.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Route Data Block.txt (LD 21) RDB Listing out the Route Data Blocks"
txdc ("LD 21")
WAITFOR "REQ"
txdc ("PRT")
; WAITFOR "TYPE" 2
txdc ("RDB")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "ROUT " 2
txdc ("")
; WAITFOR "ACOD " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "List Trunk Members.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING List Trunk Members.txt (LD 21) LTM Listing out the Systems Trunk Members"
txdc ("LD 21")
WAITFOR "REQ"
txdc ("LTM")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "ROUT " 2
txdc ("")
; WAITFOR "ACOD " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF
txdc ("****")

; SET CAPTURE FILE "Trunks.txt"
; CAPTURE ON
; txdc ("****")
; STATMSG "WRITING Trunks.txt (LD 20) COT Printing out any Analogue Trunks"
; txdc ("LD 20")
; WAITFOR "REQ"
; txdc ("PRT")
;; WAITFOR "TYPE" 2
; txdc ("COT")
;; WAITFOR "TN " 2
; txdc ("")
;; WAITFOR "CDEN " 2
; txdc ("")
;; WAITFOR "CUST " 2
; txdc ("")
;; WAITFOR "DATE " 2
; txdc ("")
;; WAITFOR "PAGE " 2
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
;
; STATMSG "WRITING Trunks.txt (LD 20) RDC Printing out any DASS or DPNSS Trunks"
; WAITFOR "REQ"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("RDC")
;; WAITFOR "TN " 2
; txdc ("")
;; WAITFOR "CUST " 2
; txdc ("")
;; WAITFOR "DATE " 2
; txdc ("")
;; WAITFOR "PAGE " 2
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
;
; STATMSG "WRITING Trunks.txt (LD 20) VDC Printing out any Virtual DPNSS Trunks"
; WAITFOR "REQ"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("VDC")
;; WAITFOR "TN " 2
; txdc ("")
;; WAITFOR "CUST " 2
; txdc ("")
;; WAITFOR "DATE " 2
; txdc ("")
;; WAITFOR "PAGE " 2
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
;
; STATMSG "WRITING Trunks.txt (LD 20) DID Printing out any Direct Inward Dialling Trunks"
; WAITFOR "REQ"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("DID")
;; WAITFOR "TN " 2
; txdc ("")
;; WAITFOR "CDEN " 2
; txdc ("")
;; WAITFOR "CUST " 2
; txdc ("")
;; WAITFOR "DATE " 2
; txdc ("")
;; WAITFOR "PAGE " 2
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
;
; STATMSG "WRITING Trunks.txt (LD 20) TIE Printing out any Link Line Trunks"
; WAITFOR "REQ"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("TIE")
;; WAITFOR "TN " 2
; txdc ("")
;; WAITFOR "CDEN " 2
; txdc ("")
;; WAITFOR "CUST " 2
; txdc ("")
;; WAITFOR "DATE " 2
; txdc ("")
;; WAITFOR "PAGE " 2
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
;
; STATMSG "WRITING Trunks.txt (LD 20) VGW Printing out any Virtual Gateway Trunks"
; WAITFOR "REQ"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("VGW")
;; WAITFOR "TN " 2
; txdc ("")
;; WAITFOR "CDEN " 2
; txdc ("")
;; WAITFOR "CUST " 2
; txdc ("")
;; WAITFOR "XTRK " 2
; txdc ("")
;; WAITFOR "DATE " 2
; txdc ("")
;; WAITFOR "PAGE " 2
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
;
; STATMSG "WRITING Trunks.txt (LD 20) IPTI Printing out any ITG Link Line Trunks"
; WAITFOR "REQ"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("IPTI")
;; WAITFOR "TN " 2
; txdc ("")
;; WAITFOR "CDEN " 2
; txdc ("")
;; WAITFOR "CUST " 2
; txdc ("")
;; WAITFOR "XTRK " 2
; txdc ("")
;; WAITFOR "DATE " 2
; txdc ("")
;; WAITFOR "PAGE " 2
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"
; txdc ("****")
;
; STATMSG "WRITING Trunks.txt (LD 20) MUS Printing out any Music Trunks"
; txdc ("LD 20")
; WAITFOR "REQ"
; txdc ("PRT")
; WAITFOR "TYPE"
; txdc ("MUS")
;; WAITFOR "TN "
; txdc ("")
;; WAITFOR "CUST "
; txdc ("")
;; WAITFOR "DATE "
; txdc ("")
;; WAITFOR "PAGE "
; txdc ("")
; txdc ("")
; WAITFOR "REQ" FOREVER
; txdc ("END")
;
; STATMSG "WRITING Trunks.txt (LD 20) PAG Printing out any Paging Trunks"
; txdc ("LD 20")
; WAITFOR "REQ"
; txdc ("PRT")
; WAITFOR "TYPE"
; txdc ("PAG")
;; WAITFOR "TN "
; txdc ("")
;; WAITFOR "CUST "
; txdc ("")
;; WAITFOR "DATE "
; txdc ("")
;; WAITFOR "PAGE "
; txdc ("")
; txdc ("")
; WAITFOR "REQ" FOREVER
; txdc ("END")
;
; STATMSG "WRITING Trunks.txt (LD 20) AWR Listing out any Auto Wakeup Routes"
; txdc ("LD 20")
; WAITFOR "REQ"
; txdc ("PRT")
; WAITFOR "TYPE"
; txdc ("AWR")
;; WAITFOR "TN "
; txdc ("")
;; WAITFOR "CDEN "
; txdc ("")
;; WAITFOR "CUST "
; txdc ("")
;; WAITFOR "DATE "
; txdc ("")
;; WAITFOR "PAGE "
; txdc ("")
; txdc ("")
; WAITFOR "REQ" FOREVER
; txdc ("END")
;

; CAPTURE OFF

SET CAPTURE FILE "Flexible Call Routing Details.txt"
CAPTURE ON
txdc ("***")
STATMSG "WRITING Flexible Call Routing Details.txt (LD 49) FCR Listing out any Flexible Call Routing Details"
txdc ("LD 49")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("FCR")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "CRNO " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Incoming Digit Conversion Details.txt"
CAPTURE ON
STATMSG "WRITING Incoming Digit Conversion Details.txt (LD 49) IDC Listing out any Incoming Digit Conversion Details"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("IDC")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "DCNO " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Direct Inward System Access.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Direct Inward System Access.txt (LD 21) DISA Listing out any Direct Inward System Access Details"
txdc ("LD 24")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("DIS")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "DN " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Electronic Switched Network.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Electronic Switched Network.txt (LD 86) ESN Listing out the Electronic Switched Network Details"
txdc ("LD 86")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "FEAT " 2
txdc ("ESN")
WAITQUIET 5 FOREVER
txdc ("***")
PAUSE 4
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Network Attendant Service.txt"
CAPTURE ON
STATMSG "WRITING Network Attendant Service.txt (LD 86) NAS Printing out any Network Attendant Service Details"
txdc ("PRT")
WAITFOR "CUST " 2
txdc ("0")
WAITFOR "FEAT " 2
txdc ("NAS")
; WAITFOR "TBL " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Network Control Details.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Network Control Details.txt (LD 87) List of the Network Control Details"
txdc ("LD 87")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "CUST " 2
txdc ("0")
WAITFOR "FEAT " 2
txdc ("NCTL")
; WAITFOR "NRNG " 2
txdc ("0 99")
; TRANSMIT "0 99^M"
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Special Number Summary.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Special Number Summary.txt (LD 90) List of the LD 90 Summary of Network Translations Details"
txdc ("LD 90")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "CUST " 2
txdc ("0")
WAITFOR "FEAT " 2
txdc ("NET")
; WAITFOR "TRAN " 2
txdc ("SUM")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Attendant Consoles.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Attendant Consoles.txt (LD 20) Printing out any Attendant 1250 Consoles"
txdc ("LD 20")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("1250")
; WAITFOR "TN " 2
txdc ("")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "DATE " 2
pause 2
txdc ("")
; WAITFOR "PAGE " 2
pause 2
txdc ("")
pause 6
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Attendant Consoles.txt (LD 20) Printing out any Attendant 2250 Consoles"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("2250")
; WAITFOR "TN " 2
txdc ("")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "DATE " 2
pause 2
txdc ("")
; WAITFOR "PAGE " 2
pause 2
txdc ("")
pause 6
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Attendant Consoles.txt (LD 20) PWR Printing out any Attendant Power Ports"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("PWR")
; WAITFOR "TN " 2
txdc ("")
; WAITFOR "CDEN " 2
txdc ("")
; WAITFOR "DATE " 2
pause 2
txdc ("")
; WAITFOR "PAGE " 2
pause 2
txdc ("")
pause 6
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Flexible Feature Codes.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Flexible Feature Codes.txt (LD 57) FFC Listing out the Flexible Feature Codes"
txdc ("LD 57")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("FFC")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "CODE " 2
txdc ("ALL")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Group Hunt Lists.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Group Hunt Lists.txt (LD 20) GHT Printing out any Group Hunt Lists"
txdc ("LD 20")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("GHT")
; WAITFOR "LSNO " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Speed Call Lists.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Speed Call Lists.txt (LD 20) SSC Printing out the Speed Dial Lists"
txdc ("LD 20")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("SCL")
; WAITFOR "LSNO " 2
txdc ("")
WAITFOR "RNGE " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Speed Call Lists.txt (LD 20) PRE Printing out any Pre Translation lists"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("PRE")
; WAITFOR "CUST " 2
txdc ("0")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Call Park.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Call Park.txt (LD 50) Printing out any Call Park DN's"
txdc ("LD 50")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("CPK")
; WAITFOR "CUST " 2
txdc ("0")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Call Party Name Display.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Call Party Name Display.txt (LD 95) Printing out the Call Party Name Display Block"
txdc ("LD 95")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("CPND")
; WAITFOR "CUST " 2
txdc ("0")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Call Party Name Display.txt (LD 95) Printing out the System Names"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("NAME")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "CPND_LANG " 2
; txdc ("")
; WAITFOR "PAGE " 2
txdc ("")
WAITFOR "DIG " 2
txdc ("")
WAITFOR "DN " 2
txdc ("ALL")
WAITFOR "SHRT " 2
txdc ("YES")
WAITFOR "DCNO " 2
txdc ("")
WAITQUIET 15 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Call Party Name Display.txt (LD 95) Printing out any IDC Table 1 DDI Names"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("NAME")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "CPND_LANG " 2
; txdc ("")
; WAITFOR "PAGE " 2
txdc ("")
WAITFOR "DIG " 2
txdc ("")
WAITFOR "DN " 2
txdc ("")
WAITFOR "DCNO " 2
txdc ("1")
WAITFOR "IDC " 2
txdc ("ALL")
WAITFOR "SHRT " 2
txdc ("YES")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Call Party Name Display.txt (LD 95) Printing out any IDC Table 2 DDI Names"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("NAME")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "CPND_LANG " 2
; txdc ("")
; WAITFOR "PAGE " 2
txdc ("")
WAITFOR "DIG " 2
txdc ("")
WAITFOR "DN " 2
txdc ("")
WAITFOR "DCNO " 2
txdc ("2")
WAITFOR "IDC " 2
txdc ("ALL")
WAITFOR "SHRT " 2
txdc ("YES")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "ACD and CDN Queues.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING ACD and CDN Queues.txt (LD 23) ACD Printing out any Automatic Call Distribution Queues"
txdc ("LD 23")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("ACD")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "ACDN " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING ACD and CDN Queues.txt (LD 23) CDN Printing out any Control DN's"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("CDN")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "CDN " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
txdc ("****")
CAPTURE OFF

SET CAPTURE FILE "ACD and CDN Queue Lists.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING ACD and CDN Queue Lists.txt (LD 23) ACD Printing out any Automatic Call Distribution Queue Lists"
txdc ("LD 23")
WAITFOR "REQ"
txdc ("LST")
WAITFOR "TYPE" 2
txdc ("ACD")
; WAITFOR "CUST " 2
txdc ("0")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING ACD and CDN Queue Lists.txt (LD 23) CDN Printing out any Control DN Lists"
WAITFOR "REQ"
txdc ("LST")
WAITFOR "TYPE" 2
txdc ("CDN")
; WAITFOR "CUST " 2
txdc ("0")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
txdc ("****")
CAPTURE OFF

SET CAPTURE FILE "Mail or Call Pilot Agents.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Mail or Call Pilot Agents.txt (LD 20) Printing out any Meridian Mail Agent sets"
MSPAUSE 250
txdc ("LD 20")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("SL1")
pause 5
; WAITFOR "TN " 2
txdc ("")
; WAITFOR "CDEN " 2
txdc ("")
; WAITFOR "CUST " 2
txdc ("")
; WAITFOR "TEN " 2
; txdc ("")
; WAITFOR "DATE " 2
txdc ("")
; WAITFOR "PAGE " 2
txdc ("")
; WAITFOR "DES " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Mail or Call Pilot Agents.txt (LD 20) Printing out any Option 11 Meridian Mail Agent Sets"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("2008")
pause 5
; WAITFOR "TN " 2
txdc ("10")
; WAITFOR "CDEN " 2
txdc ("")
; WAITFOR "CUST " 2
txdc ("")
; WAITFOR "TEN " 2
; txdc ("")
; WAITFOR "DATE " 2
txdc ("")
; WAITFOR "PAGE " 2
txdc ("")
WAITFOR "DES " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Mail or Call Pilot Agents.txt (LD 20) Printing out any Call Pilot Agent Sets"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("2008")
; WAITFOR "TN " 2
txdc ("")
; WAITFOR "CUST " 2
txdc ("")
; WAITFOR "TEN " 2
; txdc ("")
; WAITFOR "DATE " 2
txdc ("")
; WAITFOR "PAGE " 2
txdc ("")
WAITFOR "DES " 2
txdc ("PILOT")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Mail or Call Pilot Agents.txt (LD 20) Printing out any Call Pilot Agent Sets"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("2008")
; WAITFOR "TN " 2
txdc ("")
; WAITFOR "CUST " 2
txdc ("")
; WAITFOR "TEN " 2
; txdc ("")
; WAITFOR "DATE " 2
txdc ("")
; WAITFOR "PAGE " 2
txdc ("")
WAITFOR "DES " 2
txdc ("CP")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Mail or Call Pilot Agents.txt (LD 20) Printing out any Call Pilot Agent Sets"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("2008")
; WAITFOR "TN " 2
txdc ("")
; WAITFOR "CUST " 2
txdc ("")
; WAITFOR "TEN " 2
; txdc ("")
; WAITFOR "DATE " 2
txdc ("")
; WAITFOR "PAGE " 2
txdc ("")
WAITFOR "DES " 2
txdc ("CPILOT")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "ACD Applications.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING ACD Applications.txt (LD 23) NACD Printing out any Network Automatic Call Distribution Queues"
txdc ("****")
txdc ("LD 23")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("NACD")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "ACDN " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING ACD Applications.txt (LD 23) SCB Checking for any Scheduled Call Blocks"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("SCB")
; WAITFOR "CUST " 2
txdc ("0")
WAITQUIET 5 FOREVER
txdc ("***")

STATMSG "WRITING ACD Applications.txt (LD 23) ADS Checking for any Auxiliary data system blocks"
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("ADS")
; WAITFOR "CUST " 2
txdc ("0")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Route Access Restriction table.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Route Access Restriction table.txt (LD 56) RART Checking for Route Access Restriction table data with barring"
txdc ("LD 56")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("RART")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "ROUT " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Route Access Restriction table.txt (LD 56) TBAR Checking for any Trunk Barring data block tables"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("TBAR")
; WAITFOR "ART " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Digital Trunk Interface.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Digital Trunk Interface.txt (LD 73) Printing out any Primary Rate Interface 2 PAD tables"
txdc ("LD 73")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("PRI2")
; WAITFOR "FEAT " 2
txdc ("PAD")
; WAITFOR "PDCA " 2
txdc ("")
; WAITFOR "TNLS " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Digital Trunk Interface.txt (LD 73) Printing out any Digital Trunk Interface PAD tables"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("DTI")
; WAITFOR "FEAT " 2
txdc ("PAD")
; WAITFOR "PDCA " 2
txdc ("")
; WAITFOR "TNLS " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Digital Trunk Interface.txt (LD 73) Printing out the Primary Rate Interface 2 Loop Timers"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("PRI2")
; WAITFOR "FEAT " 2
txdc ("LPTI")
; WAITFOR "LOOP " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Digital Trunk Interface.txt (LD 73) Printing out the Primary Rate Interface 2 System Timers"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("PRI2")
; WAITFOR "FEAT " 2
txdc ("SYTI")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Digital Trunk Interface.txt (LD 73) Printing out the Digital Trunk Interface 2 Loop Timers"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("DTI2")
; WAITFOR "FEAT " 2
txdc ("LPTI")
; WAITFOR "LOOP " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Digital Trunk Interface.txt (LD 73) Printing out the Digital Trunk Interface 2 System Timers"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("DTI2")
; WAITFOR "FEAT " 2
txdc ("SYTI")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Digital Trunk Interface.txt (LD 73) Printing out any Digital Trunk Interface 2 Signaling Category tables"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("DTI2")
; WAITFOR "FEAT " 2
txdc ("ABCD")
; WAITFOR "SICA " 2
txdc ("")
; WAITFOR "TNLS " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Digital Trunk Interface.txt (LD 73) DDB Printing out any Digital Data Blocks"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("DDB")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Scheduled Access Restrictions.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Scheduled Access Restrictions.txt (LD 88) AUT Check for any Authorisation Codes"
txdc ("LD 88")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("AUT")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "SPWD " 2
; txdc ("0000") ;#### Change this code as required!
; WAITFOR "CODE " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("****")

STATMSG "WRITING Scheduled Access Restrictions.txt (LD 88) AUB Check for any Authorisation Code Blocks"
txdc ("LD 88")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("AUB")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "SPWD " 2
; txdc ("0000") ;#### Change this code as required!
WAITQUIET 5 FOREVER
txdc ("****")

STATMSG "WRITING Scheduled Access Restrictions.txt (LD 88) SAR Check for any Scheduled Access Restrictions"
txdc ("LD 88")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("SAR")
; WAITFOR "CUST " 2
txdc ("0")
; WAITFOR "SPWD " 2
; txdc ("0000") ;#### Change this code as required!
; WAITFOR "TEN " 2
; txdc ("")
WAITFOR "SGRP " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("****")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Basic Rate Interface.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Basic Rate Interface.txt (LD 27) MISP Check for any cards in the system"
txdc ("LD 27")
WAITFOR "REQ"
txdc ("PRT")
; WAITFOR "TYPE" 2
txdc ("MISP")
; WAITFOR "LOOP " 2
txdc ("")
WAITQUIET 9 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Basic Rate Interface.txt (LD 27) DSL Check for any DSL cards in the system"
txdc ("PRT")
; WAITFOR "TYPE" 2
txdc ("DSL")
; WAITFOR "DSL " 2
txdc ("")
; WAITFOR "DATE " 2
txdc ("")
; WAITFOR "PAGE " 2
txdc ("")
; WAITFOR "DES " 2
txdc ("")
; WAITFOR "NACT " 2
; txdc ("")
WAITQUIET 9 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Basic Rate Interface.txt (LD 27) CARD Check for any cards in the system"
txdc ("PRT")
; WAITFOR "TYPE" 2
txdc ("CARD")
; WAITFOR "TN " 2
txdc ("")
; WAITFOR "NACT " 2
; txdc ("")
WAITQUIET 9 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "Flexible Tones and Cadences.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING Flexible Tones and Cadences.txt (LD 56) FTC List out the Flexible Tones and Cadences"
txdc ("LD 56")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("FTC")
WAITFOR "TABL " 2
txdc ("")
WAITFOR "USER " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Flexible Tones and Cadences.txt (LD 56) FCAD List out the Firmware Cadence Tables"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("FCAD")
; WAITFOR "WCAD " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Flexible Tones and Cadences.txt (LD 56) MCAD Lists out the Master Cadence Tables"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("MCAD")
; WAITFOR "WCAD " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF

SET CAPTURE FILE "IP Information.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING IP Information.txt (LD 117) PRT the ELNK settings"
txdc ("LD 117")
; WAITFOR "=>"
pause 5
txdc ("PRT ELNK")
WAITQUIET 5 FOREVER
txdc ("***")
; WAITFOR "=>"

CAPTURE OFF
txdc ("****")

; SET CAPTURE FILE "DIGITAL.txt"
; CAPTURE ON
; txdc ("****")
; STATMSG "WRITING DIGITAL.txt (LD 20) PRT ARIE Check for Aries M2xxx or Orion M3820, M3310 and M3110 phones"
; txdc ("LD 20")
; WAITFOR "REQ"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("ARIE")
;; WAITFOR "TN " 2
; txdc ("")
;; WAITFOR "CUST " 2
; txdc ("")
;; WAITFOR "TEN "
;; txdc ("")
;; WAITFOR "DATE " 2
; txdc ("")
;; WAITFOR "PAGE " 2
; txdc ("")
;; WAITFOR "DES " 2
; txdc ("")
;; PAUSE 15
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"
;
; PAUSE 5
; txdc ("****")
; PAUSE 5
;; waitfor ">"
; txdc ("LD 20")
; WAITFOR "REQ"
; STATMSG "WRITING DIGITAL.txt (LD 20) M3901 Check for any Taurus M3901 phones"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("3901")
;; WAITFOR "TN " 2
; txdc ("")
;; WAITFOR "CDEN " 2
; txdc ("")
;; WAITFOR "CUST " 2
; txdc ("")
;; WAITFOR "TEN "
;; txdc ("")
;; WAITFOR "DATE " 2
; txdc ("")
;; WAITFOR "PAGE " 2
; txdc ("")
;; WAITFOR "DES " 2
; txdc ("")
;; PAUSE 15
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"
;
; txdc ("****")
; PAUSE 5
;; waitfor ">"
; txdc ("LD 20")
; WAITFOR "REQ"
; STATMSG "WRITING DIGITAL.txt (LD 20) M3902 Check for any Taurus M3902 phones"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("3902")
;; WAITFOR "TN " 2
; txdc ("")
;; WAITFOR "CDEN " 2
; txdc ("")
;; WAITFOR "CUST " 2
; txdc ("")
;; WAITFOR "TEN "
;; txdc ("")
;; WAITFOR "DATE " 2
; txdc ("")
;; WAITFOR "PAGE " 2
; txdc ("")
;; WAITFOR "DES " 2
; txdc ("")
;; PAUSE 15
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"
;
; txdc ("****")
; PAUSE 5
;; waitfor ">"
; txdc ("LD 20")
; WAITFOR "REQ"
; STATMSG "WRITING DIGITAL.txt (LD 20) M3903 Check for any Taurus M3903 phones"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("3903")
;; WAITFOR "TN " 2
; txdc ("")
;; WAITFOR "CDEN " 2
; txdc ("")
;; WAITFOR "CUST " 2
; txdc ("")
;; WAITFOR "TEN "
;; txdc ("")
;; WAITFOR "DATE " 2
; txdc ("")
;; WAITFOR "PAGE " 2
; txdc ("")
;; WAITFOR "DES " 2
; txdc ("")
;; PAUSE 15
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"
;
; txdc ("****")
; PAUSE 5
;; waitfor ">"
; txdc ("LD 20")
; WAITFOR "REQ"
; STATMSG "WRITING DIGITAL.txt (LD 20) M3904 Check for any Taurus M3904 phones"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("3904")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"

; txdc ("****")
; PAUSE 5
; txdc ("LD 20")
; WAITFOR "REQ"
; STATMSG "WRITING DIGITAL.txt (LD 20) M3905 Check for any Taurus M3905 ACD phones"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("3905")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"

; txdc ("****")
; PAUSE 5
; txdc ("LD 20")
; WAITFOR "REQ"
; STATMSG "WRITING DIGITAL.txt (LD 20) I2001 Check for any I2001 IP Internet phones"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("I2001")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"

; txdc ("****")
; PAUSE 5
; txdc ("LD 20")
; WAITFOR "REQ"
; STATMSG "WRITING DIGITAL.txt (LD 20) I2002 Check for any I2002 IP Internet phones"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("I2002")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; PAUSE 15
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"
;
; txdc ("****")
; PAUSE 5
; txdc ("LD 20")
; WAITFOR "REQ"
; STATMSG "WRITING DIGITAL.txt (LD 20) I2004 Check for any I2004 IP Internet phones"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("I2004")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"
;
; txdc ("****")
; PAUSE 5
; txdc ("LD 20")
; WAITFOR "REQ"
; STATMSG "WRITING DIGITAL.txt (LD 20) I2050 Check for any I2050 IP Softphones"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("I2050")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"
;
; txdc ("****")
; PAUSE 5
; txdc ("LD 20")
; WAITFOR "REQ"
; STATMSG "WRITING DIGITAL.txt (LD 20) PCA Check for any Personal Call Assistant sets"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("PCA")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; txdc ("")
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"
; CAPTURE OFF
; PAUSE 5

; SET CAPTURE FILE "500.txt"
; CAPTURE ON
; txdc ("****")
; STATMSG "WRITING 500.txt (LD 20) Provide a complete list of all Analogue extn ports"
; txdc ("LD 20")
; WAITFOR "REQ"
; txdc ("PRT")
; WAITFOR "TYPE" 2
; txdc ("500")
;; WAITFOR "TN " 2
; txdc ("")
;; WAITFOR "CDEN " 2
; txdc ("")
;; WAITFOR "CUST " 2
; txdc ("")
;; WAITFOR "TEN "
;; txdc ("")
;; WAITFOR "DATE " 2
; txdc ("")
;; WAITFOR "PAGE " 2
; txdc ("")
;; WAITFOR "DES " 2
; txdc ("")
;; PAUSE 15
; WAITQUIET 5 FOREVER
; txdc ("***")
; WAITFOR "REQ"
; CAPTURE OFF
; waitfor ">"

SET CAPTURE FILE "Terminal Number Block order.txt"
txdc ("****")
CAPTURE ON
STATMSG "WRITING Terminal Number Block order.txt (LD 20) TNB Provide a complete list of all system ports"
txdc ("LD 20")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "TYPE" 2
txdc ("TNB")
; WAITFOR "TN " 2
txdc ("")
; WAITFOR "CDEN " 2
txdc ("")
; WAITFOR "CUST " 2
txdc ("")
; WAITFOR "TEN "
; txdc ("")
; WAITFOR "DATE " 2
txdc ("")
; WAITFOR "PAGE " 2
txdc ("")
; WAITFOR "DES " 2
txdc ("")
PAUSE 100
WAITQUIET 25 FOREVER
WAITFOR "REQ"
txdc ("***")
CAPTURE OFF
txdc ("****")
waitfor ">"

SET CAPTURE FILE "Template Stats.txt"
txdc ("****")
CAPTURE ON
STATMSG "WRITING Template Stats.txt (LD 1) Check to see if the System Templates are OK"
txdc ("LD 1")
PAUSE 20
WAITQUIET 5 FOREVER
CAPTURE OFF
txdc ("****")
waitfor ">"

SET CAPTURE FILE "Network Time Stats.txt"
txdc ("****")
CAPTURE ON
STATMSG "WRITING Network Time Stats.txt (LD 2) STAT the current Time & Date"
txdc ("LD 2")
waitfor "."
transmit "TTAD^M"
waitfor "."
STATMSG "WRITING Network Time Stats.txt (LD 2) STAT the daylight saving hours Status"
transmit "TDST^M"
waitfor "."
STATMSG "WRITING Network Time Stats.txt (LD 2) Query Node Time Synchronization Status"
transmit "TTSS^M"
waitfor "."
STATMSG "WRITING Network Time Stats.txt (LD 2) Query Customer in charge Time Synchronization Customer"
transmit "TTSC^M"
waitfor "."
STATMSG "WRITING Network Time Stats.txt (LD 2) Query Local Virtual DN"
transmit "TLDN^M"
waitfor "."
STATMSG "WRITING Network Time Stats.txt (LD 2) Query Master or Backup Time Synchronization Number"
transmit "TMDN^M"
waitfor "."
STATMSG "WRITING Network Time Stats.txt (LD 2) Query Time Delta"
transmit "TDEL^M"
waitfor "."
STATMSG "WRITING Network Time Stats.txt (LD 2) Query Requesting Mode Type MODe"
transmit "TMOD^M"
waitfor "."
WAITQUIET 5 FOREVER
CAPTURE OFF
txdc ("****")
waitfor ">"

SET CAPTURE FILE "M39xx firmware Stats.txt"
txdc ("****")
CAPTURE ON
STATMSG "WRITING M39xx firmware Stats.txt (LD 32) STAT FSUM for M39xx phones firmware"
txdc ("LD 32")
waitfor "." FOREVER
txdc ("FSUM")
PAUSE 40
WAITQUIET 5 FOREVER
STATMSG "WRITING M39xx firmware Stats.txt (LD 32) STAT FSUM ALL for M39xx phones firmware"
txdc ("FSUM ALL")
PAUSE 40
WAITQUIET 5 FOREVER
waitfor "."
CAPTURE OFF
txdc ("****")
waitfor ">"

SET CAPTURE FILE "Card Slot Stats.txt"
txdc ("****")
CAPTURE ON
txdc ("LD 32")
waitfor "." FOREVER
STATMSG "WRITING Card Slot Stats.txt (LD 32) LIDL List TNs of all idle units on specified shelf 1"
txdc ("LIDL 1")
PAUSE 4
WAITQUIET 5 FOREVER
STATMSG "WRITING Card Slot Stats.txt (LD 32) LDIS List TNs of all disabled units on specified shelf 1"
txdc ("LDIS 1")
PAUSE 4
WAITQUIET 5 FOREVER
STATMSG "WRITING Card Slot Stats.txt (LD 32) LBSY List TNs of all busy units on specified shelf 1"
txdc ("LBSY 1")
PAUSE 4
WAITQUIET 5 FOREVER
STATMSG "WRITING Card Slot Stats.txt (LD 32) LIDL List TNs of all idle units on specified shelf 2"
txdc ("LIDL 2")
PAUSE 4
WAITQUIET 5 FOREVER
STATMSG "WRITING Card Slot Stats.txt (LD 32) LDIS List TNs of all disabled units on specified shelf 2"
txdc ("LDIS 2")
PAUSE 4
WAITQUIET 5 FOREVER
STATMSG "WRITING Card Slot Stats.txt (LD 32) LBSY List TNs of all busy units on specified shelf 2"
txdc ("LBSY 2")
PAUSE 4
WAITQUIET 5 FOREVER
STATMSG "WRITING Card Slot Stats.txt (LD 32) LIDL List TNs of all idle units on specified shelf 3"
txdc ("LIDL 3")
PAUSE 4
WAITQUIET 5 FOREVER
STATMSG "WRITING Card Slot Stats.txt (LD 32) LDIS List TNs of all disabled units on specified shelf 3"
txdc ("LDIS 3")
PAUSE 4
WAITQUIET 5 FOREVER
STATMSG "WRITING Card Slot Stats.txt (LD 32) LBSY List TNs of all busy units on specified shelf 3"
txdc ("LBSY 3")
PAUSE 4
WAITQUIET 5 FOREVER
STATMSG "WRITING Card Slot Stats.txt (LD 32) LIDL List TNs of all idle units on specified shelf 4"
txdc ("LIDL 4")
PAUSE 4
WAITQUIET 5 FOREVER
STATMSG "WRITING Card Slot Stats.txt (LD 32) LDIS List TNs of all disabled units on specified shelf 4"
txdc ("LDIS 4")
PAUSE 4
WAITQUIET 5 FOREVER
STATMSG "WRITING Card Slot Stats.txt (LD 32) LBSY List TNs of all busy units on specified shelf 4"
txdc ("LBSY 4")
PAUSE 4
WAITQUIET 5 FOREVER
CAPTURE OFF
txdc ("****")
waitfor ">"

SET CAPTURE FILE "System TTY and EDD Stats.txt"
txdc ("****")
CAPTURE ON
STATMSG "WRITING System TTY and EDD Stats.txt (LD 37) STAT the Systems TTY's"
txdc ("LD 37")
waitfor "."
txdc ("STAT TTY")
PAUSE 6
WAITQUIET 5 FOREVER
txdc ("****")
waitfor ">"

STATMSG "WRITING System TTY and EDD Stats.txt (LD 42) STAT the number of TTY's configured"
txdc ("LD 42")
waitfor "."
txdc ("STAT")
PAUSE 6
WAITQUIET 5 FOREVER
txdc ("****")
waitfor ">"

STATMSG "WRITING System TTY and EDD Stats.txt (LD 43) STAT DAT in EDD to check it's dumping OK"
txdc ("LD 43")
waitfor "."
txdc ("DAT")
PAUSE 15
WAITQUIET 5 FOREVER
CAPTURE OFF
txdc ("****")
waitfor ">"

SET CAPTURE FILE "Mail AML and ELAN Stats.txt"
txdc ("****")
CAPTURE ON
STATMSG "WRITING Mail AML and ELAN Stats.txt (LD 48) STAT for any ELAN IP applications"
txdc ("LD 48")
waitfor "."
txdc ("STAT ELAN")
PAUSE 6
; waitfor "."
STATMSG "WRITING Mail AML and ELAN Stats.txt (LD 48) STAT for any HSL Links"
txdc ("STAT HSL")
PAUSE 6
; waitfor "."
STATMSG "WRITING Mail AML and ELAN Stats.txt (LD 48) STAT for any MON Links"
txdc ("STAT MON")
PAUSE 6
; waitfor "."
STATMSG "WRITING Mail AML and ELAN Stats.txt (LD 48) STAT for any AML Links such as Meridian Mail etc"
txdc ("STAT AML")
PAUSE 6
; waitfor "."
WAITQUIET 5 FOREVER
CAPTURE OFF
txdc ("****")
waitfor ">"

SET CAPTURE FILE "Clocking and D Channel Stats.txt"
txdc ("****")
CAPTURE ON
STATMSG "WRITING Clocking and D Channel Stats.txt (LD 60) STAT the DID IDA or TIE Clocking etc"
txdc ("LD 60")
waitfor "."
txdc ("SSCK 0")
PAUSE 6
; waitfor "."
txdc ("SSCK 1")
PAUSE 6
; waitfor "."
txdc ("SSCK 2")
PAUSE 6
; waitfor "."
txdc ("SSCK 3")
PAUSE 6
; waitfor "."
STATMSG "WRITING Clocking and D Channel Stats.txt (LD 60) LCNT List the Alarm counters on all PRI cards"
txdc ("LCNT")
PAUSE 6
waitfor "."
STATMSG "WRITING Clocking and D Channel Stats.txt (LD 60) STAT List out any PRI cards"
txdc ("STAT")
PAUSE 6
waitfor "."
WAITQUIET 5 FOREVER
txdc ("****")
waitfor ">"

STATMSG "WRITING Clocking and D Channel Stats.txt (LD 75) STAT DASS and DPNSS type D Channels"
txdc ("LD 75")
waitfor "."
txdc ("STAT DDCS")
PAUSE 6
STATMSG "WRITING Clocking and D Channel Stats.txt (LD 75) STAT the number of DDSL ports"
txdc ("STAT DDSL")
; PAUSE 6
waitfor "."
txdc ("STAT DTCS")
PAUSE 6
STATMSG "WRITING Clocking and D Channel Stats.txt (LD 75) STAT the number of DTCS ports"
waitfor "."
txdc ("STAT DTSL")
; PAUSE 6
STATMSG "WRITING Clocking and D Channel Stats.txt (LD 75) STAT the number of DTSL ports"
txdc ("STAT LSSL")
PAUSE 6
STATMSG "WRITING Clocking and D Channel Stats.txt (LD 75) STAT the number of LSSL Low Speed Signaling Link for APNSS"
WAITQUIET 5 FOREVER
txdc ("****")
waitfor ">"

STATMSG "WRITING Clocking and D Channel Stats.txt (LD 96) STAT Qxxx and ISDN30E type D Channels"
txdc ("LD 96")
waitfor "."
txdc ("STAT DCH")
PAUSE 6
STATMSG "WRITING Clocking and D Channel Stats.txt (LD 96) STAT the number of MSDL links"
txdc ("STAT MSDL")
PAUSE 6
STATMSG "WRITING Clocking and D Channel Stats.txt (LD 96) STAT to see if the D Channel Monitor is used"
txdc ("STAT MON")
PAUSE 6
WAITQUIET 5 FOREVER
CAPTURE OFF
txdc ("****")
waitfor ">"

SET CAPTURE FILE "System and ELNK Stats.txt"
txdc ("****")
CAPTURE ON
STATMSG "WRITING System and ELNK Stats.txt (LD 135) STAT the systems CPU"
txdc ("LD 135")
waitfor "."
txdc ("STAT CPU")
PAUSE 6
WAITQUIET 5 ;FOREVER
STATMSG "WRITING System and ELNK Stats.txt (LD 135) Identify the systems CPU"
txdc ("IDC CPU")
PAUSE 6
WAITQUIET 5 ;FOREVER
STATMSG "WRITING System and ELNK Stats.txt (LD 135) STAT the systems Memory"
txdc ("STAT MEM")
PAUSE 6
WAITQUIET 5 ;FOREVER
STATMSG "WRITING System and ELNK Stats.txt (LD 135) STAT the systems CNI"
txdc ("STAT CNI")
PAUSE 6
WAITQUIET 5 FOREVER
STATMSG "WRITING System and ELNK Stats.txt (LD 135) Identify the systems CNI"
txdc ("IDC CNI")
PAUSE 6
WAITQUIET 5 ;FOREVER
STATMSG "WRITING System and ELNK Stats.txt (LD 135) STAT for any IPL"
txdc ("STAT IPL")
PAUSE 6
WAITQUIET 5 ;FOREVER
STATMSG "WRITING System and ELNK Stats.txt (LD 135) STAT for any MAC address's"
txdc ("STAT MAC")
PAUSE 6
WAITQUIET 5 ;FOREVER
txdc ("****")
waitfor ">"

STATMSG "WRITING System and ELNK Stats.txt (LD 137) STAT the ELNK"
txdc ("LD 137")
waitfor "." ;FOREVER
; txdc ("STAT")
; PAUSE 6
; WAITQUIET 5 ;FOREVER
txdc ("STAT ELNK")
PAUSE 6
WAITQUIET 5 ;FOREVER
STATMSG "WRITING System and ELNK Stats.txt (LD 137) Prints the Display current run time host table status"
txdc ("STAT HOST")
PAUSE 6
WAITQUIET 5 ;FOREVER
STATMSG "WRITING System and ELNK Stats.txt (LD 137) STAT the CMDU"
txdc ("STAT CMDU")
PAUSE 6
STATMSG "WRITING System and ELNK Stats.txt (LD 137) Checking the Display Security Device Identification"
txdc ("SDID")
PAUSE 6
WAITQUIET 5 ;FOREVER
STATMSG "WRITING System and ELNK Stats.txt (LD 137) Prints the IDs of both CMDUs/MMDUs and the active IOP"
txdc ("IDC")
PAUSE 6
WAITQUIET 5 ;FOREVER
CAPTURE OFF
txdc ("****")
waitfor ">"

SET CAPTURE FILE "LD 81 Sets.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING LD 81 Sets.txt (LD 81) List out the Sets and provide a complete list of all sets in TN order"
txdc ("LD 81")
WAITFOR "REQ"
txdc ("LST")
; WAITFOR "CUST " 2
txdc ("")
; waitfor "DATE "
txdc ("")
; waitfor "PAGE "
txdc ("")
WAITFOR "DES " 2
txdc ("")
WAITFOR "FEAT " 2
txdc ("SETS")
WAITFOR "FEAT " 2
txdc ("")
WAITQUIET 15 FOREVER
; WAITFOR "NACT " 2
; txdc ("****")
; WAITFOR "REQ" FOREVER

STATMSG "WRITING LD 81 Sets.txt (LD 81) COUNT the number of Extn Sets"
txdc ("CNT")
; WAITFOR "CUST " 2
txdc ("")
; waitfor "DATE "
txdc ("")
; waitfor "PAGE "
txdc ("")
WAITFOR "DES " 2
txdc ("")
WAITFOR "FEAT " 2
txdc ("SETS")
WAITFOR "FEAT " 2
txdc ("")
WAITQUIET 15 FOREVER
pause 20
; WAITFOR "NACT " 2
; txdc ("****")
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING LD 81 Sets.txt (LD 81) COUNT the various Set Features"
pause 10
txdc ("CNT")
; WAITFOR "CUST " 2
txdc ("")
; waitfor "DATE "
txdc ("")
; waitfor "PAGE "
txdc ("")
WAITFOR "DES " 2
txdc ("")
WAITFOR "FEAT " 3
txdc ("ACD")
WAITFOR "FEAT " 3
txdc ("SETS")
WAITFOR "FEAT " 3
txdc ("DTA")
WAITFOR "FEAT " 3
txdc ("DCFW")
WAITFOR "FEAT " 3
txdc ("WRLS")
WAITFOR "FEAT " 3
txdc ("VCE")
WAITFOR "FEAT " 3
txdc ("FLXA")
WAITFOR "FEAT " 3
txdc ("AGTA")
WAITFOR "FEAT " 3
txdc ("VMA")
WAITFOR "FEAT " 3
txdc ("MWA")
WAITFOR "FEAT " 3
txdc ("CNUA")
WAITFOR "FEAT " 3
txdc ("CNUS")
WAITFOR "FEAT " 3
txdc ("CNAA")
WAITFOR "FEAT " 3
txdc ("")
txdc ("")
WAITQUIET 15 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF
; txdc ("****")
; waitfor ">"

SET CAPTURE FILE "LD 81 KEM Sets.txt"
CAPTURE ON
; txdc ("****")
STATMSG "WRITING LD 81 KEM Sets.txt (LD 81) List out the Internet Phone Expansion KEM modules"
txdc ("LD 81")
waitfor "REQ"
txdc ("LST")
waitfor "CUST"
txdc ("")
; waitfor "DATE "
txdc ("")
; waitfor "PAGE "
txdc ("")
waitfor "DES"
txdc ("")
waitfor "FEAT"
txdc ("KEM")
waitfor "FEAT"
txdc ("")
waitfor "REQ"
txdc ("****")
waitfor ">"
CAPTURE OFF

txdc ("****")
waitfor ">"

SET CAPTURE FILE "List Unused Data.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING List Unused Data.txt (LD 20) LUU Count the number of any unused 500 Analogue Sets"
txdc ("LD 20")
WAITFOR "REQ"
pause 2
txdc ("LUU")
WAITFOR "TYPE" 2
pause 2
txdc ("500")
; WAITFOR "TN " 2
pause 2
txdc ("")
; WAITFOR "CDEN " 2
pause 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING List Unused Data.txt (LD 20) LUC Count the number of any unused System card slots"
txdc ("LUC")
PAUSE 8
WAITFOR "REQ"

STATMSG "WRITING List Unused Data.txt (LD 20) LUVU Count the number of any unused 2000 Digital Voice Sets"
txdc ("LUVU")
WAITFOR "TYPE" 2
pause 2
txdc ("2000")
; WAITFOR "TN " 2
pause 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

CAPTURE OFF
txdc ("****")
waitfor ">"

SET CAPTURE FILE "LD 83 Sets.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING LD 83 Sets.txt (LD 83) List out the Sets and provide a complete list of all sets in TN order"
txdc ("LD 83")
WAITFOR "REQ"
txdc ("LST")
; WAITFOR "CUST " 2
txdc ("")
; waitfor "DATE "
txdc ("")
; waitfor "PAGE "
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF
txdc ("****")
waitfor ">"

SET CAPTURE FILE "LD 93 Tenent Working.txt"
CAPTURE ON
txdc ("****")
STATMSG "WRITING LD 93 Tenent Working.txt (LD 93) List out any Tennent working on the system"
txdc ("LD 93")
WAITFOR "REQ"
txdc ("PRT")
; waitfor "TYPE "
txdc ("RACC")
; WAITFOR "CUST " 2
txdc ("")
; waitfor "ROUT "
txdc ("")
; waitfor "ACC "
txdc ("ALOW")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"
CAPTURE OFF
txdc ("****")
waitfor ">"

SET CAPTURE FILE "Network Conversion Utility.txt"
CAPTURE ON
STATMSG "WRITING Network Conversion Utility.txt (LD 86) DMI for the Conversion Utility Excel Program"
txdc ("LD 86")
WAITFOR "REQ"
txdc ("PRT")
WAITFOR "CUST " 2
txdc ("0")
WAITFOR "FEAT " 2
txdc ("DGT")
; WAITFOR "DMI " 2
txdc ("")
WAITQUIET 5 FOREVER
txdc ("***")
WAITFOR "REQ"

STATMSG "WRITING Network Conversion Utility.txt (LD 86) RLI for the Conversion Utility Excel Program"
txdc ("PRT")
WAIT
 
Okay, so I've appended *.txt to the CAP files and made sure they would open. Now that I'm attempting to load them into the macro on the spreadsheet I'm getting a Run-time error '75' (Path/File access error). I was reading on some of the other threads and there is the possibility that it may be a syntax issue?

For my DNB it starts out like this:

REQ: PRT

TYPE: DNB

CUST: 0

DN:

DN 0
TYPE ATT

DN 1
TYPE SFP




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ENDING IN~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~​
DN #88
TYPE FFC
FEAT RCFD

REQ:








~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~....and my TNB starts out like this:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~​

REQ: PRT

TYPE: TNB

TN:

DES LOCAL
TN 002 01
TYPE DID
CDEN SD
CUST 0
TRK PRI
PDCA 1
PCML MU
NCOS 0
RTMB 8 1
B-CHANNEL SIGNALING
NITE
STRI/STRO OWK OWK
AST NO
IAPG 0
CLS UNR DTN CND ECD WTA LPR APN THFD HKD SPCD
P10 VNL
TKID
AACR NO
DATE 30 MAR 2010

DES LOCAL
TN 002 02
TYPE DID
CDEN SD
CUST 0
TRK PRI
PDCA 1
PCML MU
NCOS 0
RTMB 8 2
B-CHANNEL SIGNALING
NITE
STRI/STRO OWK OWK
AST NO
IAPG 0
CLS UNR DTN CND ECD WTA LPR APN THFD HKD SPCD
P10 VNL
TKID
AACR NO
DATE 30 MAR 2010





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ENDING IN~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~​
DES D48
TN 028 1 15 15
TYPE 500
CDEN 4D
CUST 0
ERL 00000
WRLS NO
DN 7350 0 MARP
AST NO
IAPG 0
HUNT
TGAR 3
LDN NO
NCOS 3
SGRP 0
RNPG 0
LNRS 16
XLST
SCI 0
SCPW
CLS CTD DTN FBD XFA WTA THFD FND HTD ONS
LPR XRA AGRD CWD SWD MWD RMMD SMWD LPD XHD SLKD CCSD LNA TVD
CFTD SFD MRD C6A CNID CLBD AUTU
ICDD CDMD LLCN EHTD MCTD
GPUD DPUD CFXD ARHA OVDD AGTD CLTD LDTD ASCD SDND
MBXD CPFA CPTA DDGA NAMA MIND
MCRD
EXR0 SHL ABDD CFHD DNDY DNO3
CWND USMD USRD BNRD OCBD RTDD RBDD RBHD FAXD CNUD CNAD PGND FTTC
CDMR PRED MCDD T87D PKCH MPTD
PLEV 02
PUID
AACS NO
MLWU_LANG 0
FTR SCC 0007
FTR PHD
DATE 27 JUL 2003

REQ:

Is there something that needs to be changed on the beginning/end?
 
My conversion utility is in two files. one as *.xls for the older excel and the other is *.xlsm for office 2007 onwards.

Make sure that macros are allowed in the trusted section for office 2007 onwards.

The source file from procomm can be left as *.cap and imported. I usually keep both conversion utility files in e.g. C:\

Send me your capture files and I'll check them out for you.

All the best

Firebird Scrambler
Meridian 1 / Succession and BCM / Norstar Programmer in the UK

If it's working, then leave it alone!.
 
I've essentially listed the way that the files are set up above. I printed out the whole DNB and TNB. I'm not sure if it has to do with the permissions on my workstation, or if it's the file.
 
When you said that you appended the .TXT to the .CAP files, the files are not named "xyx.CAP.TXT", are they? Ideally, if you are to manually rename the captured files, you would change it from "xyz.CAP" to "xyz.TXT". Not sure if the file-naming has anything to do with the file access issue. You might try capturing a file and not renaming it and seeing if the import process works then.
 
I'll give it a shot and see what I can come up with. I'm not sure if that will make a difference. It's just *.txt now...not *.cap.txt.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top