One possible update you might want to make is at the below link from Symantec's website:
Below also find a version of your script with the growstack code that was pointed out in the other thread. Please let me know if that appears to solve your problem as well.
proc main
integer iDay, iMonth, iYear, iHour, iMin, iSec
string ddate
string report2
string report3
string report1
string report4
string report5
growstack(50)
ltimeints $LTIME iYear iMonth iDay iHour iMin iSec
strfmt ddate "%d%02d%02d" iYear iMonth iDay
report1 = $DIALCONNECT
strcat report1 "_trks_"
strcat report1 ddate
strcat report1 ".cap"
set capture query off
set capture path "D:\Program Files\Symantec\Procomm Plus\Capture"
set capture file report1
transmit "LD 20^M"
waitfor "REQ: "
transmit "PRT^M"
waitfor "TYPE: "
transmit "TRK^M"
waitfor "TN "
transmit "^M"
waitfor "CDEN "
transmit "^M"
waitfor "CUST "
transmit "^M"
waitfor "DATE "
transmit "^M"
waitfor "PAGE "
pause 1
capture ON
pause 1
transmit "^M"
waitfor "NACT " FOREVER
pause 1
clear
capture OFF
;******************************************
transmit "^M"
waitfor "REQ: "
transmit "PRT^M"
waitfor "TYPE: "
transmit "2250^M"
waitfor "TN "
transmit "^M"
waitfor "CUST "
transmit "^M"
waitfor "DATE "
transmit "^M"
waitfor "PAGE "
pause 1
capture ON
pause 1
transmit "^M"
waitfor "REQ:" 5
if success
pause 1
else
waitfor "NACT "
transmit "^M"
waitfor "REQ: "
endif
pause 2
clear
capture OFF
pause 1
transmit "PRT^M"
waitfor "TYPE: "
transmit "PWR^M"
waitfor "TN "
transmit "^M"
waitfor "CDEN "
transmit "^M"
waitfor "DATE "
transmit "^M"
waitfor "PAGE "
pause 2
capture ON
pause 1
transmit "^M"
waitfor "REQ:" 5
if success
pause 1
else
waitfor "NACT " 1
transmit "^M"
waitfor "REQ: "
endif
pause 2
clear
capture OFF
pause 1
transmit "****^M"
waitfor ">"
;***********************************************************
strfmt ddate "%d%02d%02d" iYear iMonth iDay
report2 = $DIALCONNECT
strcat report2 "_SLT_"
strcat report2 ddate
strcat report2 ".cap"
set capture query off
set capture path "D:\Program Files\Symantec\Procomm Plus\Capture"
set capture file report2
transmit "LD 22^M"
waitfor "REQ "
transmit "SLT"
pause 2
capture ON
pause 1
transmit "^M"
waitfor "REQ "
pause 2
clear
capture OFF
pause 1
transmit "****^M"
waitfor ">"
strfmt ddate "%d%02d%02d" iYear iMonth iDay
report3 = $DIALCONNECT
strcat report3 "_VoiceMail_"
strcat report3 ddate
strcat report3 ".cap"
set capture query off
set capture path "D:\Program Files\Symantec\Procomm Plus\Capture"
set capture file report3
transmit "LD 81^M"
waitfor "REQ "
transmit "LST^M"
waitfor "CUST "
transmit "0^M"
waitfor "DATE "
transmit "^M"
waitfor "PAGE "
transmit "^M"
waitfor "DES "
transmit "^M"
waitfor "FEAT "
transmit "IMA^M"
waitfor "FEAT "
transmit "MMA^M"
waitfor "FEAT "
transmit "VMA^M"
waitfor "FEAT "
pause 2
capture ON
pause 1
transmit "^M"
waitfor "NACT "
pause 2
clear
capture OFF
pause 1
transmit "^M"
strfmt ddate "%d%02d%02d" iYear iMonth iDay
report4 = $DIALCONNECT
strcat report4 "_ATA_FLXA_"
strcat report4 ddate
strcat report4 ".cap"
set capture query off
set capture path "D:\Program Files\Symantec\Procomm Plus\Capture"
set capture file report4
waitfor "REQ "
transmit "LST^M"
waitfor "CUST "
transmit "0^M"
waitfor "DATE "
transmit "^M"
waitfor "PAGE "
transmit "^M"
waitfor "DES "
transmit "^M"
waitfor "FEAT "
transmit "FLXA^M"
waitfor "FEAT "
pause 2
capture ON
pause 1
transmit "^M"
waitfor "NACT "
pause 2
clear
capture OFF
pause 1
;**********************************************
transmit "^M"
strfmt ddate "%d%02d%02d" iYear iMonth iDay
report5 = $DIALCONNECT
strcat report5 "_SETS_DCFWs_ACDs_"
strcat report5 ddate
strcat report5 ".cap"
set capture query off
set capture path "D:\Program Files\Symantec\Procomm Plus\Capture"
set capture file report5
waitfor "REQ "
transmit "CNT^M"
waitfor "CUST "
transmit "0^M"
waitfor "DATE "
transmit "^M"
waitfor "PAGE "
transmit "^M"
waitfor "DES "
transmit "^M"
waitfor "FEAT "
transmit "SETS^M"
waitfor "FEAT "
pause 2
capture ON
pause 1
transmit "^M"
waitfor "NACT "
transmit "^M"
waitfor "REQ "
transmit "CNT^M"
waitfor "CUST "
transmit "0^M"
waitfor "DATE "
transmit "^M"
waitfor "PAGE "
transmit "^M"
waitfor "DES "
transmit "^M"
waitfor "FEAT "
transmit "DCFW^M"
waitfor "FEAT "
transmit "^M"
waitfor "NACT "
transmit "^M"
waitfor "REQ "
transmit "CNT^M"
waitfor "CUST "
transmit "0^M"
waitfor "DATE "
transmit "^M"
waitfor "PAGE "
transmit "^M"
waitfor "DES "
transmit "^M"
waitfor "FEAT "
transmit "ACD^M"
waitfor "FEAT "
transmit "^M"
waitfor "NACT "
pause 2
clear
capture OFF
pause 1
transmit "^M"
waitfor "REQ " 3
transmit "****^M"
set capture query ON
;Disconnnect
transmit "****^M"
transmit "LOGO^M"
pause 2
transmit "LOGO^M"
waitfor ">" 2
transmit "^]A"
waitfor "Command: " 3
if success
transmit "6^M"
;***Failure Location?
;Error seems to occur immediately after the following line of text appears from the SEB
waitfor "Do you really want to clear mass memory? (Y/N)"
transmit "Y^M"
waitfor "Command: "
transmit "X^M"
else
pause 2
transmit "LOGOUT^M"
pause 2
disconnect
endif
endproc
proc growstack
param integer kbytes
string locstrs[4] ; approximately 1K stack required
if kbytes
growstack(kbytes - 1) ; 60 recursions result in a 60 K ASPECT memory block.
endif
endproc