Problems exporting / importing symbols across modules

I have a situation where i have to export a function from one module and call it from the other. In linux you typically do an EXPORT_SYMBOL(sym) to make it visible to the kernel. In solaris as long as function is not static the symbol is visible to the rest of the kernel namespace.
But my driver that calls the function from the other module fails to load cribbing "/kernel/drv/sparcv9/betaDrv: undefined symbol"
Here in my code the alphaDrv module has a function "export_from_alpha" which is called by betaDrv module.
OS is Solaris9 (64bit kernel) on SPARC
Code for alphaDrv:
#include <sys/modctl.h>
#include <sys/conf.h>
#include <sys/devops.h>
#include <sys/cmn_err.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
#include <sys/stat.h>
#include <sys/stack.h>
#include <sys/frame.h>
#include <sys/kobj.h>
#include <sys/ksynch.h>
#include <sys/copyops.h>
#include <sys/disp.h>
dev_info_t *g_dip;
/* Function exported from alphaDrv to be called from betaDrv */
char *export_from_alpha(void)
  cmn_err(CE_CONT, "Houston, receiving you loud and clear !!");
  return "Hello World !";
static int alpha_open(dev_t *devp, int flag, int otyp, cred_t *credp)
  return 0;
static int alpha_close(dev_t dev, int flag, int otyp, cred_t *credp)
  return 0;
static int alpha_read_write(dev_t dev, struct uio *uiop, cred_t *credp)
  return 0;
static int alpha_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result)
  int rc = DDI_FAILURE;
  cmn_err(CE_CONT, "EntryPoint(ALPHA) - alpha_info");
  switch(infocmd)
  case DDI_INFO_DEVT2DEVINFO:
    *result = g_dip;
    rc = DDI_SUCCESS;
  case DDI_INFO_DEVT2INSTANCE:
    *result = (void *)getminor((dev_t)arg);
    rc = DDI_SUCCESS;
    break;
  default:
    *result = NULL;
    break;
  return rc;
static int alpha_attach(dev_info_t *dip, ddi_attach_cmd_t cmd)
  int inst = ddi_get_instance(dip);
  cmn_err(CE_CONT, "EntryPoint(ALPHA) - alpha_attach");
  switch(cmd)
  case DDI_ATTACH:
    if(ddi_create_minor_node(dip, "ALPHA1", S_IFCHR, inst, DDI_PSEUDO, 0))
      return DDI_FAILURE;
    g_dip = (void *)dip;
    break;
  case DDI_RESUME:
    break;
  default:
    return (DDI_FAILURE);
  return (DDI_SUCCESS);
static int alpha_detach(dev_info_t *dip, ddi_detach_cmd_t cmd)
  int inst = ddi_get_instance(dip);
  cmn_err(CE_CONT, "EntryPoint(ALPHA) - alpha_detach");
  switch(cmd)
    case DDI_DETACH:
      ddi_remove_minor_node(dip, NULL);
      break;
    default:
      return (DDI_FAILURE);
  return (DDI_SUCCESS);
