Mainframe Sequential Files Topology Connection

I am trying to connect to Mainframe to read a flat file and load into an oracle table. What should be topology connection. I tried Files technology not working.
Driver:com.sunopsis.jdbc.driver.file.FileDriver
URL:jdbc:snps:dbfile
Created a Dataserver under files. In Host i have provided the ip address. under the connection have provided the userid and password.
When creating the physical schema i did not provide any directory as mainframe does not support any.
I created a file model which has one column with 80 chars. Built an interface to move this file to an oracle table with one column 80 chars and am facing issues.
Error
ODI-1227: Task SrcSet0 (Loading) fails on the source FILE connection FILE_HOST1.
Caused By: java.sql.SQLException: File not found: /DEV.COGU119.OUT
To ovoid this changed the /dataset name changed the naming rules under the physical schema to just %OBJECT. After this I am getting this error.
ODI-1227: Task SrcSet0 (Loading) fails on the source FILE connection FILE_HOST1.
Caused By: java.sql.SQLException: File not found: DEV.COGU119.OUT
Should I be using a different driver if so what and where can i get it. Thanks in advance.
Rams.
Edited by: Rams on Mar 21, 2012 9:27 AM

Check also which libraries you are loading. Due to licensing non-sense by IBM, the adapters now work with Attachmate libraries as well. Attachmate licenses through Sun, but they are much more reasonable than IBM's terms.
Check out the documentation in 7.1, which contains the new adapter (any of the host based adapters). The Attachmate libraries are now default and you must configure the IdM instance to use the HOD libraries instead.
Also be aware that IBM is moving to new HOD classes and OHIO is no longer supported (think the cut over was in HOD 9.0, but not sure). Nothing like an "industry standard" API that keeps changing version to version.

