Forms 3.0 fortran user-exit problem

From: Mike Campbell <mlcampb1_at_mikec.b8.ingr.com>
Date: 11 Aug 1994 15:45:23 GMT
Message-ID: <32dh2j$3vj_at_b8.b8.ingr.com>


Well, to make a long story short, ORACLE support won't return my phone calls about a logged TAR; can't even get a call back after raising the prioity to critical. It's been 10 days now and the TAR still hasn't been assigned to anyone yet so I am going to try the net to see if anyone can answer my question.

The basic problem is that when I compile a Pro*FORTRAN user exit into forms 3.0 and execute it it will core dump whenever I try to open a file and write to it. I know that a Pro*C user exit will work fine, but can't seem to get a FORTRAN to work. The user exit I am using is the sample concat.pfo one that gets delivered and I am just adding in a few lines of code to open a file, write a text string to it, and close the file. When the user exit fires, it creates the file, but core dumps before anything gets written to it. By the way, the user exit works fine without my additional code so I know that the problem is in what I am trying to do.

Here is my code section that is causing the problems:

       EXEC SQL BEGIN DECLARE SECTION
           LOGICAL*1  VALUE(81)
           LOGICAL*1  FINAL(241)
           LOGICAL*1  FIELD(81)
       EXEC SQL END   DECLARE SECTION

C
       OPEN(23,FILE='logfile',STATUS='UNKNOWN')
       WRITE(23,10) 'CONCAT was called'
10     FORMAT(A25)
       CLOSE(23)

C      Initialize variables.
C
       DO 1 I=1,81
          FIELD(I) = ' '
1         VALUE(I) = ' '



Any suggestions?????

Thanks,


Mike Campbell                         Phone     : 1-800-603-5500 x5472
Senior Customer Application Engineer  Internet  : mlcampb1_at_ingr.com
Intergraph Corp.                      Fax       : (205) 730-1110
Huntsville, AL 35894-0001             Mailstop  : CR071
Received on Thu Aug 11 1994 - 17:45:23 CEST

Original text of this message