/* Driver specific implementations */
static struct cb_ops alpha_cb_ops = {
  alpha_open,
  alpha_close,
  nodev,
  nodev,
  nodev,
  alpha_read_write,
  alpha_read_write,
  nodev,
  nodev,
  nodev,
  nodev,
  nochpoll,
  ddi_prop_op,
  (struct streamtab *)NULL,
  D_MP | D_64BIT,
  CB_REV,
  nodev,
  nodev
static struct dev_ops alpha_dev_ops = {
  DEVO_REV,
  0,
  alpha_info,
  nulldev,
  nulldev,
  alpha_attach,
  alpha_detach,
  nodev,
  &alpha_cb_ops,
  (struct bus_ops *)NULL,
  nulldev
static struct modldrv alpha_modldrv = {
  &mod_driverops,
  "ALPHA Driver",
  &alpha_dev_ops
static struct modlinkage alpha_modlinkage = {
  MODREV_1,
  (void *)&alpha_modldrv,
  NULL
int _init(void)
  int rc;
  cmn_err(CE_CONT, "EntryPoint(ALPHA) - _init");
  rc = mod_install(&alpha_modlinkage);
  if(rc)
    cmn_err(CE_CONT, "Failed to install driver(ALPHA) - %d", rc);
  return rc;
int _info(struct modinfo *modInfop)
  int rc;
  cmn_err(CE_CONT, "\n\n\nEntryPoint(ALPHA) - _info");
  rc = mod_info(&alpha_modlinkage, modInfop);
  if(!rc)
    cmn_err(CE_CONT, "Failed to get driver info(ALPHA) - %d", rc);
  return rc;
int _fini(void)
  return(mod_remove(&alpha_modlinkage));
}Code for betaDrv:
#include <sys/modctl.h>
#include <sys/conf.h>
#include <sys/devops.h>
#include <sys/cmn_err.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
#include <sys/stat.h>
#include <sys/stack.h>
#include <sys/frame.h>
#include <sys/kobj.h>
#include <sys/ksynch.h>
#include <sys/copyops.h>
#include <sys/disp.h>
dev_info_t *g_dip;
/* Extern declartion for the function imported from alphaDrv */
char *export_from_alpha(void);
static int beta_open(dev_t *devp, int flag, int otyp, cred_t *credp)
  return 0;
static int beta_close(dev_t dev, int flag, int otyp, cred_t *credp)
  return 0;
static int beta_read_write(dev_t dev, struct uio *uiop, cred_t *credp)
  return 0;
static int beta_info(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **result)
  int rc = DDI_FAILURE;
  cmn_err(CE_CONT, "EntryPoint(BETA) - beta_info");
  switch(infocmd)
  case DDI_INFO_DEVT2DEVINFO:
    *result = g_dip;
    rc = DDI_SUCCESS;
  case DDI_INFO_DEVT2INSTANCE:
    *result = (void *)getminor((dev_t)arg);
    rc = DDI_SUCCESS;
    break;
  default:
    *result = NULL;
    break;
  return rc;
static int beta_attach(dev_info_t *dip, ddi_attach_cmd_t cmd)
  int inst = ddi_get_instance(dip);
  cmn_err(CE_CONT, "EntryPoint(BETA) - beta_attach");
  switch(cmd)
  case DDI_ATTACH:
    if(ddi_create_minor_node(dip, "BETA1", S_IFCHR, inst, DDI_PSEUDO, 0))
      return DDI_FAILURE;
    g_dip = (void *)dip;
    break;
  case DDI_RESUME:
    break;
  default:
    return (DDI_FAILURE);
  return (DDI_SUCCESS);
static int beta_detach(dev_info_t *dip, ddi_detach_cmd_t cmd)
  int inst = ddi_get_instance(dip);
  cmn_err(CE_CONT, "EntryPoint(BETA) - beta_detach");
  switch(cmd)
    case DDI_DETACH:
      ddi_remove_minor_node(dip, NULL);
      break;
    default:
      return (DDI_FAILURE);
  return (DDI_SUCCESS);
/* Driver specific implementations */
static struct cb_ops beta_cb_ops = {
  beta_open,
  beta_close,
  nodev,
  nodev,
  nodev,
  beta_read_write,
  beta_read_write,
  nodev,
  nodev,
  nodev,
  nodev,
  nochpoll,
  ddi_prop_op,
  (struct streamtab *)NULL,
  D_MP | D_64BIT,
  CB_REV,
  nodev,
  nodev
static struct dev_ops beta_dev_ops = {
  DEVO_REV,
  0,
  beta_info,
  nulldev,
  nulldev,
  beta_attach,
  beta_detach,
  nodev,
  &beta_cb_ops,
  (struct bus_ops *)NULL,
  nulldev
static struct modldrv beta_modldrv = {
  &mod_driverops,
  "BETA Driver",
  &beta_dev_ops
static struct modlinkage beta_modlinkage = {
  MODREV_1,
  (void *)&beta_modldrv,
  NULL
int _init(void)
  int rc;
  cmn_err(CE_CONT, "EntryPoint(BETA) - _init");
  rc = mod_install(&beta_modlinkage);
  if(rc)
    cmn_err(CE_CONT, "Failed to install driver(BETA) - %d", rc);
  /* Calling function exported from alpha */
  cmn_err(CE_CONT, "Houston, we have a problem !! --> %s", export_from_alpha());
  return rc;
int _info(struct modinfo *modInfop)
  int rc;
  cmn_err(CE_CONT, "\n\n\nEntryPoint(BETA) - _info");
  rc = mod_info(&beta_modlinkage, modInfop);
  if(!rc)
    cmn_err(CE_CONT, "Failed to get driver info(BETA) - %d", rc);
  return rc;
int _fini(void)
  return(mod_remove(&beta_modlinkage));
}This is what i do:
# rem_drv alphaDrv
# rem_drv betaDrv
# rm -f /kernel/drv/sparcv9/alphaDrv
# rm -f /kernel/drv/sparcv9/betaDrv
# /opt/SUNWspro/bin/cc -xarch=v9 -D_KERNEL -DDEBUG -D__64BIT__ -c alpha.c
# /usr/ccs/bin/ld -r -o alphaDrv alpha.o
# /opt/SUNWspro/bin/cc -xarch=v9 -D_KERNEL -DDEBUG -D__64BIT__ -c beta.c
# /usr/ccs/bin/ld -r -o betaDrv beta.o
# cp alphaDrv /kernel/drv/sparcv9
# cp betaDrv /kernel/drv/sparcv9
# add_drv alphaDrv
# add_drv betaDrv
devfsadm: driver failed to attach: betaDrv
Warning: Driver (betaDrv) successfully added to system but failed to attach
This is the outout from /var/adm/messages:
Oct 17 15:34:25 test_machine1 EntryPoint(ALPHA) - _info
Oct 17 15:34:25 test_machine1 alphaDrv: [ID 938910 kern.notice] EntryPoint(ALPHA) - alpha_detach
Oct 17 15:34:40 test_machine1 alphaDrv: [ID 394848 kern.notice]
Oct 17 15:34:40 test_machine1 EntryPoint(ALPHA) - _info
Oct 17 15:34:40 test_machine1 alphaDrv: [ID 756530 kern.notice] EntryPoint(ALPHA) - _init
Oct 17 15:34:40 test_machine1 alphaDrv: [ID 999966 kern.notice] EntryPoint(ALPHA) - alpha_attach
Oct 17 15:34:41 test_machine1 krtld: [ID 819705 kern.notice] /kernel/drv/sparcv9/betaDrv: undefined symbol
Oct 17 15:34:41 test_machine1 krtld: [ID 826211 kern.notice] 'export_from_alpha'
Oct 17 15:34:41 test_machine1 krtld: [ID 472681 kern.notice] WARNING: mod_load: cannot load module 'betaDrv'
Thanks for the help

Hello.
I use "misc modules" to handle data transfer between modules.
"Misc modules" can provide shared memory between modules which can be used to store function pointers.
Martin

Similar Messages

