In order to bring you the best possible user experience, this site uses Javascript. If you are seeing this message, it is likely that the Javascript option in your browser is disabled. For optimal viewing of this site, please ensure that Javascript is enabled for your browser.
Login  |   On Demand  |   Home  |   qad.com




Copying QAD Backend Programs on the Application Server
1
On the QAD CRM AppServer machine, create the folder <QADERPInstallDir>/qadcrm/<environment name>; for example: /qadea/qadcrm/prod
2
Create the following subdirectories under qadcrm/<environment name>:
system
dataexch
progs
report
triggers
integration\mfgpro (create this folder only if you are using QAD CRM integrated with QAD Enterprise applications)
3
Copy programs to respective folders on your CRM Appserver environment that you have just created:
In case of a 32 bit Appserver, you need to copy the .r files, which are copied in QADCRMInstallDir\Webclient\backend folder as a result of splitting the CRM frontend and backend code in previous section, to respective folders on your CRM Appserver environment. For example:
 
Copy .r files from this directory ...
... to this directory
QADCRMInstallDir \Webclient\backend\dataexch
qadcrm/prod/dataexch
QADCRMInstallDir \Webclient\backend\integration\mfgpro
qadcrm/prod/integration/mfgpro
QADCRMInstallDir \Webclient\backend\progs
qadcrm/prod/progs
QADCRMInstallDir \Webclient\backend\report
qadcrm/prod/report
QADCRMInstallDir \Webclient\backend\system
qadcrm/prod/system
QADCRMInstallDir \Webclient\backend\triggers
qadcrm/prod/triggers
In case of a 64 bit Appserver, you need to copy the source code files, which are copied in QADCRMInstallDir\Webclient\backend folder as a result of splitting the CRM frontend and backend code in previous section, to respective folders on your CRM Appserver environment. For example:
 
Copy .r files from this directory ...
... to this directory
QADCRMInstallDir \Webclient\backend\dataexch
qadcrm/prod/dataexch
QADCRMInstallDir \Webclient\backend\integration\mfgpro
qadcrm/prod/integration/mfgpro
QADCRMInstallDir \Webclient\backend\progs
qadcrm/prod/progs
QADCRMInstallDir \Webclient\backend\report
qadcrm/prod/report
QADCRMInstallDir \Webclient\backend\system
qadcrm/prod/system
QADCRMInstallDir \Webclient\backend\si
qadcrm/prod/si
QADCRMInstallDir \Webclient\backend\triggers
qadcrm/prod/triggers
For 64 bit AppServer, you need to copy QADCRMInstallDir\Webclient\backend\si to your QAD CRM si folder in your Appserver 64 bit environment.
Note: If the Appserver is installed on UNIX/Linux, use FTP or WinSCP to copy the programs.
For 64-bit Progress AppServer, after you copy the .r files, compile them in your 64-bit AppServer environment; see “Compiling QAD CRM Backend Programs on the Application Server”.
Compiling QAD CRM Backend Programs on the Application Server
1
Create a copy of your QAD CRM AppServer parameter file (.pf) file qadcrmparam_as.pf and say we name it qadcrmcompile64.pf.
2
Specify one additional parameter in this file:
-p _comp.p
3
Create a compile script file to start CRM application compiler with above parameter file (.pf) and the parameters below:
a
Set following environmental variables:
DLC=ProgressInstallDir;export DLC
PATH=$DLC/bin:$PATH;export PATH
PROMSGS=$DLC/promsgs;export PROMSGS
PROTERMCAP=$DLC/protermcap;export PROTERMCAP
PS1='$$ ';export PS1
b
Include the following in the PROPATH, and make sure you include the command Export PROPATH in your script:
QADERPInstallDir/xrc
QADERPInstallDir/qadcrm/prod/si/xrc
QADERPInstallDir/qadcrm/prod
QADERPInstallDir/qadcrm/prod/system
QADERPInstallDir/qadcrm/prod/dataexch
QADERPInstallDir/qadcrm/prod/progs
QADERPInstallDir/qadcrm/prod/report
QADERPInstallDir/qadcrm/prod/triggers
QADERPInstallDir/qadcrm/prod/integration/mfgpro
c
If you are using QAD 2011 EE above, add the following directories to the PROPATH:
QADERPInstallDir/xrc/us/bbi
QADERPInstallDir/xrc/us/so
QADERPInstallDir/xrc/us/px
QADERPInstallDir/xrc/validation
QADERPInstallDir/xrc/us/mf
QADERPInstallDir/xrc/us/fs
QADERPInstallDir/xrc/us/pp
QADERPInstallDir/xrc/us/gp
d
Set Terminal type as per your environment.
e
Start PROGRESS client with .pf file:
<progress path>/bin/_progres -s 128 -pf <compile>.pf -cpinternal <codepage> -cpstream <codepage stream>
Example:
/dr01/progress/dlc/bin/_progres -s 128 -pf
QADERPInstallDir/qadcrm/qadcrmcompile64.pf -cpinternal ISO8859-1 -cpstream ISO8859-1
f
Modify the code page (-cpinternal and -cpstream) as per your environment.
4
Select the following directories to compile with program types (*.p *.cls):
QADERPInstallDir /qadcrm/prod/system
QADERPInstallDir /qadcrm/prod/dataexch
QADERPInstallDir /qadcrm/prod/progs
QADERPInstallDir /qadcrm/prod/report
QADERPInstallDir /qadcrm/prod/triggers
QADERPInstallDir /qadcrm/prod/integration/mfgpro
5
Choose the Start Compile option. When compilation is complete, check the log file to make sure all the programs are compiled correctly.