search cancel

Is it possible to copy a CA Gen model from a Client Server Encyclopedia (CSE) to a Host Encyclopedia (HE) and preserve common ancestry?

book

Article ID: 187746

calendar_today

Updated On:

Products

Gen Gen - Host Encyclopedia

Issue/Introduction

Is it possible to copy model(s) from a CA Gen Client Server Encyclopedia (CSE) to Host Encyclopedia (HE) and preserve common ancestry?
These are CSE models that have not been previously extracted from a HE as child models.

Environment

Release : 8.6
Component : CA Gen Client Server Encyclopedia, CA Gen Host Encyclopedia

Resolution

It is not possible to copy a model from a CSE to HE and preserve the common ancestry because the implementation of common ancestry across the 2 types of encyclopedia is different.
If on the CSE you use the CSE server download command with options "-l" (download with upload) and "-t extract" it will create an apply.trn file.
After that file is binary file transferred to the HE the upload step will fail with this type of message:
===
ERROR condition was raised
 Traceback of user routines:
 Compile Unit   Entry          Statement  CU offset   Entry offset  Address
                CHKOBJ         114        +000008B2   +000008B2     3B2E28BA
                CHKOBJP        132        +0000085E   +0000085E     3B2E28E6
                ADDASSC        191        +000003DE   +000003DE     3B15D55E
                PAA            546        +00000592   +00000592     3B1EE80A
                TIEAPLY        333        +00000CA2   +00000CA2     3B1E7EA2
                TIEUP          587        +00000AE4   +00000AE4     3B2746B4
 TIEC001E  SYSTEM ERROR: SQL ERROR ENCOUNTERED AND RECORDED.
 TIEC058I  ***  POSITION IN TRANSACTION FILE  ***
 TRAN NO: 4  BYTE COUNT: 174
===
 
Therefore for model transfers from CSE to HE you can only use the download with option "-l"  i.e. this command syntax
download -u userid -m "model name" -l
(NOTE: No CSE client has that "download with upload" option so this has to be done from the CSE Server command line)
That process will create an update.trn file for binary transfer to the HE.
Any models copied over from the CSE will then have to be re-adopted on the HE to restore the common ancestry.

Additional Information

CA GEN 8.6 > Encyclopedia > Client Server Encyclopedia > Using the Client Server Encyclopedia > Encyclopedia Communications Tasks - see "Manually Copying a Model from a CSE to a CSE Without Preserving Common Ancestry" (same process to copy from CSE to HE Without Preserving Common Ancestry)