  • Problem Exporting / Importing print forms with program RSTXSCRP

    Hi!
    there is problem Exporting / Importing print forms with program RSTXSCRP.
    when I transfer print form from one SAP system to other, logo image and some text is missing... what could be the reason?
    Maybe there is other way to transfer print forms between SAP systems without using program RSTXSCRP?
    Will reward,
    Mindaugas

    Hi,
    when you transfer print forms from one sap system to another, logos are not transfered automatically. these are actually .bmp files which need to be existing in every client. then only when you run your print program logo can be seen in your print output. hence logos need to be created explicitly in every client where you want to run your print program.
    thanks,
    sksingh

  • Problem while importing RFC function module in XI. Please Help!

    Hi Experts,
               When I try to import RFC function module in XI I get the following error:
                 **Ready for import**
    Import started...
    YCOP_VALIDATE_GR:
      + com.sap.aii.ibrep.sbeans.upload.RemoteUploadException: connection closed without message (CM_NO_DATA_RECEIVED)
    Import failed with 1 error
    Any idea why is this error? How to resolve this?
    Thanks
    Gopal

    Hi
       The problem still persists.
       This is what I have done:
        1. My FM is RFC enabled. In the "Attribute" tab of the FM I have selected "Remote-enabled module" and "Start immed".
    2.Activated and tested the FM.
    3.Released the FM. In se37, Function Module -> Release ->Release. 
    4.Tried to import this FM in XI under "RFC". Get the same error.
    I have some questions:
    1. After releasing the FM do I have to activate it?
    2. In release there is "Internal Release" Do I have to use that?
    3.Do I have to do "Internal Release" first then "Release"?
    4.The FM i am trying to import makes a call to another FM. Both the FMs are in the same system. Both are remote enabled. The second FM updates data in custom table. the first FM which I am importing validates the data and then calls the second FM for update. Do I have to import both FMs?
    Please help me!
    Thanks
    Gopal

  • Problems Export/Import on Windows x64 with SQL2005 x64

