Running testPubServerAi.pl from the Command Prompt
To gain a better understanding of how the adapters work, run testPubServerAi.pl from a command line before configuring it as a tool.
To view the command line syntax, type the script name then press the Enter key.
testPubServerAi.pl
-p <PcmPath>
-dbase <database>
-user <user>
-pw <passwd>
-s <socket>
-node <node>
[-fetch|-classic] [-view]
'-view' defaults to '-fetch' unless '-classic' specified.
- view - if xml, include an xml decl. No doctype definition included
- fetch - exports CompoundAscii based objects via faster API methods
- classic - exports classic objects: i.e. document, module, and so on
testPubServerAi.pl -p /#1/#2/#6/#101/#36 -dbase mutts -user sysadmin -pw manager
-s 6050 -node fido -fetch
- Windows: SDL Contenta_home/TEMP/publish/user
- Unix: /tmp/publish/user
where SDL Contenta_home is the directory where Contenta is installed and user is the name of the user who executed the program.
When the tool is a server/support tool the log file is on the server. When the tool is a client tool, the log file is on the client where the tool was run.