Similar Messages

  • ORA-19506:failed to create sequential file.

    RMAN offline full backup failed.
    We had setup of Oracle RMAN backup with TSM and it was working perfect but few days backup, our team did testing with RMAN-NetBackup on database server and after that our existing backup process started giving error.
    Our RMAN backup script is point to TSM but while executing, it shows to point NetBackup and not sure what dependencies are forcing them to point NetBackup.
    Oracle- 9i
    OS- AIX
    Error Message:-
    Starting backup at 04-SEP-12 09:21:51
    channel t1: starting full datafile backupset
    channel t1: specifying datafile(s) in backupset
    input datafile fno=00004 name=/u03/oradata/Test/datap_index01.dbf
    input datafile fno=00003 name=/u03/oradata/Test/datap_data01.dbf
    channel t1: starting piece 1 at 04-SEP-12 09:21:52
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on t1 channel at 09/04/2012 09:37:07
    ORA-19506: failed to create sequential file, name="Test_T_FULL_OFFLINE_set2057_piece1_20120904_09nkbf1g_1_1", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    VxBSAValidateFeatureId: Failed with error:
    Server Status: cannot connect on socket

    Thanks for respond but issue is slightly different, we have RMAN backup setup with TSM and it was working fine earlier but last week one of our team installed and configured NetBackup with RMAN for testing oracle backup with RMAN-NetBackup and after testing they revert back the changes.
    After this testing mine RMAN-TSM backup started giving error and in error it seems to point to NetBackup instead of TSM, however I did check the RMAN script but there is no any changes that point to NetBackup.
    I am not sure what changes are causing to point backup to NetBackup instead of TSM.
    Please see the complete error message below-
    allocated channel: t1
    channel t1: sid=11 devtype=SBT_TAPE
    channel t1: Veritas NetBackup for Oracle - Release 7.5 (2012050906)*
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    new RMAN configuration parameters are successfully stored
    starting full resync of recovery catalog
    full resync complete
    old RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO 'bk_ctl_%d_%F';
    new RMAN configuration parameters:
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO 'bk_ctl_%d_%F';
    new RMAN configuration parameters are successfully stored
    starting full resync of recovery catalog
    full resync complete
    Starting backup at 04-SEP-12 09:21:51
    channel t1: starting full datafile backupset
    channel t1: specifying datafile(s) in backupset
    input datafile fno=00004 name=/u03/oradata/TEST_T/datap_index01.dbf
    input datafile fno=00003 name=/u03/oradata/TEST_T/datap_data01.dbf
    channel t1: starting piece 1 at 04-SEP-12 09:21:52
    released channel: t1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on t1 channel at 09/04/2012 09:37:07
    ORA-19506: failed to create sequential file, name="TEST_T_FULL_OFFLINE_set2057_piece1_20120904_09nkbf1g_1_1", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    VxBSAValidateFeatureId: Failed with error:
    Server Status:  cannot connect on socket
    RMAN>

  • Open all pages in a PDF and save them as sequential files

    I'm trying to make a script that will open all pages in a multi-page PDF and save them as sequential files, but I have had no luck with the simple script in the "Adobe Ilustrator CS5 Reference: JavaScript".
    there example to open a PDF to a designated page does not work for me in Illustrator CS 5.
    // Opens a PDF file with specified options
    var pdfOptions = app.preferences.PDFFileOptions;
    pdfOptions.pDFCropToBox = PDFBoxType.PDFBOUNDINGBOX;
    pdfOptions.pageToOpen = 2;
    // Open a file using these preferences
    var fileRef = filePath;
    if (fileRef != null) {
    var docRef = open(fileRef, DocumentColorSpace.RGB);
    if anyone can get me on the right path it would be appreciated.

    Hi DuanesSFK,
    you can open a PDF page on this way (tested with CS3 and 5):
    //OpenPDFpage2.jsx
    var uILevel = userInteractionLevel; 
    app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    // Opens a PDF file with specified options
    var pdfOptions = app.preferences.PDFFileOptions;
    pdfOptions.pDFCropToBox = PDFBoxType.PDFBOUNDINGBOX;
    pdfOptions.pageToOpen = 2;
    // Open a file using these preferences
    //var fileRef = filePath;
    var fileRef = File("~/Desktop/YourOwn.pdf");
    if (fileRef != null) {
    var docRef = open(fileRef, DocumentColorSpace.RGB);
    app.userInteractionLevel = uILevel;
    To open all pages you have to loop through all pages etc.
    Easier for you:
    Search here in forum for the "open pdf" script  (I don't know the exactly name, it was written by CarlosCanto, ) This should always work for you.
    Have fun

  • Read data from a sequential file to fill an arrray

    I am trying to read data from a sequential file to fill an array and then use the array for calculations. I believe my program is reading the file; however when I try to use the data for calculations the results show up as boxes rather than numbers. Can someone please take a look and give me some insight into where I am going wrong. The sequential file has the following data:
    5.0
    5.35
    5.5
    5.75
    Here is my code from that portion of the program. I can send the entire program if necessary.
    private void calcResults(TextArea loanResults, double amount, double interest, int term ) throws IOException {
         DecimalFormat df = new DecimalFormat("$###,###.00");
         NumberFormat formats = new DecimalFormat("#0.00");
         StringBuffer buffer=new StringBuffer();
         loanResults.append("Month No.\tMonthly Payment\t\tInterest\t\tBalance\n");
         double monthlyPay = amount*Math.pow(1+interest,term)*interest/(Math.pow(1+interest,term)-1);
         monthlyPayment.setText("" + (formats.format(monthlyPay)));
         double principal= amount;
          * Loop through each month of a given loan
        int month;
         for (int i=0; i<term; i++)
    try {
         int j = 0;
         BufferedReader in = new BufferedReader(new FileReader("rates.txt"));
         String temp = "";
         while((temp = in.readLine()) != null) {     
            j++;
            strRate[j] = temp;
            RateValue1 = Double.parseDouble(loanAmountTxFld.getText());
            in.close();
             catch (FileNotFoundException e) {
                 System.out.println("Can't find file rate.txt!");
                 return;
          month= i+1;
          double rate =principal*interest;
          double balance=principal+rate-monthlyPay;
          loanResults.append((month) + "\t\t" + (formats.format(principal) + "\t\t"  + (formats.format(rate) + "\t\t"
                            + (formats.format(balance)     + "\n"))));
          principal=balance;
          GraphArea.append(formats.format(balance)     + "\n");
    *Method for determining which loan option was chosen
    private void calc() throws IOException{
      String interestTerms = (String) cOption.getSelectedItem();
      if (interestTerms.equalsIgnoreCase("5 yrs at 5.00"))
         calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), 0.05/12, 60);
      else if (interestTerms.equalsIgnoreCase("7 yrs at 5.35"))
        calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), RateValue1/12, 84);
      else if (interestTerms.equalsIgnoreCase("15 yrs at 5.50"))
         calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), 0.0550/12, 180);
      else if (interestTerms.equalsIgnoreCase("30 yrs at 5.75"))
         calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), 0.0575/12, 360);
      else if (interestTerms.equalsIgnoreCase("       "))
        calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), Double.parseDouble(loanInterestTxFld.getText())/100/12,Integer.parseInt(loanTermTxFld.getText())*12);
    }

    ok, I fixed my program per your suggestion and I still cannot get it to work. I get the same result where the ouput is just a bunch of boxes. I also tried to print to see what I am getting and all I see is the values of the array [5.0,5.35,5.5,5.75] but I cannot seem to pass that to the calculations. I wish I could figure this out. Does anybody have any suggestions as to what I am doing wrong. This is the portion of my code that I am having issues with:
    private void calcResults(TextArea loanResults, double amount,double interest, int term ) throws IOException {
         DecimalFormat df = new DecimalFormat("$###,###.00");
         NumberFormat formats = new DecimalFormat("#0.00");
         StringBuffer buffer=new StringBuffer();
         loanResults.append("Month No.\tMonthly Payment\t\tInterest\t\tBalance\n");
         double monthlyPay = amount*Math.pow(1+interest,term)*interest/(Math.pow(1+interest,term)-1);
         monthlyPayment.setText("" + (formats.format(monthlyPay)));
         double principal= amount;
          * Loop through each month of a given loan
        int month;
         for (int i=0; i<term; i++)
          month= i+1;
          double rate =principal*interest;
          double balance=principal+rate-monthlyPay;
          loanResults.append((month) + "\t\t" + (formats.format(principal) + "\t\t"  + (formats.format(rate) + "\t\t"
                            + (formats.format(balance)     + "\n"))));
          principal=balance;
          GraphArea.append(formats.format(balance)     + "\n");
    private void readFile() throws IOException
    try {
         int j = 0;
         BufferedReader in = new BufferedReader(new FileReader("rates.txt"));
         String temp = "";
         while((temp = in.readLine()) != null) {     
            strRate[j] = temp;
            j++;
    RateValue1 = Double.valueOf(((String)(strRate[1]))
    ).doubleValue();
    //        RateValue1 = Double.parseDouble(loanAmountTxFld.getText());
            in.close();
             catch (FileNotFoundException e) {
                 System.out.println("Can't find file rates.txt!");
                 return;
    *Method for determining which loan option was chosen
    private void calc() throws IOException{
      String interestTerms = (String) cOption.getSelectedItem();
      if (interestTerms.equalsIgnoreCase("5 yrs at 5.00"))
         calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), 0.05/12, 60);
      else if (interestTerms.equalsIgnoreCase("7 yrs at 5.35"))
        calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), RateValue1/12, 84);
      else if (interestTerms.equalsIgnoreCase("15 yrs at 5.50"))
         calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), 0.0550/12, 180);
      else if (interestTerms.equalsIgnoreCase("30 yrs at 5.75"))
         calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), 0.0575/12, 360);
      else if (interestTerms.equalsIgnoreCase("       "))
        calcResults(loanResults, Double.parseDouble(loanAmountTxFld.getText()), Double.parseDouble(loanInterestTxFld.getText())/100/12,Integer.parseInt(loanTermTxFld.getText())*12);
      }

  • App File Server connection error when trying to run a BI Publisher report..

    hello Gurus...
    As above - App File Server connection error when trying to run a BI Publisher report.. FOR THE FIRST TIME.
    What does our DBA need to do..?
    error message reads..
    Template code: SUARXASR
    Template app:  AR
    Language:      en
    Territory:     GB
    Output type:   EXCEL
    [5/10/10 10:59:27 AM] [UNEXPECTED] [46321:RT1487572]
    oracle.apps.fnd.cp.util.RemoteFileException: An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_*****.ac.uk. There may be a network configuration problem, or the TNS listener on node FNDFS_*****.ac.uk may not be running. Please contact your system administrator.
    at oracle.apps.fnd.cp.util.RemoteFile.readURL(RemoteFile.java:241)
    at oracle.apps.fnd.cp.util.RemoteFile.transferFile(RemoteFile.java:194)
    at oracle.apps.fnd.cp.util.RemoteFile.transfer(RemoteFile.java:130)
    at  oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:264)at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [5/10/10 10:59:27 AM] [46321:RT1487572] Completed post-processing actions for request 1487572.I'm sure we never had to set anything up in our Test instance!??!!??
    many thanks for looking..
    Steven

    nobody experienced this before..?

  • Personal File Sharing Connection Timing Out

    I'm having trouble personal file sharing connecting to one computer in my office. All the others work just fine and I can retrieve files and all. Oddly the computer that I can't read can connect to me.
    When I try and connect, I go to the Network, I can see her computer, I double click it and get the following message:
    Contacting xx.xx.xx.xx
    Timeout in 120 seconds
    And then it counts down the seconds and eventually nothing happens. I went into her System settings and checked and everything (that I know to check) is on and the IP address is the same one that is showing in my dialog box.
    Any ideas?

    Several restarts later and it is still doing it. I can connect to others, but this one machine doesn't want to go. Anybody?

  • Need free OST viewer tool to help to view OST files without connecting to MS Exchange Server and MS Outlook.

    Need free OST viewer tool to help to view OST files without connecting to MS Exchange Server and MS Outlook.

    Hi Howard,
    As I know, Microsoft does not provide any kind of inbuilt tool or free software to only view OST file, even without the connectivity with exchange server (Offline).
    Try SysTools OST Viewer freeware which helps you to view all OST file save at your system in an easy way, whether you want to see the attachments or other items of OST file.
    Note: This is a free inbuilt utility, but try it on your own risk as I am not much aware about it and its working. But this tool sounds good according to your requirement and hopefully it would give you 100% satisfaction.
    Thanks
    Clark Kent

  • Getting dump when passing to sequential file

    hi to all,
    pla help me in this issue
    in final internal table iam having to currency field
    i want to pass to sequential file but it is going to dump
    it is giving this error
    Only character-type data objects are supported at the argument
    position "f" for the statement
      "TRANSFER f TO ...".
    In this case, the operand "f" has the non-character-type "ZPAYREF". The
    current program is flagged as a Unicode program. In the Unicode context
    type X fields are seen as non-character-type, as are structures that
    contain non-character-type components.
    plz help how to passs amount final currency field like character so that i can move to sequentail file.
    Thanks and Regards
    Kranthi

    Hi,
    Data : l_qty(16) type c,
           l_value(13) type c,
           l_dec(3)   type c.
    loop at itab.
    split itab-qty at `.` into l_value l_dec.
    concatenate l_value `.` l_dec into l_qty.
    Move l_qty to l_file.
    Transfer l_file.
    endloop.
    close dataset.
    Best regards,
    Prashant

  • Reg sequential file

    hi
    i want to know about sequential file in data transfer.wat is the concept behind this.
    thanks in advance

    I assume you are clear about the concepts of Application Server and the Presentation server.
    some times the data that has to be transfered in SAP comes in the form of Files. So these files have to be read, processed (if required) and then have to be passed either to transactions or some Function Modules.
    These files can be on App Server or on Presentation server.
    To read file from App server you do Open dataset, close dataset and read data set.
    To read files form Pres Server... there are FMs available GUI_UPLOAD and GUI_DOWNLOAD.
    This is the general.. If u want some thing in specific.. Please feel free to ask...

  • Error - Applications File Server connection with the node FNDFS_WIN2000.

    ERROR:
    An error occurred while attempting to establish an Applications File Server connection with the node FNDFS_WIN2000. There may be a network configuration problem, or the TNS listener on node FNDFS_WIN2000 may not be running. Please contact your system administrator.
    When I try to submit concurrent request error occured which I mentioned above.
    Platform:Windows2000 server
    Apps Version:11.5.3 Vision
    Db version:8.1.6.0.0
    Environment:Windows2000 server(Stand aloe).
    I have one listener in database, I am sending you to my tns and listener files.
    DB listener and tns file.
    # LISTENER.ORA Network Configuration File: J:\oracle\visdb\8.1.6\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_VIS =
    (SID_DESC =
    (SID_NAME = VIS)
    #(ORACLE_HOME = J:\oracle\visdb\8.1.6)
    SID_LIST_VIS =
    (SID_LIST =
    ( SID_DESC = ( SID_NAME = FNDFS )
    ( ORACLE_HOME = J:\oracle\visora\8.0.6 )
    ( PROGRAM = J:\oracle\visappl\fnd\11.5.0\bin\fndfs.exe )
    ( envs='EPC_DISABLED=TRUE,NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1' )
    STARTUP_WAIT_TIME_APPS_VIS = 0
    CONNECT_TIMEOUT_APPS_VIS = 10
    TRACE_LEVEL_APPS_VIS = OFF
    LOG_DIRECTORY_APPS_VIS = J:\oracle\visora\8.0.6\net80\admin
    LOG_FILE_APPS_VIS = APPS_VIS
    TRACE_DIRECTORY_APPS_VIS = J:\oracle\visora\8.0.6\net80\admin
    TRACE_FILE_APPS_VIS = APPS_VIS
    VIS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = win2000)(PORT = 1521))
    # TNSNAMES.ORA Network Configuration File: J:\oracle\visdb\8.1.6\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    VIS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = win2000)(PORT = 1521))
    (CONNECT_DATA =
    (SID = vis)
    Client Site tns and listner.
    # TNSNAMES.ORA FOR APPLICATIONS
    # Created by Rapid Install
    # Net8 definition for the database
    VIS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = win2000)(PORT = 1521))
    (CONNECT_DATA =
    (SID = VIS)
    FNDFS_WIN2000 = (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=win2000)(PORT=1523))
    (CONNECT_DATA=(SID=FNDFS))
    Rep60_VIS,Rep60_VIS.world=(ADDRESS=(PROTOCOL=tcp)(HOST=win2000.apps.com)(PORT=7002))
    # LISTENER.ORA FOR APPLICATIONS
    # Created by Rapid Install
    # Net8 definition for FNDFS listener
    SID_LIST_VIS =
    (SID_LIST =
    ( SID_DESC = ( SID_NAME = FNDFS )
    ( ORACLE_HOME = J:\oracle\visora\8.0.6 )
    ( PROGRAM = J:\oracle\visappl\fnd\11.5.0\bin\fndfs.exe )
    ( envs='EPC_DISABLED=TRUE,NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1' )
    STARTUP_WAIT_TIME_APPS_VIS = 0
    CONNECT_TIMEOUT_APPS_VIS = 10
    TRACE_LEVEL_APPS_VIS = OFF
    LOG_DIRECTORY_APPS_VIS = J:\oracle\visora\8.0.6\net80\admin
    LOG_FILE_APPS_VIS = APPS_VIS
    TRACE_DIRECTORY_APPS_VIS = J:\oracle\visora\8.0.6\net80\admin
    TRACE_FILE_APPS_VIS = APPS_VIS
    Any help I appreciate in advance, I have been working on this issue since one week.
    Thanks,
    Kindest Regards
    Zeeshan Siddiqui

    Duplicate post ..
    Error - An error occurred while attempting to establish an Applications Fil

  • Rman tivoli failure:  create sequential file, Authentication Failure

    New db instance, not writing to tape.
    DB is 10.2.0.4
    run {
    allocate channel sbt_backup1 type 'SBT_TAPE' format '%U' parms 'ENV=(TDPO_OPTFILE=/usr/tivoli/tsm/client/ora
    cle/bin64/tdpo_mydb.opt)';
    backup tablespace users;
    release channel sbt_backup1;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on sbt_backup1 channel at 10/02/2009 11:17:42
    ORA-19506: failed to create sequential file, name="0tkqpi6l_1_1", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    ANS1025E (RC137) Session rejected: Authentication failure
    Settings
    /usr/tivoli/tsm/client/oracle/bin64
    dsm_mydb.opt
    SErver_name MYDBPRD
    tdpo_mydb.opt
    DSMI_ORC_CONFIG /usr/tivoli/tsm/client/oracle/bin64/dsm_mydb.opt
    TDPO_NODE MYDBPRD
    /usr/tivoli/tsm/client/api/bin64
    dsm.sys
    NODENAME MYDBPRD
    ERRORLOGNAME /usr/local/tsm/logs/IFSDBS_MYDBPRD_error.log
    SCHEDLOGNAME /usr/local/tsm/logs/IFSDBS_MYDBPRD_sched.log
    Note: Several db/clients are working on this server. This is a new setup and not working.

    This is not an Oracle/RMAN problem,contact your TSM administrator:
    http://www-01.ibm.com/support/docview.wss?uid=swg21216057
    Werner

  • RMS update to sequential file

    RMS supports read/write using VBN number to a sequential file, which
    means that it is possible to randomly update a sequential file in RMS.
    There are some tricky issues around extending the file and setting the
    EOF mark correctly if you are using a sequential file logically as a
    block-addressable random access file, but for your case you
    can probably ignore such things-- you will not be adding records, just
    updating the one record, right? In order to do this, you would have
    to dig into the RMS services manuals a little bit, but from a Forte
    standpoint, it is the same: C Project code.
    If you have some control over the legacy system: RMS supports "relative
    files", which are record-addressable, random access files without
    keys-- ie, the CORRECT file type to use in this case. Depending on
    the app, there is a good chance that the very same application logic
    which handles the "one-record" sequential file (3-gl level open, read,
    write) will work the same for a "one record" relative file. With this
    "change" to the legacy system, your job in the C-project interface code is a
    little easier.
    Dave

    Hi,
    Data : l_qty(16) type c,
           l_value(13) type c,
           l_dec(3)   type c.
    loop at itab.
    split itab-qty at `.` into l_value l_dec.
    concatenate l_value `.` l_dec into l_qty.
    Move l_qty to l_file.
    Transfer l_file.
    endloop.
    close dataset.
    Best regards,
    Prashant

  • Client ADI App File Server Connection error when trying to publish report.

    Our users are having intermittent problems when trying to publish reports from their Client ADI process to Excel. They are receiving the error:
    "An error occurred while attempting to establish an Applications File Server Connection. There may be a network configuration problem, or the TNS listener may not be running. Nodename:"
    The problem is this issue will be present for a user and then for no reason that user will be able to publish reports again. Or several users will get this error and one user will be able to publish reports. The only consistency is when it errors out they get this message. The listener appears to be up and running as well.
    We are running 11.5.10.2 and ADI version: 7.2.12
    Any helps or tips would be appreciated.

    "An error occurred while attempting to establish an Applications File Server Connection. There may be a network configuration problem, or the TNS listener may not be running. Nodename:"Please see these MOS docs.
    ADI: Troubleshooting Connection Problems with ADI/GLDI [ID 70669.1]
    Troubleshooting the "Error Occurred While Attempting to Establish an Applications File Server Connection" [ID 117012.1]
    How To Validate FNDFS For Applications Desktop Integrator - ADI [ID 364796.1]
    ADI: Unable To View Reports In ADI [ID 1018797.102]
    Can not View Reports Submitted through ADI/Request Center [ID 135128.1]
    ADI RRA:Prefix When Connecting to Server with Muiltple Apps Instances [ID 201492.1]
    ADI Application File Server Connection Error [ID 146220.1]
    Thanks,
    Hussein

  • Modes in Sequential files?

    hi,
         what are the modes in sequential files and give brief description.

    Hi,
    There are 2 modes:
    1. Text mode
    2. Binary mode
    Using Text Mode
    To open a file in text mode, use the IN TEXT MODE addition to the OPEN DATASET statement.
    Syntax
    OPEN DATASET <dsn> FOR .... IN TEXT MODE.
    If you read from or write to a file that is open in text mode, the data is transferred line by line. The system assumes that the file has a line structure.
    In each TRANSFER statement, the system transfers all bytes (apart from spaces at the end) into the file, and places an end of line marker at the end. For information about the TRANSFER statement, refer to Writing Data to Files.
    In each READ DATASET statement, the system reads all of the data up to the next end of line marker. For information about the READ DATASET statement, refer to Reading Data from Files. If the target field is too small, the line is truncated. If it is longer than the line in the file, it is filled with trailing spaces.
    You should always use text mode if you want to write strings to files or where you know that an existing file has a line construction. You can, for example, use text mode to read files that you have created using any editor on your application server.
    The following example works in R/3 Systems that are running on UNIX systems using ASCII.
    DATA FNAME(60) VALUE 'myfile'.
    DATA: TEXT(4),
          HEX TYPE X.
    OPEN DATASET FNAME FOR OUTPUT IN TEXT MODE.
    TRANSFER '12        ' TO FNAME.
    TRANSFER '123456  9 ' TO FNAME.
    TRANSFER '1234      ' TO FNAME.
    OPEN DATASET FNAME FOR INPUT IN TEXT MODE.
    READ DATASET FNAME INTO TEXT.
    WRITE / TEXT.
    READ DATASET FNAME INTO TEXT.
    WRITE  TEXT.
    READ DATASET FNAME INTO TEXT.
    WRITE  TEXT.
    OPEN DATASET FNAME FOR INPUT IN BINARY MODE.
    SKIP.
    DO.
      READ DATASET FNAME INTO HEX.
      If SY-SUBRC <> 0.
        EXIT.
      ENDIF.
      WRITE HEX.
    ENDDO.
    The output appears as follows:
    12 1234 1234
    31 32 0A 31 32 33 34 35 36 20 20 39 0A 31 32 33 34 0A
    This example opens a file "myfile" for writing in text mode. Three literals with length 10 characters are written to it. After the file has been opened for reading in text mode, the lines are read into the field TEXT (length 4). The first line is filled with two trailing spaces. The last five characters of the second line are truncated. The structure of the file is displayed by opening it in binary mode and reading its contents into the hexadecimal field HEX. The numbers 31 - 36 are the ASCII codes for the digits 1 - 6. 20 is the code for the space character. The end of each line is marked by 0A. Note that any spaces at the end of strings are not written to the file.
    Using Binary Mode
    To open a file in binary mode, use the IN BINARY MODE addition to the OPEN DATASET statement.
    Syntax
    OPEN DATASET <dsn> IN BINARY MODE [FOR ....].
    If you read from or write to a file that is open in binary mode, the data is transferred byte by byte. The system does not interpret the contents of the file while it is being transferred. If you write the contents of a field to a file, the system transfers all of the bytes in the source field. When you transfer data from a file to a field, the number of bytes transferred depends on the length of the target field. If you then use another ABAP statement to address the target field, the system interprets the field contents according to the data type of the field.
    DATA FNAME(60) VALUE 'myfile'.
    DATA: NUM1     TYPE I,
          NUM2     TYPE I,
          TEXT1(4) TYPE C,
          TEXT2(8) TYPE C,
          HEX      TYPE X.
    OPEN DATASET FNAME FOR OUTPUT IN BINARY MODE.
    NUM1  = 111.
    TEXT1 = 'TEXT'.
    TRANSFER NUM1  TO FNAME.
    TRANSFER TEXT1 TO FNAME.
    OPEN DATASET FNAME FOR INPUT IN BINARY MODE.
    READ DATASET FNAME INTO TEXT2.
    WRITE / TEXT2.
    OPEN DATASET FNAME FOR INPUT IN BINARY MODE.
    READ DATASET FNAME INTO NUM2.
    WRITE / NUM2.
    OPEN DATASET FNAME FOR INPUT IN BINARY MODE.
    SKIP.
    DO.
      READ DATASET FNAME INTO HEX.
      If SY-SUBRC <> 0.
        EXIT.
      ENDIF.
      WRITE  HEX.
    ENDDO.
    The output appears as follows:
    ###oTEXT
    111
    00 00 00 6F 54 45 58 54
    The program opens the file "myfile" in binary mode and writes the contents of the fields NUM1 and TEXT1 into the file. For information about the TRANSFER statement, refer to Writing Data to Files. The file is then opened for reading, and its entire contents are read into the field TEXT2. For information about the READ DATASET statement, refer to Reading Data from Files. The first four characters of the string TEXT2 are nonsense, since the corresponding bytes are the platform-specific representation of the number 111. The system tries to interpret all of the bytes as characters. However, this only works for the last four bytes. After the OPEN statement, the position is reset to the start of the file, and the first four bytes of the file are transferred into NUM2. The value of NUM2 is correct, since it has the same data type as NUM1. Finally, the eight bytes of the file are read into the field HEX. On the screen, you can see the hexadecimal representation of the file contents. The last four bytes are the ASCII representation of the characters in the word "TEXT".
    Regards,
    Bhaskar

  • How to see sequential file if you d't find that in al11 !

    hi
    I am using a std report and while executing it, it gives a sequential file but i d't see that in al11.I want to know the structure of that seq file..Can anyone tell me what are the other ways I can get the structure of that sequential file .
    Thanks
    Ranjita

    Here it is, i got it...
    Check the documentation of the program:
    The data is expected in the sequential file in the following order:
    For each PO header, a record of the structure <b>MBEPOH</b>,
    For each PO item, a record of the structure <b>MBEPOI</b>.
    Hope this is what you actually need...
    Kind Regards
    Eswar

Maybe you are looking for

  • HT4436 someone else has my ipad and has used my e-mail account but deleted my apple id

    I have an iCloud account that is synced with my iPhone, and WAS also synced with my iPad.  I no longer have my iPad (although I do have it registered under my apple id, serial number and all), but I was looking through my DRAFTS in my e-mail account

  • Transfer music from iPad to iPhone using iCloud and can't do it

    Why won't my iPad let me click on the button in store for automatic download

  • When to use NOCOPY

    The NOCOPY hint seems very useful. But when to use it? As I see it you could use it all the time, but am I missing something? When should I use it and when should I not user it?

  • Deleting Previous Systems Items

    Hello everyone - I have a Previous Systems folder in my 10.5.8. I believe its the result of reinstalling System 10.5 when a Software Update of Java wound up blocking my access to a site I visit daily and I ( following instructions from Apple Support)

  • Using One Context Node's Info in the Setter of Another

    I am very new to WebUI. I have a view.  In its context, it already uses context node BUILHeader .  I need to create a field based on BP_NUMBER info in BUILHeader and place the derived information on the screen. I created a new context node that has a