    Hi All:
    After successful export with R3Load of a ECC5.00 (Kernel 6.40 Patch level 171) when we import the data into SQL2005 SP1 and after successful import into the target database, we have some inconsistencies in several DYNPROS, we got errors like this when we run several transactions:
    BZW Error 2 during compression/decompression ( UNPAC)
    AB0 Run-time error "DYNPRO_SYNTAX_ERROR" occurred
    and in the trace files we found:
    Fri Feb 23 16:12:35 2007
    ***LOG BZW=> error 2          on compression/decompression using UNPACK     [dbdynp#1 @ 842] [dbdynp  0842 ]
    ERROR => Involved dynpro: SAPMF02D                                 - 0101
    dbdynp.c     842]
    ERROR => DY-SRC_READ BUFFER: any error 4 [dgdynp.c     1225]
    It seems the DYNPROSOURCE table contains bad entries, but the export/import procedure was successful, we also execute "Tools for MS SQL" successfully.
    Any help will be greatly appreciated...!!!
    Regards,
    Federico

    Hi Federico
    Seems there is some problem in kernals.I would suggest a solution :Solution: Copy <putdir>\exe to $(DIR_EXE_ROOT)\$(OS_UNICODE)\NTAMD64
    and repeat phase.    
    Let me know if it works.
    Also check the numbers in instance problem,it should not be more than 20 for windows.
    Reward points

  • Problem exporting/Importing alerts

    Hi all,
    We have alerts that calls the same plan, each alert passed a different parameter to the plan.
    When trying to migrate from one environment to another (using icommand).
    When exporting the alerts using Icommand, the internal plan id appears in the xml file.
    As a result, import of alerts fails since when importing the plans they are issued new internal ids).
    We tried using mode=preserveid on import, but it does not help since the plans do not contain ids.
    Any ideas how to solve this ?
    Thanks in advance,
    Alon

    Hi,
    I tried to reproduce the problem but found that the Icommand export of alert refers to the plan by name.
    What exactly is the error you were getting.
    Created a plan and an alert that runs the plan, exported both, then deleted both and imported them which worked
    Thanks

  • Problems Exporting WingDing Symbols to PDF Files

    Okay, I have a new one for you.  It's related to this thread: Crystal Reports 8.5 Multi-Selection Formulas
    I have a report using 8.5 which contains formulas to display checkboxes.  The checkboxes work correctly (thank you so much Garrett!).  However, when I export the report as a pdf file, the unchecked boxes appear as starts and the X'ed boxes appear as rectangles (unrecognized font).  The formula fields are in WingDing font; the characters are 168 and 253. 
    I changed the character numbers to 169 and 174, and I changed to font to Times New Roman, just to see if it would convert correctly.  It did, but now the issue is that no other fonts have both the checked or X'ed box as well as an empty check box.
    Has anyone experienced this issue before?  How did you resolve it?
    Thank you in advance.

