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

Conference dssdev::decforms

Title:DECforms
Notice:This is not an official software support channel. Kit info: 4.L
Moderator:DSSDEV::FORMS
Created:Thu Mar 23 1989
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:4004
Total number of notes:16520

4003.0. "DECforms v2.2 and FDE" by PRSSOS::TEBOUL () Wed Jun 04 1997 12:55

    Hi,
    
    I'm using DECforms V2.2 on VAX OpenVMS 6.2.
    
    Here is the scenario of a strange behavior under FDE....
    
    1) Use the 'EDIT IFDL' icon (Layout level for example) to write some
       additional code .
     
    2) Do a syntax error and hit the F10 Key.
     You will get an error message -->
    
    Form translation of WORKD$:[TEBOUL.TPACMSDI]FORMS$MBX_02A7.IFDL;1 failed.
    
    3) Select the 'EDIT AGAIN' icon to correct your syntax error and hit
       'F10' --> Form Translation successfully completed.
    
    4) Replay steps 1,2(with the same or another syntax error) and 3...
    	The translator loops on the error message.....
    	Select 'Exit Save' icon.
        Translate your form with the DCL Command and come back to the FDE
        
    Any idea ?
    Can someone reproduce it ?
    
    Thanks for your help !!
    
    Alain.
    
    Here is the ident of the image i use :
    $analyze/image/int SYS$COMMON:[SYSLIB]FORMS$FDESHR.EXE 
    
           Image Identification Information
    
                    image name: "FORMS$FDESHR"
                    image file identification: "FORMS V2.2-001"
                    link date/time: 23-MAR-1997 20:47:59.81
                    linker identification: "V11-39"
    
T.RTitleUserPersonal
Name
DateLines
4003.1DSSDEV::LOWELLGrim Grinning Ghosts...Wed Jun 04 1997 16:277
    Alain,
    
    I wasn't able to reproduce this though I recall having a similar problem
    with prior versions of DECforms.  What text editor are you using with the
    FDE?  I used EDT and LSE.
    
    Ruth
4003.2I can reproduce it on another systemPRSSOS::TEBOULThu Jun 05 1997 07:1765
    Ruth,
    
    I was using TPU.
    I have just installed V 2.2 on another system and i can reproduce it....
    In fact when i get the second error message it's not an syntax error
    but the following one :
    
    Form translation of WORKD$:[TEBOUL]FORMS$MBX_043D.IFDL;2 failed.
    Error opening !AS as output
    
    If i use LSE i get an access violation :
    
    Access violation, reason mask=A5, virtual address=03C00000,PC=000F0230,
    PSL=000F2F91
    
    here is the exact scenario to reproduce it :
    
    1) $Form develop NewForm
    2) SELECT 'YES' icon to create a new form
    3) Select 'Edit Data' icon to create form data 
    4) Add the following code :
    	form data
    	 C1 characte(1)
        end data
    5) Hit 'F10' 
    6) You get the syntax error message:
       
    Form translation of WORKD$:[TEBOUL]FORMS$MBX_043D.IFDL;1 failed.
    Syntax error; an expected keyword, name or literal is missing or
    misspelled.
    
    7) select 'Edit Again' icon to correct your code
    	(modify from characte(1) to character(1))
    8) Hit 'F10'
    9) You get a successfull message
    
    Translating File: WORKD$:[TEBOUL]FORMS$MBX_043D.IFDL;2
    Form Translation successfully completed.
    
   10) Select 'Edit Data' icon to add a new  data
       Type : C2 characte(1)
   11) Hit 'F10'
   12) You get the syntax error message:
       
    Form translation of WORKD$:[TEBOUL]FORMS$MBX_043D.IFDL;1 failed.
    Syntax error; an expected keyword, name or literal is missing or
    misspelled.
    
   13) Select 'Edit Again' icon to correct the syntax
       Modify from Characte(1) to Character(1)  
    
   14) Hit 'F10' 
    
   15) You should see....: (with tpu editor)
    Form translation of WORKD$:[TEBOUL]FORMS$MBX_043D.IFDL;2 failed.
    Error opening !AS as output.
    
    If using LSE you would get the access violation.
    
    Hope this can help !!
    
    Thanks a lot ,
    
    Alain.
        
4003.3DSSDEV::LOWELLGrim Grinning Ghosts...Thu Jun 05 1997 12:3411
    Alain,
    
    I was able to reproduce this only by setting a version limit of 1 on
    the directory specified by sys$scratch.  That directory is used to
    create a temporary file during the translation of the form.  Could you
    check to see if this is the cause of your problem?  If it is, either
    change the version limit on the directory or define sys$scratch to point
    to another directory.
    
    Thanks,
    Ruth