FORTE M2 - NT partition compilation question

Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
c:\forte/install/lib/qqDB.lib : fatal error LNK1106: invalid file or disk
cannot seek to 0x38dff853
make[2]: *** [all] Error 1
Any suggestion ? (knowing I got 300 Mo left on drive)
1) Can that offset be translated in bytes ?
2) Does this rely on Oracle Client installation (DB) ?
Thanks,
j-paul gabrielli
sema DTS

Thanks for the info - installed.
Btw, another point:
can I tell Microsoft that I really like their
installation paths ?
rem
rem Root of Visual Developer Studio Common files.
set VSCommonDir=C:\PROGRA~1\MI017E~1\Common
rem
rem Root of Visual Developer Studio installed files.
rem
set MSDevDir=C:\PROGRA~1\MI017E~1\Common\msdev98
I fear that I cannot consider this as something portable :-/
j-paul
-----Message d'origine-----
De: Adamek, Zenon [mailto:ZAdamekpurolator.com]
Date: mardi 30 mai 2000 15:39
À: 'Jean-Paul.Gabriellisema.fr'
Cc: kamranaminyahoo.com
Objet: RE: (forte-users) FORTE M2 - NT partition compilation question
Hi
You are using the wrong version (5.0) of MSVC++. Forte version M requires
the MSVC++ 6.0 compiler (Linker Version 6.00). See technote 12083.
Zenon Adamek
Purolator
-----Original Message-----
From: Jean-Paul Gabrielli [SMTP:Jean-Paul.Gabriellisema.fr]
Sent: Tuesday, May 30, 2000 9:34 AM
To: Forte User Group
Subject: (forte-users) FORTE M2 - NT partition compilation question
Microsoft (R) 32-Bit Incremental Linker Version 5.00.7022
Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
c:\forte/install/lib/qqDB.lib : fatal error LNK1106: invalidfile or disk
cannot seek to 0x38dff853
make[2]: *** [all] Error 1
Any suggestion ? (knowing I got 300 Mo left on drive)
1) Can that offset be translated in bytes ?
2) Does this rely on Oracle Client installation (DB) ?
Thanks,
j-paul gabrielli
sema DTS
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe,send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com--
For the archives, go to: http://lists.xpedior.com/forte-users and use
the login: forte and the password: archive. To unsubscribe, send in a new
email the word: 'Unsubscribe' to: forte-users-requestlists.xpedior.com