    Hi,
    Even I have this issue. But I found out that there is bug and its already filed with MS. Please see the url below,
    [http://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=431057]
    Regards,
    Praveen

  • Problem with EXPORT IMPORT PROCESS in ApEx 3.1

    Hi all:
    I'm having a problem with the EXPORT IMPORT PROCESS in ApEx 3.1
    When I export an application, and try to import it again. I get this error message
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 16, column 28: PLS-00103: Encountered the symbol &amp;quot;牃慥整㈰㈯⼴〲㐰〠㨷㐵㈺′䵐&amp;quot; when expecting one of the following: ( - + case mod new not null &amp;lt;an identifier&amp;gt; &amp;lt;a double-quoted delimited-identifier&amp;gt; &amp;lt;a bind variable&amp;gt; avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp in
    As a workaround, I check the exported file and found this
    wwv_flow_api.create_flow
    p_documentation_banner=> '牃慥整⠤㈰㈯⼴〲㠰〠㨷㠵㈺′äµ
    And when I replace with this
    p_documentation_banner=> ' ',
    I can import the application without the error.
    somebody knows why I have to do this??
    Thank you all.
    Nicolas.

    Hi,
    This issue seems to have been around for a while:
    Re: Error importing file
    I've had similar issues and made manual changes to the file to get it to install correctly. In my case, I got:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.<br>ORA-02047: cannot join the distributed transaction in progress<br>begin execute immediate 'alter session set nls_numeric_characters='''||wwv_flow_api.g_nls_numeric_chars||'''';end;There are several suggestions, if you follow that thread, about character sets or reviewing some of the line breaks within pl/sql code within your processes etc. Not sure what would work for you.

  • Page Export/Import problems

    I have been trying to migrate my portal 3.0.7 development to another portal 3.0.8 development database and have been having problems with the page export and import routines. I have been following the Oracle Export / Import document and first come across the problem when importing the content area as it tries to import its content area page.
    I have then tried to export / import pages separately and consistently get the following error.
    pageimp.csh s portal30 p portal30 m reuse d pobpage.dmp c Kenny.ogg security
    Start Portal Page Import
    Please Wait...
    declare
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWUTL_POB_TRANSPORT", line 1879
    ORA-01403: no data found
    ORA-06512: at line 6
    Disconnected from Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
    Import of Portal Page Complete
    The Export command used was as follows:
    pageexp.csh s portal30 p portal30 n PAGE0 d pobpage.dmp c tools.ogg security
    As I am migrating from 3.0.7 to 3.0.8 I use the 3.0.7 export script and the 3.0.8 import script. For completeness I have also tried using the 3.0.7 and 3.0.8 import and export scripts, and get the same error.
    The version of Portal I am using is the Solaris version.
    When I look at the new site and click on the pages Tab no new pages are loaded as expected. Does anyone have a similar problem or am I overlooking something?
    Any suggestions?
    Thanks
    Garry
    null

    Portal 3.0.8 is now available in both NT and UNIX. So you need to upgrade both your platforms and then use export/import between the same versions. That's easier said than done as I have yet to get the export/import scripts to correctly and fully work on exporting from NT to UNIX Tru64. Originally I ran the scripts on NT and connected to the UNIX DB; however, somewhere I saw that it is more relaible to run the scripts on UNIX. So I am trying that now.
    Good luck!
    (By the way I notice that Larry declared war on complexity. The laughable irony of this is revealed by a look at these discussion boards!)
    null

  • SQL Developer 2.1: Problem exporting and importing unit tests

    Hi,
    I have created several unit tests on functions that are within packages. I wanted to export these from one unit test repository into another repository on a different database. The export and import work fine, but when running the tests on the imported version, there are lots of ORA-06550 errors. When debugging this, the function name is missing in the call, i.e. it is attempting <SCHEMA>.<PACKAGE> (parameters) instead of <SCHEMA>.<PACKAGE>.<FUNCTION> (parameters).
    Looking in the unit test repository itself, it appears that the OBJECT_CALL column in the UT_TEST table is null - if I populate this with the name of the function, then everything works fine. Therefore, this seems to be a bug with export and import, and it is not including this in the XML. The same problem happens whether I export a single unit test or a suite of tests. Can you please confirm whether this is a bug or whether I am doing something wrong?
    Thanks,
    Pierre.

    Hi Pierre,
    Thanks for pointing this out. Unfortunately, it is a bug on our side and you have found the (ugly) "work-around".
    Bug 9236694 - 2.1: OTN: UT_TEST.OBJECT_CALL COLUMN NOT EXPORTED/IMPORTED
    Brian Jeffries
    SQL Developer Team

  • Doubt in  export, import and table para when creating Function Module

    Dear fellow ABAPers,
    I have a doubt in defining export, import and table parameter while creating a function module.
    I am calling a function module inside a user exit. Now in the user exit the SAP fills an internal table called i_lfa1 with all the data user has eneterd.
    Now I want to pass this whole internal table to function module and the perform some checks on the values of internal table.
    After that function module fills an error structure with values depending on some check.
    1)
    How do I pass this internal table to function module ? 
    When I am creating function module in se37 where do I define this iternal table type ? Is it in Import or Table parameter during function module creation?
    2)
    Where do I define error structure type (which is returned by function module to main program)? Is it in Export or table parameter during function module creation?
    Please clear my doubt..
    Relevant points will be awarded.
    Regards,
    Tushar.

    Hi Tushar,
    1. How do I pass this internal table to function module ?
       I assume u are creating your own Y/Z FM.
       Pass it thru TABLES parameter.
    2. When I am creating function module in se37 where do I define this iternal table type
       Define this in TABLES interface.
       What Type ?
       THE SAME TYPE WHICH HAS BEEN DEFINED
        WHILE PASSING IN THE USER-EXIT FUNCTION MODULE.
       IF U SEE THE FM OF THE USER-EXIT,
       U WILL COME TO KNOW.
    3.
    Where do I define error structure type (which is returned by function module to main program)? Is it in Export or table parameter during function module creation?
    Define it in TABLES interace. (not in export, import)
      (Since what u are going to return is an internal table)
      U can take for eg. BDCMSGCOLL.
      OR u can create your own Y/Z structure
    for the same purpose.
      (or u can use the structure type T100)
    I hope it helps.
    Regards,
    Amit M.

