[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference orarep::nomahs::repository

Title:Oracle CDD/Repositorynce
Notice:Current versions are V7.0-01 and V6.1-03eld Test 3
Moderator:8292::PJACOBN
Created:Thu Jan 21 1993
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1094
Total number of notes:4913

1053.0. "Problem translating DECForms using CDD 7.0 HELP!!" by ORAREP::MIASYS::LALIBERTE () Sun Feb 23 1997 05:59

Can anyone help??

  We are doing a port from VAX VMS 6.1 to ALPHA 7.1 for a customer and we
  are running into a problem when translating DECForms which uses CDD for
  record definitions. Everything works fine on the VAX machine.

  VAX VMS V6.1             Alpha VMS V7.1     
  DECForms V2.0-5          DECForms V2.1-010
  CDD/Plus CDD V5.3        CDD/Plus CDD V7.0 

  It seems that when we do a translate on a form which has copy from dictionary
  commands it gets the first record definition OK but any other record 
  definitions within the forms fails. When the same forms is translated on the
  VAX it has no problem???

  I tried a small test case in which I put two copy from dictionary command
  within the IFDL file the first one with 
    COPY CGSA_CODES_REC FROM DICTIONARY
    END COPY
    COPY AGENT_CODES_REC FROM DICTIONARY
    END COPY
  when translating the IFDL file I get the following error???

    6          END COPY
%FORMS-E-CDDEXTRACT, error extracting record AGENT_CODES_REC from CDD/Plus.

  Next I swapped the to copy command around 
    COPY AGENT_CODES_REC FROM DICTIONARY
    END COPY
    COPY CGSA_CODES_REC FROM DICTIONARY
    END COPY
  When translatin the IFDL file I get the following error??

    6          END COPY
%FORMS-E-CDDEXTRACT, error extracting record CGSA_CODES_REC from CDD/Plus.

-------------------------------------------------------------------------------
Form TEST
Form Data       /* rms/cdd record definitions */
    COPY CGSA_CODES_REC FROM DICTIONARY
    END COPY
    COPY AGENT_CODES_REC FROM DICTIONARY
    END COPY
End Data
    Layout VT_LAYOUT
        Device
            Terminal
                Type %VT100
        End Device
        Size 24 Lines by 80 Columns

        Viewport TEMP
            Lines 1 Through 24
            Columns 1 Through 80
        End Viewport
        Panel NEW_ONE
            Viewport TEMP
        End Panel
    End Layout
End Form
-------------------------------------------------------------------------------



T.RTitleUserPersonal
Name
DateLines
1053.1problem when DTR is without CDD8292::PJACOBPatrick [email protected]Mon Apr 28 1997 06:0513
    This problem has been continued on note 1061.
    Although CDD$TOP is not defined as a logical name, the workaround is to
    change the CDD$DEFAULT logical name to _CDD$TOP.RECORD instead of
    CDD$TOP.RECORD, and, to change the COPY FROM CDD$TOP.RECORD to a CDO
    syntax.
    
    Bug 462131 has been submitted about this. I seems that the installation
    of DATATRIEVE without CDD caused these troubles. Reinstalling
    DATATRIEVE with CDD fixed the problem.
    
    Patrick