Similar Messages

  • Re: (forte-users) C++ version compatibility question. Fortev30L2 on D

    Dirk:
    I ran into a similar problem. I added an other flag to my fcompile script and
    it seems to be working fine, your mileage may vary. The flag was
    -cflags "-oldcxx only"
    Dwayne Kryger
    "Haben, Dirk" <[email protected]> on 08/25/99 02:09:16 AM
    To: "'Soapbox Forte Users'" <[email protected]>
    cc: (bcc: Dwayne Kryger/SEH)
    Subject: (forte-users) C++ version compatibility question. Forte v30L2 on
    Digital Unix 4 d and C++ version ???
    G'day Folxs
    Just installed Forte as a Simple Server on a Digital UNIX (v4.0d) box (being
    a VMSbot it was much easier than I thought). We want to use it to interface
    with an existing web client. The Forte part is to provide us a scalable
    access path to Oracle DBs on the VMS machine; already running Forte.
    I'm having trouble finding media that contains C++ v5.4.-006 for the Unix
    box. Does anyone know of/has used higher versions of C++ without too much
    drama? How about v5.7 or even v6.1? We will be using extensive C++
    interfacing to existing web pages!
    NB: The current web system client is compiled using EGCS 2.91.66.
    TIA,
    /[:-)irK
    Dirk Haben, Perth WA
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: [email protected]

    Dirk:
    I ran into a similar problem. I added an other flag to my fcompile script and
    it seems to be working fine, your mileage may vary. The flag was
    -cflags "-oldcxx only"
    Dwayne Kryger
    "Haben, Dirk" <[email protected]> on 08/25/99 02:09:16 AM
    To: "'Soapbox Forte Users'" <[email protected]>
    cc: (bcc: Dwayne Kryger/SEH)
    Subject: (forte-users) C++ version compatibility question. Forte v30L2 on
    Digital Unix 4 d and C++ version ???
    G'day Folxs
    Just installed Forte as a Simple Server on a Digital UNIX (v4.0d) box (being
    a VMSbot it was much easier than I thought). We want to use it to interface
    with an existing web client. The Forte part is to provide us a scalable
    access path to Oracle DBs on the VMS machine; already running Forte.
    I'm having trouble finding media that contains C++ v5.4.-006 for the Unix
    box. Does anyone know of/has used higher versions of C++ without too much
    drama? How about v5.7 or even v6.1? We will be using extensive C++
    interfacing to existing web pages!
    NB: The current web system client is compiled using EGCS 2.91.66.
    TIA,
    /[:-)irK
    Dirk Haben, Perth WA
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: [email protected]

  • Forte 6 update 2: Compile errors

    When I tried to recompile (using Forte C++ update 2) a project that was built fine under Workshop 4.2, Here are some of the errors that I received:
    Making CList.o...
    cc -g -Xc -I/usr/dt/include -I/usr/openwin/include -c CList.c
    "./XmI.h", line 113: (union) tag redeclared: __XmStringRec
    "CList.c", line 3605: warning: improper pointer/integer combination: op"="
    "CList.c", line 3861: warning: improper pointer/integer combination: op"="
    *** Error code 2
    make: Fatal error: Command failed for target 'CList.o'
    Making S_MoreTdimfElement.o...
    CC -g -I. -I/usr/dt/include -I/usr/openwin/include
    -I/home/lnguyen/tnp/include -compat -c S_Class.C
    "S_Class.C", line 2996: Error: Overloading ambiguity between
    "operator!=(const ClassA&, const ClassA&)" and
    "ClassA::operator const char*() const".
    "S_Class.C", line 3036: Error: Overloading ambiguity between
    "operator!=(const ClassA&, const ClassA&)" and
    "ClassA::operator const char*() const".
    2 Error(s) detected.
    ***Error code 2
    make: Fatal error: Command failed for target S_Class.o
    Anyone's seen this before?
    Thanks in advance...

    This was changed from an error to a warning about anacronism in the Forte Developer 7 C++ compiler. The warning can then be suppressed in a variety of ways including :
    CC -erroff=%all
    Since this structure is treated as an error in the Workshop 6 update 2 compiler, there's no way (of which I am aware) to get the compiler to compile files with the empty enum contained.

  • Sigh. This is wearing me out. compiler question

    I am not really a newbie to java technology but I seem to have a compiler question. My old compiler use to compile my codes. But a compiler I downloaded from your site dosent seem to work. Now there is a possibility that I downloaded a older version but I need someone to check this.
    Problem? My compiler will not comply with the websites. It seems that when I go to test my applet on a website it says not found. Now bear in mind I am testing on my hard drive but they are both in the same folder (Applet .class, .html file) Heres something that may be the deciding factor. My compiler version is 1.1.8
    See any problem that I can fix in this?

    public class Anotherapplet extends Applet {
    public void paint(Graphics g) {
    g.drawString("Hello world!", 50, 25);
    More problems. It says that "Anotherapplet" should not be defined in "filename.java"
    What am I doing wrong now?

  • Forte 6.2 c++ compiler on sparc

    If I am in the wrong forum, I apologize.
    Would appreciate if anyone could direct me to the
    right one.
    We have an old C++ (more C than C++) shared lib. which
    was compiled in Jan. 2002. No one knows what compiler
    was used. It was working fine with occasional nasty
    crashes. No core created (coresize is not set to zero).
    I found that char * datatype encapsulated in a user class
    had incorrect reference counting, and often malloc'd
    memory was being 'delete'ed instead of free'ing and new'd
    memory was being free'd, no checks for nullness of a ptr.
    I replaced some of the char * with the STL's string class
    and removed, as much as I could, all such inconsistencies.
    I compiled it on a forte 6.2 on a Sparc m/c and installed it
    on a few Sparc (Sun-Fire-xxxx) and two Ultra-80s.
    While I am not sure if the original crash was fixed, the
    exes. on the ultra-80 crashed a few times. Cores were
    created (an improvement :). If I read the cores into a
    debugger, pretty much all stack traces have
    std::bad_cast::what() exceptions and in addition two of
    the cores also have ostrstream::overflow().
    The big questions are :
    - Should I compile the lib. using -xarch=ultra-80 for
    the ultras ?
    - Should I have the compiler upgraded, as I read some
    place on Sun site that forte6.2 had casting problems ?
    - Should I go back into the code and start looking
    for casting problems and other overflow problems ?
    And then install some exception handlers.
    But the problem with implementing exception handling
    is, I will have to have a try and catch block in a lot of
    places. At the end of the day, I cannot be sure I have
    covered all bases.
    Any help, ideas would be deeply appreciated.

    Binaries (.o files, libraries, and executables) that use the std::string classs compiled with FD6u2 might not work with updated binaries. Whether they work depends on details of every CC command line used in building the old binaries, and whether libCstd.a was linked instead of /usr/lib/libCstd.so. An incorrect mix of binaries will result in program crashes.
    If your programs are working well enough, leave them alone. Otherwise, recompile all C++ code with Sun Studio 11. (There is no good reason to use anything older than Studio 11, and many reasons why you should not.)
    The -xarch=v9 option specifies 64-bit code. The default is 32-bit code. You can't mix 64-bit code and 32-bit code in the same program. If the original code was not built using -xarch=v9, do not use it now.
    You should specify the -xarch=v8plus option on all command lines for 32-bit code on all Ultrasparc processors. (Pre-Ultrasparc processors have not been used in systems since about 1994.)

  • Twu compile questions

    Hi,
    There is two questions:
    1)when I tried to compile the java client, I got this error message:
    UnivBApplet.java:11: package org.omg does not exist
    import org.omg.*;
    ^
    1 error
    NMAKE : fatal error U1077: 'javac' : return code '0x1'
    Stop.
    I know that I must set the classpath variable and I have set this:
    C:\bea\tuxedo8.0\udataobj\jolt;C:\bea\tuxedo8.0\udataobj\java\jdk
    Anything I ignored?
    2)In tuxedo8.0/samples/corba/university/basic, do this command: nmake -f makefileb.nt
    here is the error message:
    ..samplesdbsql.obj : error LNK2001: unresolved external symbol _sqlcxt
    univb_server.exe : fatal error LNK1120: 1 unresolved externals
    CMDTUX_CAT:4180: ERROR: can't execute cl /MD -Id:\Oracle\ora81\precomp\public
    -I
    C:\bea\tuxedo8.0\include -IC:\bea\tuxedo8.0\samples\corba\university\basic\..\ut
    ils -DWIN32 -DORACLE8I -I"%TUXDIR%"\include -Feunivb_server.exe BS-870.cpp C:\be
    a\tuxedo8.0\samples\corba\university\basic\..\utils\log.cpp C:\bea\tux
    edo8.0\samples\corba\university\basic\..\utils\log_server.cpp C:\bea\tuxedo8.
    0\samples\corba\university\basic\..\utils\unique_id.cpp C:\bea\tuxedo8.0\sam
    ples\corba\university\basic\..\utils\samplesdb.cpp C:\bea\tuxedo8.0\samples\
    corba\university\basic\..\utils\samplesdbsql.cpp C:\bea\tuxedo8.0\samples\corba
    \university\basic\..\utils\oradbconn.cpp univb_c.cpp univb_s.
    cpp univb_utils.cpp univb_i.cpp univbs.
    cpp -GX -GR "%TUXDIR%"\lib\tpfwinit.obj "%TUXDIR%"\lib\libenv.lib "%TUXDIR%"\
    lib\libomg.lib "%TUXDIR%"\lib\libnative.lib "%TUXDIR%"\lib\liborb.lib "%TUXDI
    R%"\lib\liborbpoa.lib "%TUXDIR%"\lib\libtmib.lib "%TUXDIR%"\lib\libicbgp.lib
    "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"\lib\libbuft.lib %ORACLE_HOME%\RDBMS\XA\or
    axa8.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib "%TUXDIR%"\lib\li
    bengine.lib wsock32.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32
    .lib winspool.lib -link -implib:BS-870.lib
    NMAKE : fatal error U1077: 'buildobjserver' : return code '0x2'
    Stop.
    What happened?
    Thanks,
    George

    George Lin wrote:
    Hi,
    There is two questions:
    1)when I tried to compile the java client, I got this error message:
    UnivBApplet.java:11: package org.omg does not exist
    import org.omg.*;
    ^
    1 error
    NMAKE : fatal error U1077: 'javac' : return code '0x1'
    Stop.
    I know that I must set the classpath variable and I have set this:
    C:\bea\tuxedo8.0\udataobj\jolt;C:\bea\tuxedo8.0\udataobj\java\jdk
    Anything I ignored?Yes, the directories specified above do not contain classfiles, they contain jar files so
    you need to specify the jar files explicitly in the classpath...
    2)In tuxedo8.0/samples/corba/university/basic, do this command: nmake -f makefileb.nt
    here is the error message:
    ..samplesdbsql.obj : error LNK2001: unresolved external symbol _sqlcxt
    univb_server.exe : fatal error LNK1120: 1 unresolved externals
    CMDTUX_CAT:4180: ERROR: can't execute cl /MD -Id:\Oracle\ora81\precomp\public
    -I
    C:\bea\tuxedo8.0\include -IC:\bea\tuxedo8.0\samples\corba\university\basic\..\ut
    ils -DWIN32 -DORACLE8I -I"%TUXDIR%"\include -Feunivb_server.exe BS-870.cpp C:\be
    a\tuxedo8.0\samples\corba\university\basic\..\utils\log.cpp C:\bea\tux
    edo8.0\samples\corba\university\basic\..\utils\log_server.cpp C:\bea\tuxedo8.
    0\samples\corba\university\basic\..\utils\unique_id.cpp C:\bea\tuxedo8.0\sam
    ples\corba\university\basic\..\utils\samplesdb.cpp C:\bea\tuxedo8.0\samples\
    corba\university\basic\..\utils\samplesdbsql.cpp C:\bea\tuxedo8.0\samples\corba
    \university\basic\..\utils\oradbconn.cpp univb_c.cpp univb_s.
    cpp univb_utils.cpp univb_i.cpp univbs.
    cpp -GX -GR "%TUXDIR%"\lib\tpfwinit.obj "%TUXDIR%"\lib\libenv.lib "%TUXDIR%"\
    lib\libomg.lib "%TUXDIR%"\lib\libnative.lib "%TUXDIR%"\lib\liborb.lib "%TUXDI
    R%"\lib\liborbpoa.lib "%TUXDIR%"\lib\libtmib.lib "%TUXDIR%"\lib\libicbgp.lib
    "%TUXDIR%"\lib\libtux.lib "%TUXDIR%"\lib\libbuft.lib %ORACLE_HOME%\RDBMS\XA\or
    axa8.lib "%TUXDIR%"\lib\libfml.lib "%TUXDIR%"\lib\libfml32.lib "%TUXDIR%"\lib\li
    bengine.lib wsock32.lib kernel32.lib advapi32.lib user32.lib gdi32.lib comdlg32
    lib winspool.lib -link -implib:BS-870.lib
    NMAKE : fatal error U1077: 'buildobjserver' : return code '0x2'
    Stop.
    What happened?This looks suspiciously like a common problem that has been plaguing Tuxedo users for
    years. The problem is that Tuxedo supplies an undocumented database with the product
    that has some include files (and libraries) that conflict with other RDBMS products. The
    best thing to do is to rename the following files so that they do not get involved in
    your compiles and cause you problems:
    $TUXDIR/include/sqlca.h
    $TUXDIR/include/sqlcode.h
    $TUXDIR/include/sqlda.h
    The following files may or may not cause problems on Windows platforms depending on the
    RDBMS being used:
    $TUXDIR/lib/libsql.lib (on non-windows platforms, the extension is different)
    $TUXDIR/bin/libsql.dll (does not exist on non-windows platforms)
    Hope this helps,
    Robert

  • Sorting/Compilation question

    I've looked through previous posts on this topic and don't see one addressed to this specific question: Why does iTunes (I've got 7.0.2) assign music to the Compliations folder that really isn't a compilation?
    I've been trying to build separate libraries of music -- one of aac files, for the iPod, and one of aiff files, for playing music through the computer -- and iTunes seems to make this a difficult task. Case in point: Pink Floyd's Ummagumma, a 2-disc release -- iTunes assigns disc 1 to iTunes Music > Pink Floyd > Ummagumma, but sticks disc 2 into iTunes Music > Compilations > Ummagumma.
    It's a rip of a CD I own, and imported as aiff and then converted to aac. I used the latter to load on to the iPod, but kept the larger files because I can hear the difference between compressed and non-compressed music in my home stereo. But come to look at how these are filed, I've got nearly three dozen albums under "Compilations," two-thirds of which are by a single artist or group. I can understand albums that would feature multiple artists, but why does iTunes separate out the others?
    Tom
    PowerMac G5 dual 2.5GHz, 1.5GB; iBook G4 1.33GHz, 1GB   Mac OS X (10.4.8)   200GB&500GB LaCie FW HD, 16x LaCie LightScribe

    Zang! Exactly the solution for which I was searching. Thanks.
    Tom
    PowerMac G5 dual 2.5GHz, 1.5GB; iBook G4 1.33GHz, 1GB   Mac OS X (10.4.8)   200GB&500GB LaCie FW HD, 16x LaCie LightScribe

  • Forte IIOP / Corba / Java other questions...

    I've a problem with Forte (3.0.E.0) generating IDL that is causing
    Visigenic Visibroker 2.5 (for Java) compile errors...
    It has something to do with the order(ing) of interfaces declaration
    and referencing these interfaces within the generated IDL file ...
    To fix thix, I've to hand edit the IDL file and declare the interfaces
    before they are referenced in some other Interface declaration...Since
    we have a lot of classes, it can take time to do this...
    Is this a known bug ? undocumented behavior ? is there any way to
    workaround this ? I would assume that Interface declaration/referencing
    should be done in proper order (When forte generates IDL), but it is
    not.
    Thanks for any help,
    --francois
    Francois Orsini
    Evolve Inc - 615 Battery Street - San Francisco, CA 94111
    (415) 439-4076 - Email: [email protected]

    I've a problem with Forte (3.0.E.0) generating IDL that is causing
    Visigenic Visibroker 2.5 (for Java) compile errors...
    It has something to do with the order(ing) of interfaces declaration
    and referencing these interfaces within the generated IDL file ...
    To fix thix, I've to hand edit the IDL file and declare the interfaces
    before they are referenced in some other Interface declaration...Since
    we have a lot of classes, it can take time to do this...
    Is this a known bug ? undocumented behavior ? is there any way to
    workaround this ? I would assume that Interface declaration/referencing
    should be done in proper order (When forte generates IDL), but it is
    not.
    Thanks for any help,
    --francois
    Francois Orsini
    Evolve Inc - 615 Battery Street - San Francisco, CA 94111
    (415) 439-4076 - Email: [email protected]

  • Java compiling question

    Hi . I have one class file for an IRC client , the compilation works fine...
    javac -O <filename>.java
    jar cvf <filename>.jar <filename>.class
    jarsigner -keystore suresh.store <filename>.jar sureshcert
    But now I want to compile it so it would work with Microsoft VM too on my web browser . What tools should I use or what are the correct commands on compilation (I'm using Java 2 SDK 1.4.2_05)?

    Hi,
    This forum is exclusively for the Sun Java Studio Creator related discussions. Could you please post your question in the appropriate forum.
    http://forum.java.sun.com/forum.jspa?forumID=31
    Thanks,
    RK.

  • Compile question

    I got a few questions regarding compiling with Sun Studio.
    1) If I compile a application for a specific CPU architecture, how specific can I be, specify exact CPU or just CPU family or perhaps both?
    2) If I choose to compile for a specific CPU, could the application still be used on other CPU models but not get the same performance boost OR is the application totally locked for the specific CPU I compiled for?
    3) If it isn't possible to run a specific compilation on all CPUs of the same family, is there a way to boost the performance generic for all CPU types in the same family?
    Thanks,
    Nergal

    Because of the range of CPU architectures, there is no simple answer to your question. The detailed answers are in the C User's Guide chapter on compiler options:
    http://docs.sun.com/source/819-3688/cc_ops.app.html
    Refer especially to the -xarch, -xtarget, and -xchip options, as well as related options like -xcache.
    You can download a pdf version of the C Users Guide here:
    http://docs.sun.com/app/docs/coll/771.7
    By default, the compilers generate code for a 32-bit generic architecture that will run on all non-obsolete systems in that family (sparc or x86). If you add -xarch, -xtarget, or -xchip options, you narrow the range of systems that will be able to run the code.
    For example, if you select -xarch=v8plusa, the resulting code wil run on sparc v8plusa, b, and c archtiectures, but not on v8 or v8plus. Similarly, if you specify SSE or SSE2 instruction sets for x86, the code will run only on systems that support those instructions. In addition, the SSE family of extensions is supported only on Solaris 9 update 6 and later.
    Except forf sparc T1 ("Niagara"), the sparc architectures are ordered linearly. Code compiled for an earlier ("lower") architecture will run on all later architectures, but not as fast as code compiled for the later achitecture. (T1 is an exception, being more like UltraSparc II, although it was introduced after UltraSparc III.)
    The x86 family has no simple inter-relationships, unfortunately. Later x86 architectures sometime drop support for instructions that were present in earlier architectures. The generic instruction set will run on all x86 systems, but you have to pay closer attention when you tell the compiler to generate more specialized code.
    Finally, 32-bit code runs only on a 32-bit architecture (for example, a 64-bit chip in 32-bit mode), and 64-bit code runs only on a 64-bit architecture and OS. For both sparc and x86/x64, the instructions sets and other architectural details are different between 32-bit and 64-bit mode. You can't mix 32-bit and 64-bit code in the same program.

  • Compiling question responses in a survey question

    I am creating diagnostic tests for a psychiatric firm for
    presentation on their website. The tests use the Likert
    Scale-question slide as their template and allow the user to select
    from a scale usually with five options. I want to tabulate each of
    the individual responses and report them to the user. For instance
    the user is presented with this scale 1) Disagree, 2)Somewhat
    Disagree, 3)Neutral, 4)Somewhat Agree, 5)Agree. The test is
    completed and at the end they have selected Disagree-10 times,
    Somewhat Disagree-5 times, Neutral- 11 times and Agree- 15 times. I
    want to present each response group and the total number of
    responses for each group and be able to apply the response total to
    a score (i.e. 10 "Disagrees" selected means that the user is
    clinically depressed). Is this possible using Javascripting?

    Hi and welcome to the forums!
    Assuming you're wanting to do all this in Captivate, what
    you're asking would be very difficult to accomplish using the
    current version of the product.
    You can easily present the questions using Captivate, but
    compiling the answer into custom output is the really, really hard
    part.
    Some folks have been able to directly access the internal
    Flash variables Captivate uses to store user results, but the
    examples I've seen were in Flash and assume a moderate to high
    level of Flash knowledge. Also, those variables are undocumented so
    I can only guess at how folks are determining what they are.
    If you can figure out which variable(s) Captivate uses to
    store the user interaction data, you might be able to pull them out
    into the browser using the Flash GetVariable method in Javascript.
    Since you cannot access or modify Captivate objects using
    Javascript, you'd pretty much have to build the results output
    entirely in HTML or pass the information back in to a custom Flash
    animation inside the Captivate movie. Either way, you're facing a
    fairly difficult task.
    Sorry it's not better news, but Captivate is very much an
    "out of the box" product.
    A suggestion would be to submit a Feature Request to Adobe to
    offer some sort of documented API for accessing and controlling
    internal Captivate variables and objects, which would more easily
    allow you to create custom solutions like the one you're looking
    for.
    The Feature Request/Bug Submission form can be found here:
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=5

  • Newbie Forte 4GL SQL and script question

    Kudos to all contributing to this forum. I appreciate all the info I have
    been receiving.
    I have a Forte 4GL question that someone may be able to help me with. I
    have created a simple window class with a number of fields and a button.
    When I press the button I want to take the values for each field and map
    them to the appropriate column name in an oracle table.
    The database and the table have already been created. I have verified in
    SQL that I can query the table and I have created the Database manager in
    the environment console. I have also created a DBSession service object
    with the approprate information in the Database Tab.
    I am unsure what the syntax should look like and where to put the SQL
    statement.
    Let's say the Window Class is called "Prototype" and the oracle table is
    called "Table".
    On the Prototype the field names are LastName, FirstName, and Address.
    The corresponding column names are LNAME, FNAME, ADDRESS.
    Can I put a sql insert statement in the Display method in the window class?
    self.Open();
    event loop
        when <CreateBtn>.Click do
                    self.Window.MessageDialog
                            (MessageText='You have clicked the Create button. 
    Information will be committed and sent for processing',
                            MessageType=MT_INFO);  
    ?<SQL insert statement>?
            when task.Shutdown do
                    exit;
    end event;
    self.Close();
    Lastly, how would one code in TOOL a command to call a shell script?
    The shell script will reside on a UNIX box (same box where the database
    resides) and create a flatfile of the data I just committed to the database
    and then transport it to a remote location. I realize
    there are a number of ways to tacke this. My initial thought is to have
    Forte call a shell script execute a sql command to create a flatfile and
    then handle the transport. The shell script would send a return value to
    Forte indicating the process is complete.
    Thanks for your help.
    Michael
    mipyeehotmail.com

    to build on pressh's comment, most rc.d scripts have a start, stop, restart case statement form.  i'm not sure if that's required to get it working correctly (i've got a custom dropboxd rc.d script that's giving me headaches at boot time so i won't offer any more "expertise" ).
    now to my main point: it seems by the nature of your script, that that line would be better off in rc.local

  • Cs6 sdk(Adobe_InDesign_CS6_Plugin_SDK_413_Win) compile question.

    Hello,
    I have simple question.
    Error message is
    "D:\git_repo\Adobe_InDesign_CS6_Plugin_SDK_413_Win\Adobe InDesign CS6 Plugin SDK\build\win\objr\BasicDialog\*.idrc not found.
    merge_res.cmd - calling ConcatRes
         1 file is copy.
    ConcatRes skipped since ".\..\objr\BasicDialog"\BscDlg.fres is an empty file".
    I use visual studio 2010 Ultimate SP1 version and windows 7 64bit.
    How to sdk6 compile??

    Hi,
    This normally means something is wrong with some paths. What I tend to do to help diagnose is temporarily modify merge_res.cmd so it displays the paths it is getting. It's been a while since I needed to do this, so I can only describe the broad strokes in what to do. If you open merge_res.cmd in a text editor, you edit it and add some additional info:
    I had a quick look, and I noticed these lines:
    rem echo %RESFILE%
    rem echo %FRESFILE%
    rem echo %TEMPRESFILE%
    I'd uncomment them, and then try again. With a little luck, your Output window in Visual Studio will show what each of these are. If nothing appears (I am not 100% sure the echo-s from the .cmd will make it to the Output Window), make it something like
    echo %RESFILE% > C:\tmp\merge_res_log.txt
    echo %FRESFILE% >> C:\tmp\merge_res_log.txt
    echo %TEMPRESFILE% >> C:\tmp\merge_res_log.txt
    You can also throw in some additional things:
    echo %1%
    echo %2%
    echo %3%
    to help figure out what is happening.
    Then you need to check your project file and properties in Visual Studio. I often forego Visual Studio, and instead open the .vxproj project file and the various .props files in a text editor, which makes it much easier to get an overview. Somewhere in there is an incorrect path setting.
    Hope that helps. It's not possible to give you a simple 'do this and that fixes it' response: too many variables involved. If you would like to have a more in-depth discussion, a number of InDesign SDK developers will be at PePcon 2015; I'll be there!
    http://www.pepcon.com/session/creative-developers-summit-2015/

  • Select over partition compilation error

    Forms [32 Bit] Version 10.1.2.0.2 (Production)!!
    Is it possible that select over partition is all right in a Record group while it is giving error in to trigger?
    Thanks in advance

    Triggers are compiled in forms so need to use only the features available to forms, which doesn't include all the new stuff in the database.
    Record groups are not compiled, they are parsed on the database so can include all database functionality. If you create a record group you can see immediately the source in v$sql, with bind variables replaced with :1, :2 etc.

  • A Compile Question

    Hi, Gurus,
    I am new in Java. I have a question here that needs help.
    When I compiled the following servlet with
    javac SqlServlet.java
    SqlServlet.java
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class SqlServlet extends HttpServlet {
    public void doGet(
    HttpServletRequest request,
    HttpServletResponse response)
    throws IOException, ServletException {
    I got this message:
    javac SqlServlet.java
    SqlServlet.java:9: package javax.servlet does not exist
    import javax.servlet.*;
    ^
    SqlServlet.java:10: package javax.servlet.http does not exist
    import javax.servlet.http.*;
    ^
    SqlServlet.java:12: cannot resolve symbol
    symbol : class HttpServlet
    location: class SqlServlet
    public class SqlServlet extends HttpServlet {
    ^
    Looks like packages javax.servlet and javax.servlet.http were not found.
    I used Windows 2000 with j2sdk1.4.0_02 and j2sdkee1.3.1 installed. What was wrong with me?
    Thank you for your help in advance.
    myao1

    myao1,
    You indicated that you are using Windows 2000 with j2sdk1.4.0_02 and j2sdkee1.3.1. The Servlet Classes are located in the j2sdkee1.3.1 package. Follow the following steps:
    1. Go to a command prompt (cmd.exe or command.exe) and type the following (looking for j2ee.jar):
    echo %classpath%
    If you see it in the classpath, then, if you are using some sort of IDE to compile your code, you will need to add the j2ee.jar to the class path in the IDE. Every IDE is different so I can't help you without knowing what you are using. If it is not found and you use the command prompt to compile your code, continue to step 2.
    2. Find out the absolute path of your j2sdkee1.3.1 package. you really only need to include the j2ee.jar in your classpath, but I include both. Add the following two lines to your class path. I am using the absolute paths from my system (as an example):
    a. You can either add them to the Classpath environment variable through the system environment variables.
    b. create a batch file that you can run from a command prompt that looks similar to the following:
    Contents of java141.bat
    @ECHO OFF
    ECHO JDK 1.4.1 and J2EE 1.3.1 are current versions
    set HOLD_CP = %CLASSPATH%
    set HOLD_PATH = %PATH%
    set CLASSPATH=.
    set CLASSPATH=%CLASSPATH%;e:\jdk14\jre\lib\rt.jar
    set CLASSPATH=%CLASSPATH%;e:\jdk14\lib\dt.jar
    set CLASSPATH=%CLASSPATH%;e:\jdk14\lib\tools.jar
    set CLASSPATH=%CLASSPATH%;e:\jdk14\lib\htmlconverter.jar
    rem **** J2EE STUFF ****
    set CLASSPATH=%CLASSPATH%;e:\j2ee131\lib\j2ee.jar
    set CLASSPATH=%CLASSPATH%;e:\j2ee131\lib\ejb10deployment.jar
    set CLASSPATH=%CLASSPATH%;%HOLD_CP%
    set PATH=e:\jdk14\bin
    set PATH=%PATH%;c:\windows\command
    set PATH=%PATH%;%HOLD_PATH%
    c. add it to the compiler when you compile your classes:
    javac -classpath "%classpath%;c:\j2ee131\lib\j2ee.jar;c:\j2ee131\lib\ejb10deployment.jar" *.javaI prefer the batch file technique because I sometimes need to compile code with different versions of the JDK and I can execute the ones I want. You can add other stuff to your path and classpath as well in these batch files. By the way, what are you using to compile your classes? I use textpad (http://www.textpad.com) and I am assuming you are doing it from a command prompt.
    TJJ

Maybe you are looking for

  • Multiple columns and rows in MessageService

    I am attempting to create a message (via MessageService) which has multiple lines of data, and each line has multiple data columns. Background:  My program reads data from a web store, and creates Sales Orders in SBO.  A single run might process mult

  • Menus appearing underneath other components

    I am having a problem making my menus appear on top when they 'pop up'. I know this is a problem with mixing heavyweight and lightweight components, and I have been trying to force the menus to be heavyweight but to no avail. I have been trying to se

  • Is it possible to create a gradient mesh object with 2 spot colors which separates & prints as a 2 color print job?

    I have a gradient mesh object which uses 2 spot color values (including some tints of those 2 colours) which I'd like to print as a 2 color print job. Is this possible? If not, any suggestions as to how I should proceed? The print job MUST be 2 color

  • Video Question, How to play all at once

    Hey everyone, I have a list of videos i'd like to play one right after the other but i cannot seem to be able to do it. Is there any way to do this? I don't see why there wouldn't be, I probably just can't figure it out. Thanks!

  • Default date in MDS Entity

    Hi , Is there any way to set a default date for a member in MDS. My requirement is that business user can enter either current date or future date but not past date. Any help is appreciated Thank you, Vishal.