COPYWRITE may be installed by executing *OBJECT/META/INSTALL, which is provided on the Metalogic release CD.
|
|
|
|
|
Log onto CANDE as a Privileged User (PU) |
|
|
Enter COPY *OBJECT/META/= FROM <familyname>(CD) |
|
|
U META/INSTALL |
|
|
Follow the instructions |
|
|
|
After the installation is completed, these things may be checked,
|
|
|
|---|---|
|
1. |
MAGUS is a system library SL MAGUS = *METALOGIC/MAGUS [on <familyname>] |
|
2. |
COPYWRITE is a system library SL COPYWRITE=*METALOGIC/COPYWRITE [on <familyname>] |
|
3. |
Both MAGUS and COPYWRITE codefiles are not RESTRICTED. LFILES may be used to verify that this is so. |
|
4. |
Under CANDE,' U *METALOGIC/COPYWRITE REINSTALL' (or RUN *METALOGIC/COPYWRITE("REINSTALL")). COPYWRITE attempts to link to MAGUS, and reloads the COPYWRITEPROTOCOL configuration variable. |
|
5. |
Under CANDE,'U *METALOGIC/COPYWRITE STATUS'(or RUN *METALOGIC/COPYWRITE("STATUS")). COPYWRITE reports the status of the linkage with MAGUS. |
|
6. |
Do a test copy. COPY MYFILE TO FRED(CD, HOSTNAME=LOCAL). If COPYWRITE is not called, review the troubleshooting guide. |
|
7. |
Note: If the MCP level is 43 or earlier, then SELECTOR must be installed. |
|
|
|
SELECTOR is a Library which is supplied on the release CD.
On MCP 43 and earlier, an SL library with an array parameter cannot be linked. COPYWRITE has an array parameter, and is a server library, a connection library and an executable program. To avoid this linkage problem on earlier MCPs, the SELECTOR Library is installed in place of COPYWRITE. The SELECTOR library is a dynamic linkage library, which initiates COPYWRITE as a dependent asynchronous task, and then dynamically links callers to the frozen library.
The SELECTOR library can be used on any MCP to provide a Development and Production version. For example, a task attribute could be set on a LIBRARY/MAINTENANCE COPY statement, which SELECTOR uses to decide the version of COPYWRITE to be used. The source for SELECTOR is provided with the release.
SELECTOR may be installed in this way.
|
|
|
|
|
Copy *METALOGIC/COPYWRITE/SELECTOR to the same family as *METALOGIC/COPYWRITE. |
|
|
SL COPYWRITE = *METALOGIC/COPYWRITE/SELECTOR [on <familyname>] |
|
|
SELECTOR will search for the *METALOGIC/COPYWRITE on the same family as that on which SELECTOR's codefile resides. |
|
|
|
After a HALT/LOAD, MAGUS must be installed for COPYWRITE to be available. If other METALOGIC products are installed, then this will not be a problem. However, if COPYWRITE is the only installed METALOGIC product, then some way of initiating MAGUS is required.
One method is to add COPYWRITE as an AI . The MCP automatically initiates programs added to the AI list following a Halt/Load. COPYWRITE may be added to the AI list using the ODT AI command, or like this.
|
|
|
|
|
Log onto CANDE as a Privileged User |
|
|
U *METALOGIC/COPYWRITE AI |
|
|
The command above adds the codefile being executed to the AI list. To add a specific title to the AI list, execute the command below, |
|
|
U *METALOGIC/COPYWRITE AI <filetitle> |
|
|
|