I want to run two commands
The idea is to see what cards DO NOT have links assigned
Some cards will never have links assigned - that's no problem if they always show up on a report I would like to generate.
But the idea is I want to generate a list of cards minus the cards I get as output...
REF: thread448-659646
waitlist for multi waitfors works great as far it goes but it is based on the concept that you are trying to capture only one of several possibal outputs.
However the challange I have is that I need to capture one or MORE of six or seven possibal outputs.
It was no...
So far I have writting pretty straight forward scripts.
But now I would like to get slick !
I want to transmit a command and based on it's output set some varibals (IP addresess and so on)and then use the info to transmit a new command.
Example
transmit ^A get-info ^M
the output to the...
What I really need is an "OR" function
Since I can't do waitfor "ABC" or "XYZ" <x seconds>
How do I evauate a string for multiple values.
I want to do a "waitfor" for any one of several trouble codes
Example
1323 card failure
3434 databse corruption
2323 minor error
4512 who cares...
I have a script where I can
transmit "^[[23~" (F11 key)
in Procom on Windows 2000
but the same version of Procom
will not execute transmit "^[[23~"
on a PC running Windows XP.
The rest of the script works fine.
Any ideas why or how to fix this ?
OK - makes sense for the cards.
How about the case for the terminal where it is always just on line of output - can you show me how that would look.
is termget on the right track?
Back to the cards - since I am going to be running a captue file during the whole entire process can I;
1) stop...
I need to evaluate output data to the screen to help automate my procedure.
I have looked at the terminal commands to evaluate strings and integers but I am still not sure how to proceed.
In one case I will take the output that gives me a terminal ID (an integer from 1 to 24).
I want to...
Are there any books on Aspect script writting?
I can't seem to find any. Is there another language that is similar that would be helpful to learn?
I want to do some automation and would like to really learn Aspect. Although the sample scripts and Procom help and are a good start I really find...
Thanks much
Yep - you got the details right.
That should work - all the logs do come one after the other with no delay between
here is what I plan to use:
transmit “^A get_log ^M”
waitfor “ZERO (0) REPORTS”
if timeout then
waitquite 5 FOREVER
transmit "^A get_card_stat...
The system is sending END OF REPORT followed by the date after each log.
The system does indicate the number of logs unless there are no logs in which case it sends a message something to the effect ZERO (0) REPORTS
The cursor is not on the same line it drops down below the output.
something...
I am brand new to Aspect - one week of experience - so my questions are kind of basic.
1.) I have a situation where I am capturing logs. After I capture them I want to move on and transmit the next command.
I might get zero logs or two logs or thirty logs.
In the first case I can use a...
I am brand new to Aspect - one week of experience - so my questions are kind of basic.
1.) I have a situation where I am capturing logs. After I capture them I want to move on and transmit the next command.
I might get zero logs or two logs or thirty logs.
In the first case I can use a...
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.