Creating Informix Dynamic Server Offline Capture Files?

I'm migrating informix7 to oracle9i by Oracle® Migration Workbench User's Guide.
After I copied the files to the mwb directory in my home directory on LINUX(informix7 is installed in LINUX system),
I ran the script of the followning.
prompt> IDS7_DSML_SCRIPT.sh database_name server_name
But it appeared to the message of the following.
sh: ./IDS7_DSML_SCRIPT.sh: bad interpreter:
How can I solve this problem?
Please answer this problem...

Thank you for answering the question.
But I didn't solve the problem yet.
I think 'IDS7_DSML_SCRIPT.sh' of the files of providing by Oracle is incorrect. 'IDS7_DSML_SCRIPT.sh' is the file of the following.
#!/bin/sh
DBDATE=Y4MD-
export DBDATE
if [ "$1" = "" ]
then
echo 'Usage - IDS7_DSML_SCRIPT.sh <DB_Name> <DB_Server>'
else
if [ "$2" = "" ]
then
echo 'Usage - IDS7_DSML_SCRIPT.sh <DB_Name> <DB_Server>'
else
mkdir sysmaster > /dev/null 2>&1
mkdir "$1" > /dev/null 2>&1
echo 'UNLOAD TO sysmaster/IDS7_SYSDBSPACES.dat DELIMITER "" SELECT DBSNUM,"?,NAME,"?,OWNER,"?,FCHUNK,"?,NCHUNKS,"?,IS_MIRRORED,"?,IS_BLOBSPACE,"?,IS_TEMP,"?,FLAGS,"?, "? FROM sysdbspaces' | dbaccess sysmaster@"$2"
echo 'UNLOAD TO sysmaster/IDS7_SYSTABNAMES.dat DELIMITER "" SELECT PARTNUM,"?,DBSNAME,"?,OWNER,"?,TABNAME,"?,COLLATE,"?, "? FROM systabnames' | dbaccess sysmaster@"$2"
echo 'UNLOAD TO sysmaster/IDS7_SYSCONFIG.dat DELIMITER "" SELECT CF_ID,"?,CF_NAME,"?,CF_FLAGS,"?,CF_ORIGINAL,"?,CF_EFFECTIVE,"?,CF_DEFAULT,"?, "? FROM sysconfig' | dbaccess sysmaster@"$2"
echo 'UNLOAD TO sysmaster/IDS7_SYSDATABASES.dat DELIMITER "" SELECT NAME,"?,PARTNUM,"?,OWNER,"?,CREATED,"?,IS_LOGGING,"?,IS_BUFF_LOG,"?,IS_ANSI,"?,IS_NLS,"?,FLAGS,"?, "? FROM sysdatabases' | dbaccess sysmaster@"$2"
echo 'UNLOAD TO sysmaster/IDS7_SYSPTNTAB.dat DELIMITER "" SELECT "0","?,"0","?,"0","?,"0","?,"0","?,PARTNUM,"?,TABLOCK,"?,PHYSADDR,"?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?,GLSCOLLNAME,"?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?,"0","?, "? FROM sysptntab' | dbaccess sysmaster@"$2"
echo 'UNLOAD TO sysmaster/IDS7_SYSCHUNKS.dat DELIMITER "" SELECT CHKNUM,"?,DBSNUM,"?,NXCHKNUM,"?,CHKSIZE,"?,OFFSET,"?,NFREE,"?,IS_OFFLINE,"?,IS_RECOVERING,"?,IS_BLOBCHUNK,"?,IS_INCONSISTENT,"?,FLAGS,"?,FNAME,"?,MFNAME,"?,MOFFSET,"?,MIS_OFFLINE,"?,MIS_RECOVERING,"?,MFLAGS,"?, "? FROM syschunks' | dbaccess sysmaster@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSUSERS.dat DELIMITER "" SELECT USERNAME,"?,USERTYPE,"?,PRIORITY,"?,PASSWORD,"?, "? FROM sysusers' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSCOLUMNS.dat DELIMITER "" SELECT COLNAME,"?,TABID,"?,COLNO,"?,COLTYPE,"?,COLLENGTH,"?,COLMIN,"?,COLMAX,"?, "? FROM syscolumns' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSBLOBS.dat DELIMITER "" SELECT SPACENAME,"?,TYPE,"?,TABID,"?,COLNO,"?, "? FROM sysblobs' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSTABLES.dat DELIMITER "" SELECT TABNAME,"?,OWNER,"?,PARTNUM,"?,TABID,"?,ROWSIZE,"?,NCOLS,"?,NINDEXES,"?,NROWS,"?,CREATED,"?,VERSION,"?,TABTYPE,"?,LOCKLEVEL,"?,NPUSED,"?,FEXTSIZE,"?,NEXTSIZE,"?,FLAGS,"?,SITE,"?,DBNAME,"?, "? FROM systables' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSVIEWS.dat DELIMITER "" SELECT TABID,"?,SEQNO,"?,VIEWTEXT,"?, "? FROM sysviews' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSCOLDEPEND.dat DELIMITER "" SELECT CONSTRID,"?,TABID,"?,COLNO,"?, "? FROM syscoldepend' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSSYNONYMS.dat DELIMITER "" SELECT OWNER,"?,SYNNAME,"?,CREATED,"?,TABID,"?, "? FROM syssynonyms' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSREFERENCES.dat DELIMITER "" SELECT CONSTRID,"?,PRIMARY,"?,PTABID,"?,UPDRULE,"?,DELRULE,"?,MATCHTYPE,"?,PENDANT,"?, "? FROM sysreferences' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSOBJSTATE.dat DELIMITER "" SELECT OBJTYPE,"?,OWNER,"?,NAME,"?,TABID,"?,STATE,"?, "? FROM sysobjstate' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSSYNTABLE.dat DELIMITER "" SELECT TABID,"?,SERVERNAME,"?,DBNAME,"?,OWNER,"?,TABNAME,"?,BTABID,"?, "? FROM syssyntable' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSPROCEDURES.dat DELIMITER "" SELECT PROCNAME,"?,OWNER,"?,PROCID,"?,MODE,"?,RETSIZE,"?,SYMSIZE,"?,DATASIZE,"?,CODESIZE,"?,NUMARGS,"?, "? FROM sysprocedures' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSTRIGBODY.dat DELIMITER "" SELECT TRIGID,"?,DATAKEY,"?,SEQNO,"?,DATA,"?, "? FROM systrigbody' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSTRIGGERS.dat DELIMITER "" SELECT TRIGID,"?,TRIGNAME,"?,OWNER,"?,TABID,"?,EVENT,"?,OLD,"?,NEW,"?,MODE,"?, "? FROM systriggers' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSPROCAUTH.dat DELIMITER "" SELECT GRANTOR,"?,GRANTEE,"?,PROCID,"?,PROCAUTH,"?, "? FROM sysprocauth' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSPROCBODY.dat DELIMITER "" SELECT PROCID,"?,DATAKEY,"?,SEQNO,"?,DATA,"?, "? FROM sysprocbody' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSROLEAUTH.dat DELIMITER "" SELECT ROLENAME,"?,GRANTEE,"?,IS_GRANTABLE,"?, "? FROM sysroleauth' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSCONSTRAINTS.dat DELIMITER "" SELECT CONSTRID,"?,CONSTRNAME,"?,OWNER,"?,TABID,"?,CONSTRTYPE,"?,IDXNAME,"?, "? FROM sysconstraints' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSCHECKS.dat DELIMITER "" SELECT CONSTRID,"?,TYPE,"?,SEQNO,"?,CHECKTEXT,"?, "? FROM syschecks' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSINDEXES.dat DELIMITER "" SELECT IDXNAME,"?,OWNER,"?,TABID,"?,IDXTYPE,"?,CLUSTERED,"?,PART1,"?,PART2,"?,PART3,"?,PART4,"?,PART5,"?,PART6,"?,PART7,"?,PART8,"?,PART9,"?,PART10,"?,PART11,"?,PART12,"?,PART13,"?,PART14,"?,PART15,"?,PART16,"?,LEVELS,"?,LEAVES,"?,NUNIQUE,"?,CLUST,"?, "? FROM sysindexes' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSDEFAULTS.dat DELIMITER "" SELECT TABID,"?,COLNO,"?,TYPE,"?,DEFAULT,"?, "? FROM sysdefaults' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSTABAUTH.dat DELIMITER "" SELECT GRANTOR,"?,GRANTEE,"?,TABID,"?,TABAUTH,"?, "? FROM systabauth' | dbaccess "$1"@"$2"
echo "UNLOAD TO "$1""'/IDS7_SYSCOLAUTH.dat DELIMITER "" SELECT GRANTOR,"?,GRANTEE,"?,TABID,"?,COLNO,"?,COLAUTH,"?, "? FROM syscolauth' | dbaccess "$1"@"$2"
fi
fi
If there is incorrect parts, please answer the problem.

