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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use (get-logical-name) ?

Status
Not open for further replies.

DarkRaven2

Programmer
Jan 27, 2003
7
EU
I wan't to display the eway name in a monk script to a external file with

(display (get-logical-name) fp4)

but the eway becomes an error:

9:27:23.680 MNK E 4628 (monklog:406): >>Evaluation Of Dynamically Created Expression.
09:27:23.680 MNK E 4628 (monklog:406):
09:27:23.680 MNK E 4628 (monklog:406): (get-logical-name)
09:27:23.680 MNK E 4628 (monklog:391): >>>>MONKEXCEPT:0036: RESOLVE_VARIABLE: variable <get-logical-name> has not been
09:27:23.680 MNK E 4628 (monklog:406): defined.
09:27:23.680 MNK E 4628 (monklog:406): >>Evaluation Of Dynamically Created Expression.
09:27:23.680 MNK E 4628 (monklog:406):
09:27:23.680 MNK E 4628 (monklog:406): (display (get-logical-name) fp4)
09:27:23.680 MNK E 4628 (monklog:406): >>Evaluation Of Dynamically Created Expression.
09:27:23.680 MNK E 4628 (monklog:406):

What is wrong?
 
DarkRaven2

The error message "variable <get-logical-name> has not been defined." with regard to functions, generally means that the function you've called has not been loaded (So is not availible to use).

What type of e*Way/bob are you running? As the Monk help file states:

The following functions are available to all e*Ways based on the Extension Kit:

event-send-to-egate
get-logical-name
send-external-down
send-external-up
shutdown-request
start-schedule
stop-schedule


I hit the same problem as you when trying to use the function in a BOB collaboration rule and could not find a way around it.

Sorry it's not a solution to your problem, but I hope it goes some way helping with it.

Cheers,

Glenn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top