  • Problems in export / import repository

    Hi there,
    I'm trying to export/import a repository.
    The first trouble is: I export the topology, but when I import it nothing is imported (no error messages).
    I resorted to manually reconfiguring the topology
    The second and worse trouble is: I exported the project and the models, then I imported the project (successfully)
    but when I tried and import the models I got some error messages related to missing data (referential integrity)
    Any help is warmly appreciated
    Regards
    Andrew Florit

    I've got the same problem "I export the topology, but when I import it nothing is imported (no error messages)."
    What could be the solution?
    Thanx

  • Problem with the Export/Import Utility when importing a .portal file

    Hi there !
    I got the following error when trying to import a .portal file to a desktop by using the Export/Import Utility.
    <13-11-2009 12:13:26 PM CLST> <Error> <netuix> <BEA-423487> <Import: did not add navigable [2203] as it would cause an illegal dependency.>
    The error is shown several times, starting from the number [2203] until [2285].
    It causes that i can't see some pages of my portal... it's like they dont exist.
    I Hope you can help me fix it, because i have not found any information about it.
    Best regards
    P.D.: I am using the BEA Weblogic 10.0.1 version.
    Edited by: user12231353 on 16-nov-2009 12:38

    I upgraded to cs6 and imported all the images together, I made them 3 frames per and exported them. The problem is slightly improved but still there. I'm still getting flicker.
    Check it out: http://www.youtube.com/watch?v=g_yZjskzTLs
    Black screen version from yesterday if you want to look at it: http://www.youtube.com/watch?v=NCcAEO8YU6Y
    The problem has to be with my settings. when I upgraded it deleted all my prefrences and settings. There was no dslr preset either so I had to redo it all from  scratch to the best of my ability. Here is a complete rundown of my settings:
    I shoot with a canon dslr 60D in 24fps and upload all my stuff in 1080p. Please advice.

  • Problem with export / import

    Hi everybody, I am having a problem with an import. I am doing an export with a value in an user exit:
    EXPORT V_NLQNR = V_NLQNR TO MEMORY ID 'QUANTL'
    And after I call import in another program:
    IMPORT V_NLQNR = V_NLQNR FROM MEMORY ID 'QUANTL'.
    But when I check the sy-subrc I am getting 4, so I don't get anything.
    Does anybody why?? Is there a problem if I call the export from an user exit??
    Thanks in advance.

    Hello,
    I think you have the right idea.
    As a suggestion I would name my variables to make it clear which data is being
    exported/imported. I would also use different names on the left and right side of the = sign. 
    Here is a working example from programs that I use:
    In the first program
       EXPORT intercodata FROM g_data_exp TO MEMORY ID 'INTERCOWOS'.
         where g_data_exp is declared as a global variable
    In the second program
       IMPORT  intercodata TO g_data_imp FROM MEMORY ID 'INTERCOWOS'.
         where g_data_imp is declared as a global variable
    The syntax that you use ( p1 = dobj1 )  should work as well, just make sure that the variable v_nlqnr to the right of the equal sign has a value before the export.
    Regards
    Greg Kern

  • Problem exporting then importing application

    I created a simple htmldb application with a report page, and an insert/update/delete form. I exported it to a file, deleted the application and re-imported. Now it doesn't work properly. To be more specific, I had to recreate the authentication scheme which wasn't a big deal but now I can't see any of the controls when the application runs. I don't know much about htmldb but it looks like certain template things are gone. Why can't the application be re-imported to a working state?? Should I have done it differently?

    Nick,
    You are most likely running into one of the problems described in this thread:
    Re: Problem with importing HTML DB applications
    Sergio

  • Problem with import-export

    My problem is when I made a flash CS3 export, while i import
    it in flash the problem appear: that there are few objects do not
    convert type of "508 compliance" and i don't see the button on
    flash.
    help me...

    Why you need not export/import everything from topology? I guess you need to export and then import only the dataservers right? This is what I did.
    1. Exported only DS (Data server) to a file.
    2. Imported it using the following cmd from dos prompt.
    startcmd.bat OdiImportObject -FILE_NAME="D:\CONN_ABC.xml" -WORK_REP_NAME=WORKREPB -IMPORT_MODE=SYNONYM_INSERT_UPDATE
    3. It imported successfully this Data Server. But the problem i faced id it's not associating logical schema with the Context.

Maybe you are looking for