Difference between revisions of "UpdateMacroDefFile"
>Johno (Created page with "== Updating the Macro Definition File == Attached is a new macrodef file that contains the syntax for grouping macro's. This will not impact current Visimage 2.6 users. The...") |
>Johno (→Updating the Macro Definition File) |
||
Line 5: | Line 5: | ||
Rename the current /ASKPLUS/visimage/macrodef to /ASKPLUS/visimage/macrov26. Transfer the macrodef file to the Unix box, using an ASCII transfer. Issue a chmod 644 on the macrodef file so that it is readable by everyone. | Rename the current /ASKPLUS/visimage/macrodef to /ASKPLUS/visimage/macrov26. Transfer the macrodef file to the Unix box, using an ASCII transfer. Issue a chmod 644 on the macrodef file so that it is readable by everyone. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
You will then need to rebuild the /ASKPLUS/visimage/macro file. This is the binary file Visimage and Askplus use. To rebuild the /ASKPLUS/visimage/macro file you will need to have all Visimage users exit server. | You will then need to rebuild the /ASKPLUS/visimage/macro file. This is the binary file Visimage and Askplus use. To rebuild the /ASKPLUS/visimage/macro file you will need to have all Visimage users exit server. |
Revision as of 22:51, 9 November 2014
Updating the Macro Definition File
Attached is a new macrodef file that contains the syntax for grouping macro's. This will not impact current Visimage 2.6 users. The macros will still appear in the Tools -> Macros window.
Rename the current /ASKPLUS/visimage/macrodef to /ASKPLUS/visimage/macrov26. Transfer the macrodef file to the Unix box, using an ASCII transfer. Issue a chmod 644 on the macrodef file so that it is readable by everyone.
You will then need to rebuild the /ASKPLUS/visimage/macro file. This is the binary file Visimage and Askplus use. To rebuild the /ASKPLUS/visimage/macro file you will need to have all Visimage users exit server.
1. Login as the askplus user. 2. cd visimage 3. Compile the macro source file by running the following script: load_macros
It might be necessary to bring the listener down to ensure that the file is not being accessed.
To kill the listener:
1. Login as root 2. Issue this command to stop the listener: /ASKPLUS/kill_vsrvtcp -stop_all
- Note, the above command will kill both the regular listener as well as the beta listener.
Run the load_macros script again, remember to login as the askplus user and cd visimage.
To restart the listener:
1. Login as root 2. Issue this command to start the non beta listener: /ASKPLUS/vsrvtcp –n30501 -a >/dev/null 3. Issue this command to start the beta listener: /ASKPLUS/vsrvtcp_4913 -a -t –n30503 –a >/dev/null