Compilation Error with CAS(Chinese Accounting System)

lggoo

New Member
Dear folks,
I am installing CAS( Chinese Accounting System) for testing purposes and error occurred in the midst of compilation.

- Compilation Results: 107 errors out of 147 files.
- Eg. of errors: xglt_del, unable to understand chvchrca.i
: xac_mstr, Unable to understand chcasvd.1

These are the steps taken before compilation
System platform:Linux Redhat Enterprise 3 EL
1)Create folder for cas encrypted codes
$mfg/ch/xrc
$mfg/ch/load
2)Copy expanded zip files into xrc and load respectively.
- chgrp qad and chown mfg for all files in xrc and load.
3)Load casdb.df into mfgprod.db using Progress Admin tools.
4)Generate compilation list for files in $mfg/ch/xrc
5)Use newly generated compile list(casutcompile.wrk) for compilation
- PROPATH=$MFG/ch/xrc;$MFG/xrc
- CPINTERNAL,CPSTREAM,CPRCODEOUT = GB2312 , CPCOLL:Basic

Compilation Results: 107 errors out of 147 files.

Please advice and thank you in advance.
 

yls999

Member
Is CAS used in JP?


Dear folks,
I am installing CAS( Chinese Accounting System) for testing purposes and error occurred in the midst of compilation.

- Compilation Results: 107 errors out of 147 files.
- Eg. of errors: xglt_del, unable to understand chvchrca.i
: xac_mstr, Unable to understand chcasvd.1

These are the steps taken before compilation
System platform:Linux Redhat Enterprise 3 EL
1)Create folder for cas encrypted codes
$mfg/ch/xrc
$mfg/ch/load
2)Copy expanded zip files into xrc and load respectively.
- chgrp qad and chown mfg for all files in xrc and load.
3)Load casdb.df into mfgprod.db using Progress Admin tools.
4)Generate compilation list for files in $mfg/ch/xrc
5)Use newly generated compile list(casutcompile.wrk) for compilation
- PROPATH=$MFG/ch/xrc;$MFG/xrc
- CPINTERNAL,CPSTREAM,CPRCODEOUT = GB2312 , CPCOLL:Basic

Compilation Results: 107 errors out of 147 files.

Please advice and thank you in advance.
 

lggoo

New Member
Dear yls999,
I am using both simplified chinese (GB2312) and Japanese(SHIFT-JIS) DBs under one server. CAS is loaded into the simplified chinese(GB2312) DB only and clients log into the system according to their locale pf with codepage set to GB2312 or SHIFT-JIS.

By the way, the errors that occurred in the midst of compilation CAS module was due to the incorrect information from the installation procedures.
Referring to MFG/PRO CAS Release Installation Guide, page 2 of 3, session 3 under Create CAS Table.
-Loading of data and definitions for casdb.df will need to be done to both mfg and adm production dbs.

Regards
lggoo
 

yls999

Member
I compiled CAS again just now. the attached JPG ,FYI.
 

Attachments

  • CAS1_compile1.JPG
    CAS1_compile1.JPG
    92.7 KB · Views: 10
  • CAS1_compile2.JPG
    CAS1_compile2.JPG
    76.3 KB · Views: 5

lggoo

New Member
Dear yls999,

Thank you for the jpeg files.
I will do the compilation later and see if the same error messages occur.

xie xie,
lggoo:lol:
 

lggoo

New Member
Dear yls999

The English documentation (MFG/PRO CAS Installation Guide) provided in the CD gave erroneous results.

These were the steps taken to overcome my compilation error for CAS.

1) Instead of loading casdb.df into mfgprod.db as instructed by the
document, I load casdb.df into mfgempty.db
2) Generate compilation list for cas programs in chuixrc (146 files) + 2
files (chdatald.p,chdatala.p) in load folder.
3) Compilation went perfect well with 0 Errors out of 148 files.
4) Loading of casdb.df into mfgprod.db
5) Rename pgmi_mstr.d into pgmi_mst.d.
6) Start MFG/PRO
7) Run chdatald.p inside MFG/PRO;
Under the program, specify Domain, CAS data, MFGPRO xrc directory.
8) Go to menu 36.3.10(Menu Security Maintenance" to disable
- 7.13.3 Invoice Print
- 7.13.4 invoice Post
- 25.13.1 Standard Transaction Maint.
- 25.13.2 Retroactive Transaction Maint.
- 25.13.3 Reversing transaction Maint.
- 25.13.4 Reversing Transaction Maint.
- 25.13.7 Trtansaction Post

Did I missed out any steps? By the way, do you have a copy of the CAS
installation guide in Chinese language? The English version is full of mistakes....

Regards,
lggoo
 

yls999

Member
I have no Chinese-installation of CAS. And I have only the installation(us) with CAS install-media.I think it is same with yours.

If you have compiled CAS successfully before, the CAS you now try to compiled maybe have errors. I ever met that the media had error, and changed the cas media , it is ok. -------solaris 9, openedge 10.1B, qad2007.1 , cas.
 

lggoo

New Member
Dear yls999,
I have solved the problem after loading casdb.pf into mfgempty.db.
I didnt follow the English(US) installation guide.
The English installation guide need to load casdb.pf into mfgprod.pf which gives compilation errors.

I think it should be fine now. Thank you for your advice.

I have no Chinese-installation of CAS. And I have only the installation(us) with CAS install-media.I think it is same with yours.

If you have compiled CAS successfully before, the CAS you now try to compiled maybe have errors. I ever met that the media had error, and changed the cas media , it is ok. -------solaris 9, openedge 10.1B, qad2007.1 , cas.
 

yls999

Member
1) Instead of loading casdb.df into mfgprod.db as instructed by the
document, I load casdb.df into mfgempty.db

---you have done it before.


Dear yls999,
I have solved the problem after loading casdb.pf into mfgempty.db.
I didnt follow the English(US) installation guide.
The English installation guide need to load casdb.pf into mfgprod.pf which gives compilation errors.

I think it should be fine now. Thank you for your advice.
 
Top