Similar Messages

  • Unable to create a data server for xml file

    Hi ,
    I have created a data server for a xml file but when i test the connection i am getting the below error.
    java.sql.SQLException: class org.xml.sax.SAXException
    Prefix not found: xsi
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
    at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1100)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:371)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.localConnect(SnpsDialogTestConnet.java:794)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.jButtonTest_ActionPerformed(SnpsDialogTestConnet.java:754)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.connEtoC1(SnpsDialogTestConnet.java:137)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$1(SnpsDialogTestConnet.java:133)
    at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$IvjEventHandler.actionPerformed(SnpsDialogTestConnet.java:87)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6263)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6028)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4630)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Can any one help me out with this issue ?
    Thanks in advance,
    Balajitk

    HI Balaji,
    Below is the sample xml file which i have saved as test.xml and placed it @ D: drive
    Test.xml:
    <employee>
    <emp>
    <eno>1</eno>
    <ename>Test1</ename>
    </emp>
    <emp>
    <eno>2</eno>
    <ename>Test2</ename>
    </emp>
    <emp>
    <eno>2</eno>
    <ename>Test2</ename>
    </emp>
    </employee>
    Goto Topology >Expand Technologues>right click on XML and select new data source
    in Defination Tab, provide the physical architecture name
    in JDBC Tab, provide the below details
    JDBC Driver: com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
    JDBC URL: jdbc:snps:xml?f=d:\test.xml&d=test.dtd&re=employee&s=TEST&ro=false
    Save it
    Click on Test Connection and again click on test, it should show test connection as "Successfully Test"
    Hope this may helps you
    Regards,
    Phanikanth

  • Create controls dynamically based on XML file

    Hi All,
    I am very new to Flex environment. I am trying to integrate FLEX with ASP.net for better UI interfacing.
    May I know if is it possible to draw fields (Text boxes, option buttons, etc) on the Flex dynamically using a XML file at runtime.
    What my expectation is, if I have an XML file with the filed names and type, can the Flex draw them on the front end UI?
    Please  let me know your thoughts.
    Naveen

    Is there possible to have an portlet that can be enlarged?Yes. You can maximise a portlet
    And is there possible if I have a .php file, and then I want to create a portlet based on that .php fileNot directly.
    If you are going to run the PHP file in its own machine then you could use a browser or clipper portlet. If you want to run the PHP file on the JVM itself, I believe there are some commercial products that let you do this (then its equivalent to a JavaServlet). This could then be included by any dummy JSP and you could use a plain jsp portlet . however you wqould have to be careful how you generate links within the PHP file (because you'd have to mimic the way BEA tags behave) .
    never tried this and if you have few PHP pages then you could probably rewrite to java.

  • Need help in Creating a dynamic name for a file.

    I am working on FTP Put and I have a requirement where in I have to generate the file with dynamic content in its name.I dont need any time stamp.I need to create a variable for this?
    Help in this regard would be highly appreciated.

    Take a look at File tmp = File.createTempFile("aaa", ".txt");
    String name = tmp.getpath();This will create a File with a name like aaannn.txt where nnn is a system generated number guaranteed to exists only once.

  • WIN - How to Connect to Informix Dynamic Server using Generic Connectivity

    Hi All,
    I have our Oracle running on Windows 2003 and our Informix 9x running on HP.
    We have IBM Informix Client install in Wndows 2003 and connection ODBC setup and connected sucessfully.
    The setup are as follows:
    1) ODBC
    System DSN name: capatibak (connected successfully)
    2) C:\oracle\product\10.2.0\db_1\hs\admin
    Copy the file inithsodbc.ora to initCAPATIBAK.ora and set the following
    HS_FDS_CONNECT_INFO = capatibak
    HS_FDS_TRACE_LEVEL = ON
    3) Listener.ora setup
    (SID_DESC =
    (SID_NAME = capatibak)
    (ORACLE_HOME = c:\oracle\product\10.2.0\db_1)
    (PROGRAM = capatibak)
    4) Tnsnames.ora setup
    CAPATIBAK =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pendbdev1)(PORT = 1521))
    (CONNECT_DATA =
    (SID = CAPATIBAK)
         (HS=OK)
    5) Shutdown and restart Listener
    6) Setup database link and perform connection test.
    Return: ORA-12518: TNS:listener could not hand off client connection
    Kindly advice if I miss any configuration. I am very new to this kind of setup.
    Thanks
    Steven

    Problem solved by using the following documentation:
    http://www.niall.litchfield.dial.pipex.com/WhitePapers/SettingUpGenericConnectivity.pdf

  • How can I create a URL for a PWA for MS Project Server 2010 project file that includes the view?

    Hi, this question has been answered for 2013. The answer here suggests that it can be done in  2010.
    See:
    http://social.technet.microsoft.com/Forums/projectserver/en-US/3affdc4f-36bf-4381-8b75-27c73465efd4/action?threadDisplayName=how-can-i-create-a-url-for-a-pwa-for-ms-project-server-2013-project-file-that-includes-the-view
    Who knows how?
    Regards
    Sander

    Hi Sander,
    As far as I tested it, it is not possible either with PS2010. The URL only contains the PDP name and the projUID.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How to open a file created at the server through form/report at client end

    How to open a file created at the server through form/report at client end
    Dear Sir/Madame,
    I am creating a exception report at the server-end using utl file utility. I want to display this report at the client end. A user doesn't have any access to server. Will u please write me the solution and oblige me.
    Thanks
    Rajesh Jain

    One way of doing this is to write a PL/SQL procedure that uses UTL_FILE to read the file and DBMS_OUTPUT to display the contents to the users.
    Cheers, APC

  • File system error while creating a virtual server

    Hi
    I get the following error when I create a virtual server:
    File System Error: Could not create directory /opt/SUNWwbsvr/https-web-content (permission denied)
    The admin server is owned by root but the instance that I want to create should be owned by webservd - like the other instance that is installed.
    this error shows that web server is unable to create a directory under SUNWwbsvr folder. Any hints pls?
    thanks!

    sorry this error is while creating a new server instance - not a new virtual server.
    File System Error: Could not create directory /opt/SUNWwbsvr/https-web-content (permission denied)

  • Create a Document with an original file stored on application server

    Hello,
    I start with document managment system : i am able to create new document (CV01N) manually, add a local file and check-in this file.
    Now we need to store file which are stored on the SAP Application Server.
    Firstly, in the GUI of transaction CV01N, i don't know how to browse file on application server. All files i can't attach as original, are files i can access from my computer.
    Is it possible to access also on application server files ?
    Moreover, i have to define function module which have to
    - Create a document (DMS)
    - Attach an orginial file which is stored on application server
    - Check-in the file
    This function module will be called from a web application
    I define this kind of function and run it correctly with a local file (stored on my computer) : i call BAPI "BAPI_DOCUMENT_CREATE2" and "BAPI_DOCUMENT_CHECKIN2"
    But i don't how to do with a file stored on application server. I see also note 504692 and try a program like ZZUZTEST_TEST_CHECKIN which use FM CVAPI_DOC_CHECKIN but it return an error Error uploading  E:\usr\sap\TD1\DVEBMGS00\data\FACTURE.txt" (this path and file exist on application server and is really the file i want to checkin)
    Please could you confirm what i search, is possible or not.
    If possible, could help me with some explanations and guidelines and perhaps a sample ?
    Thank you very much.
    Regards,
    Eric
    The function used
    FUNCTION Z_TEST_CHECKIN.
    Checkin the first original of a document info record *
    from the application server and/or in the background *
      data   : w_host like BAPI_DOC_AUX-HOSTNAME.
      data: lf_line(255).
      data: ls_draw like DRAW,
            ls_message_cvapi like messages,
            lt_files_cvapi type standard table of CVAPI_DOC_FILE,
            lt_files_cvapi_header like CVAPI_DOC_FILE.
      data: lt_originals LIKE cvapi_doc_file OCCURS 0 WITH HEADER LINE,
            vo_originals LIKE cvapi_doc_file OCCURS 0 WITH HEADER LINE.
      ls_draw-dokar = 'ZFT'.
      ls_Draw-doknr = '0000000000000004500000032'.
      ls_Draw-dokvr = '00'.
      ls_Draw-doktl = '000'.
    Read Originals contained in the document info record
      CALL FUNCTION 'CVAPI_DOC_GETDETAIL'
        EXPORTING
          pf_batchmode    = 'X'
          pf_hostname     = ' '
          pf_dokar        = ls_draw-dokar
          pf_doknr        = ls_draw-doknr
          pf_dokvr        = ls_draw-dokvr
          pf_doktl        = ls_draw-doktl
          pf_active_files = 'X'
        IMPORTING
          psx_draw        = ls_draw
        TABLES
          pt_files        = vo_originals
        EXCEPTIONS
          not_found       = 1
          no_auth         = 2
          error           = 3
          OTHERS          = 4.
      IF sy-subrc <> 0.
        WRITE 'Error returned by CVAPI_DOC_GETDETAIL'.          "#EC NOTEXT
        EXIT.
      ENDIF.
    Check if we can really access the file from the application server
      read table vo_originals index 1.
      open dataset vo_originals-filename for input in text mode ENCODING DEFAULT.
      if not sy-subrc is initial.
        message e500(26) with vo_originals-filename 'not found'.
      endif.
      read dataset vo_originals-filename into lf_line.
      if not sy-subrc is initial.
        message e500(26) with vo_originals-filename 'read error'.
      endif.
      lt_originals             = vo_originals.
      lt_originals-STORAGE_CAT = 'SAP-SYSTEM'.
      append lt_originals.
      w_host = sy-host.
      CALL FUNCTION 'CVAPI_DOC_CHECKIN'
      EXPORTING
      PF_DOKAR = ls_draw-dokar
      PF_DOKNR = ls_draw-doknr
      PF_DOKVR = ls_draw-dokvr
      PF_DOKTL = ls_draw-doktl
    PS_DOC_STATUS =
      PF_FTP_DEST = 'SAPFTPA'
      PF_HTTP_DEST = 'SAPHTTPA'
    *PF_HOSTNAME =  w_host
    PS_API_CONTROL =
    PF_REPLACE = ' '
    PF_CONTENT_PROVIDE = 'SRV'
      IMPORTING
      PSX_MESSAGE = ls_message_cvapi
      TABLES
      PT_FILES_X = lt_originals
    PT_COMP_X =
    PT_CONTENT =
      IF ls_message_cvapi-msg_type CA 'EA'.
        ROLLBACK WORK.
        MESSAGE ID '26' TYPE 'I' NUMBER '000'
        WITH ls_message_cvapi-msg_txt.
      ELSE.
        COMMIT WORK and wait.
      ENDIF.
    ENDFUNCTION.

    This is a bit tricky. I spent lots of hours about this .
    You have to set PF_HOSTNAME with your name of your AS and gives the path to the file on the server.
    You wrote
    *PF_HOSTNAME = w_host
    But beware: if you have more thän one AS you have to fix one AS for upload or you have to find the servers name of the file. A better way can be to share one folder by each AS.
    You also have to decide between HTTP or FTP.
    You wrote:
      PF_FTP_DEST = 'SAPFTPA'
      PF_HTTP_DEST = 'SAPHTTPA'
    You must define only one ! Then you have to check your settings in SM59 about working right.
    Pls rate, if this was helpful.
    Regards,
    Markus

  • Create a Link using Dynamic Text and Capture Variable

    I am building a dynamic website using Dreamweaver CS5 with Coldfusion 9
    Currently I have created a dynamic text table. The table is created by querying the Invoice table and displays the all the customers Invoices. The columns Include Invoice #, Date, Amount Paid, BalanceRemaining, Due Date. So basically lists all the invoices I have applied to the unique customer. It is pulled up using a session variable I created from the login page.
    My question is this I want to make the "Invoice #" linked so when you click on it it goes to a new page and performs a new query which retrieves infro related to that specific invoice such as Services Rendered, Service Description, Date, Price, Total. I was able to create a link to the Invoice # but I am stuck trying to figure out how to capture the Unique Invoice # and apply it to the new query. Is this possible if so how?
    Thanks for your help!

    Now keep in mind I am speaking strictly from a web and SQL standpoint as I have no experience with coldfusion.
    If you are able to create the link to the Invoice, I am perceiving this as the following:
    Invoice
    Links to
    #123
    page.php?invoice=123
    #345
    page.php?invoice=345
    If your page is setup like that then you already have the data stored in the browser request with the GET method.  In PHP the equivalent is the $_GET array.  I am assuming ColdFusion has a similar array to work with forms.  Then on your following page you obviously need to check that the visitor came from the prior page with the proper permissions to ensure that someone doesn't get the address page.php?invoice=### and just guesses through and views all invoices if they are not supposed to.  Then your query would look something like the following:
    SELECT * FROM invoice_table WHERE invoice_number = $_GET['invoice']
    Remember this in written in PHP so yours should be a similar equivalent.
    Hopefully this helps a little to get you going in the right direction.

  • Creating Informix 2000 Data Server

    Trying to create a Data Server for Informix, and when testing the connection, receive the following error:
    oracle.odi.core.exception.OdiRuntimeException: java.lang.IllegalArgumentException: Could not load JDBC driver class [com.informix.jdbc.IfxDriver]
    What steps do I need to take to correct this issue?
    Thanks in advance...

    You are missing the Informix JDBC driver.
    In ODI 11g, you will need to copy the "ifxjdbc.jar" to the drivers directory of the agent
    This location is $ODI11g_HOME\oracledi\agent\drivers
    For the client, I think it can be copied in $ODI11g_HOME\inventory\Scripts\ext\jlib
    or
    $ODI11g_HOME\oracledi\client\jdev\extensions\oracle.odi.navigator\lib

  • Creating a dynamic excel file

    Is it possible that i can create a dynamic excel file (destination)
    ex, i want to create a Dyanamic Excel destination file with a filename base on the date
    this will run on jobs. Is this possible?
    11172006.xls, 11182006.xls

    This example is useful for loading data from an OLEDB source into a dynamically created Excel file.
    NOTE:
    This is the core functionality. Things like logging, checkpointing, documentation, etc., are at the user's discretion.
    Steps:
    1. Click on package properties. Set "DelayValidation" property to True.
    The package will not validate tasks, connections, until they are executed.
    2. Create a package level variable "XLFileRootDir" as string and set it to the root
    directory where you want the excel file to be created.
    Example: C:\\Project\Data\
    3. Create an Excel connection in the connection manager. Browse to the target directory
    and select the destination XL filename or type it in. It doesn't matter if the file doesn't exist.
    4. Go to the Excel connection properties and expand the expressions ellipse (The button
    with "..." on it).
    Under the property drop down, select 'ExcelFilePath' and click on the ellipse to
    configure the expression:
    @[User::XLFileRootDir] + (DT_WSTR, 2) DATEPART("DD", GETDATE()) + (DT_WSTR, 2) DATEPART("MM", GETDATE()) + (DT_WSTR, 4) DATEPART("YYYY", GETDATE()) +".xls"
    This should create an xl file like 01132007.xls.
    5. Add a SQL task to package and double click to edit.
    In the general tab, set 'ConnectionType' to 'Excel'.
    For 'SQLStatement', enter the create table SQL to create destination table.
    For example:
    CREATE TABLE `Employee List` (
        `EmployeeId` INTEGER,
        `EmployeeName` NVARCHAR(20)
    Copy the create table command. It will come in handy later.
    6. Add a Data Flow task. In the data flow editor, add an OLEDB source and an Excel destination.
    Configure the source to select EmployeeId and EmployeeName from a table.
    7. Connect this to Excel destination. In the destination editor, select the Excel connection in the
    manager, choose 'table or view' for data access mode and for 'name of the Excel sheet' click on
    new button and paste the create table command from Step 5.
    Map the columns appropriately in the mappings tab and you are done.
    Let me know if you have any questions.
    I was able to get this to work (dynamic Excel file name with date), but I want to process multiple
    data files per day, so I must add hour and minute to the file names "..._2014.xls".  But as soon as I add the hour/min to the 'ExcelFilePath' of the Connection Manager the Excel Destination task fails because it can't find the file.
    So can you please help me how do i do this ? 
    Thank you 

  • Creating a dynamic sqlldr control file

    Hi,
    I am in need of creating a dynamic sqlldr control file that will check the flat file, delimiter and load the data in a table. The table is having all the columns but the flat file can vary time to time.
    looking forward for your valuable suggestions.
    Regards
    Rajib.

    You may want to post more explicit requirements if you want sample code. For example, what the file looks like, what variations are allowed, what variations are disallowed, an example control file that would be output, etc. Specifying the precise language you're using (there are many different shell scripting languages) would also help.
    In my experience, though, this sort of thing is almost always a one-off-- examples don't tend to be particularly helpful because every set of requirements tends to be very particular. If you have a full understanding of the requirements, and a decent understanding of your scripting language, I doubt it would take more than half a day to knock something together.
    Justin

  • Create the missing server.xml files yourself

    Paula and I created the missing server.xml files ourselves. The script is at the bottom of the post.
    We badly needed the missing server.xml files to work on the customizations and Oracle was unable to solve this problem.
    "I checked on our Automated Release Updates System found that we dont have server.xml that includes PosDelivSchedVO. This confirms that there is no patch available at present to provide you with this file.
    As this is not related to coding issue,Support will not be able to log a bug with Development. You may log an Enhancement Request via Metalink, so that Development would review your requirement and if feasible would include this file at the time of future releases"
    #!/bin/sh
    # This script is used to generate the missing server.xml files for $JAVA_TOP/oracle/apps/pos
    # Usage: server.sh
    # Note: This script has many hardcoded codes and it may generate the wrong server.xml.
    # The manual fixes to the generated server.xml may be need.
    # Check the codes before you use it.
    # It's possible to write a generic version of this script to deal with more issues, like
    # 1. dealing with the Oracle apps patches applied
    # 2. only generates the missing server.xml files automatically
    # 3. can specify the module, like pos or po ..., to generate server.xml.
    # 4. including only the OA Framework objects used.
    # 5. correctly generate the right "encoding"
    # Luke Chi
    APP=pos
    PKG_HEAD=oracle.apps.$APP
    PKG_TAIL=server
    SERVER_FILENAME=server_1.xml
    cd $JAVA_TOP/oracle/apps/$APP
    # for SUB_DIR in asn isp lov product rcv sbd ship administration changeorder jar planning profile registration schema servic
    es suppreg
    for SUB_DIR in asn lov product rcv ship administration planning profile schema services suppreg
    do
    echo $SUB_DIR
    cd $SUB_DIR/server
    PKG=$PKG_HEAD.$SUB_DIR.$PKG_TAIL
    cat << EOF > $SERVER_FILENAME
    <?xml version="1.0" encoding='WINDOWS-1252'?>
    <!DOCTYPE JboPackage SYSTEM "jbo_03_01.dtd">
    <!-- \$Header: server.xml 115.11 2003/03/25 22:31:14 luke ship $ -->
    <JboPackage
    Name="server"
    SeparateXMLFiles="true"
    EOF
    echo " PackageName=\"$PKG\" >" >> $SERVER_FILENAME
    ls *.xml | grep -v server*.xml | while read FILE
    do
    BASENAME=`basename $FILE .xml`
    cat << EOF >> $SERVER_FILENAME
    <Containee
    Name="$BASENAME"
    FullName="$PKG.$BASENAME"
    EOF
    for TYPE in AM EO VL VO AO
    do
    BASENAME_2=`basename $BASENAME $TYPE`
    if [ $BASENAME_2 != $BASENAME ]; then
    case $TYPE in
    AM) echo " ObjectType=\"AppModule\" >" >> $SERVER_FILENAME ;;
    EO) echo " ObjectType=\"Entity\" >" >> $SERVER_FILENAME ;;
    VL) echo " ObjectType=\"ViewLink\" >" >> $SERVER_FILENAME ;;
    VO) echo " ObjectType=\"ViewObject\" >" >> $SERVER_FILENAME ;;
    AO) echo " ObjectType=\"Association\" >" >> $SERVER_FILENAME ;;
    CO) echo " ObjectType=\"Luke_CO\" >" >> $SERVER_FILENAME ;;
    *) echo " ObjectType=\"Luke_UNKNOWN\" >" >> $SERVER_FILENAME ;;
    esac
    break
    fi
    done
    echo " </Containee>" >> $SERVER_FILENAME
    done
    echo "</JboPackage>" >> $SERVER_FILENAME
    grep Luke $SERVER_FILENAME
    if [ $? -eq 0 ]; then
    mv $SERVER_FILENAME server_error.xml
    fi
    pwd
    cd ../..
    done

    We loaded the Oracle seeded BC4J components from mid-tier file system to jdev OA Framework using the server.xml files generated by our Unix script attached in the privious posting above. We ,then did the customizations and successfully deployed them to our test Oracle apps.

  • Transfer file to different server after it get created in DB server

    Hi All,
    I have a unix shell script that runs in a Linux server and connects to database (using sqlplus of course) and creates a file using UTl_FILE package and which gets created in DB server. We are not actually supposed to create file in DB server as per company rules and regulations. But as a workaround until we find a solution, we are being allowed to create file in DB server then my DBA scp the file to the Linux server. This manual process of transferring the file has to be automated or if possible, it would be best if we can create the file in the target Linux server itself instead of DB server.
    Is there any way of doing so or if this issue has been addressed in past, please provide me with the link. I tried to search in forum but couldn't fine one appropriate solution.
    Thanks,
    Samip

    I am trying to find a work around. Instead of file creation, I am going for a PL/SQL process that will directly load into the target table.
    I will try to explain my problem as much as possible.
    Lets say I have a table A. It's a hierarchy table. X is the parent column while Y is the child one. '1' is the TOPmost in the hierarchy so, value in X corresponding to '1' is NULL.
    Table A
    X--------Y
    ----1
    1-----     2
    1-----     3
    2-----     4
    2-----     5
    2-----     6
    3-----     7
    3-----     8
    4-----     9
    4-----     10
    5-----     11
    5-----     12
    7------     13
    7-----     14
    11----     15
    11----     16
    I need to transform table A to table B like below:
    Table B
    L1----     L2----     L3----     L4----     L5
    1----     1----     1----     1----     1
    1----     2----     2----     2----     2
    1----     3----     3----     3----     3
    1----     2----     4----     4----     4
    1----     2----     5----     5----     5
    1----     2----     6----     6----     6
    1----     3----     7----     7----     7
    1----     3----     8----     8----     8
    1----     2----     4----     9----     9
    1----     2----     4----     10----     10
    1----     2----     5----     11----     11
    1----     2----     5----     12----     12
    1----     3----     7----     13----     13
    1----     3----     7----     14----     14
    1----     2----     5----     11----     15
    1----     2----     5----     11----     16
    Here, each row (value in Y) in table A is processed and are put in correct Level. For example 1 has Level 1 So, it is under L1 and then rest of the columns are filled with 1. 2 has level 2, so it is put under L2 and the it parent is 1 so, 1 in L1 - obvious, then rest of the column filled with 2. Likewise 14 has level 4 so put under L4, then the hierarchy values upward are found and put under respective columns; L5 is entered 14. Basically the hierarchy up is calculated for each value in Y is calculated and put under respective level column in table B and then the rest of the columns are just filled with the column Y value that was processed.
    Thanks in advance. Please help me on this write a procedure or any process that will accomplish this task.
    Thanks,
    Samip
    Edited by: 908006 on Apr 15, 2013 1:11 PM
    Edited by: 908006 on Apr 15, 2013 1:11 PM
    Edited by: 908006 on Apr 15, 2013 1:12 PM
    Edited by: 908006 on Apr 15, 2013 1:12 PM
    Edited by: 908006 on Apr 15, 2013 1:12 PM
    Edited by: 908006 on Apr 15, 2013 1:15 PM
    Edited by: 908006 on Apr 15, 2013 1:15 PM
    Edited by: 908006 on Apr 15, 2013 1:16 PM

