knob - Thanks! I actually figured out a different way to do it which is a little different way, but it works for what I'm doing with it.
All I did was use $DIALCONNECT and store it as global variable Redial. Then just run the command "dial DATA Redial" which calls the same number it just...
Hey All
I feel like I'm running into a stupid wall on this one.
I'm trying to get my script to redial the last number that Procomm dialed. It's used in a login script that is called after a call is established from the DATA connection directory.
Thoughts on this please? Thanks
Never mind, I figured it out unless someone has a better way to do this.
string testdump
string test
integer testa
proc main
set aspect rgetchar 10
transmit "idump $t/tbspinfo | awk `'/natl_store_num/ {printf(`"%05d\n`",$2)}`'^M"
rget testdump
rget test
atoi test testa
itoa testa test
endproc
I'm still a bit of a new person when it comes to Aspect (programming is not one of my likes, but I do it because it provides a bit of a challenge).
I'm trying to capture a 5-digit responce from a command sent to an SCO *nix server.
The command I send is:
idump $t/tbspinfo | awk...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.