Maybe you are looking for

  • Setting up new computer, eliminating Parallels and VM

    My late 2007 MacBook pro (OS X 10.5.8) has a virtual WIndows XP machine using Parallels.  It came with iLife software and is backed up to an external hard drive using Time Machine.   It's losing some functionality (optical drive, keyboard) so I bough

  • Is there a way to easily locate original files in iTunes after moving everything to an external harddrive?

    I recently moved my itunes folder (everything including library and music folders) from my computer harddrive to an external harddrive.  I was able to find the library and it opens, but the music (all 7000+ songs) gives me this error.  "The song "Bea

  • PCard Configuration In ECS Scenario

    Dear Gurus, Greetings for the day, We are currently in between Development of Procurement Card (PCARD) Deployment in our customer landscape. They have SRM 5.0 version with  Extended Classic Scenario (ECS) We have performed below Configurations from S

  • OBIEE 11g Map question

    Hi all, We are using OBIEE 11g Mapviewer to display some results. We have point as well as polygon location geometries which combined with other dimensions display scores on the map. It seems there is a restriction on the display graphics that can be

  • Cannot open the iphoto library with present version of iphoto

    I had a hard drivre crash and had to start it all over from my Time capsule. Everything went OK, but iphoto does not start, it seems that it does not find the library. I have reinstalled iphoto 11 and upgraded to the latets version 9.5. The message I