FBZP forms and postive payfiel, ACH and Wire text files

Dear experts,
Can someone please explain the difference between various forms that we assign in FBZP
1) form for the payment advice in paying comopany code - is this is the form that we will be using to print the check and advice when using the classic payment medium program
2) From for the payment medium -   in payment method in company code - is this for when we use payment medium work bench?
3) I under stand that the payment medium program we assign fbzp will only be used to print the checks not to generate positive payfile
4) we need to develop a zprogram to generate the positive pay file to fit bank's requirements. where do I assign the zprogram to print the positive payfile
5) Client is currently sending  ACH and Wires in EDI820 format via EFT, they are not implementing EDI right now.  What will be the best to use - classi program or payment medium work bench to generate the .txt file that will fit the most? Once we generate the file the PI system will massage the data to turn into IDOC.  What kind of configuration I have to do as functional configurator and what kind of information I should be giving to the developers.

closing

Similar Messages

  • Find and replace a line in a text  file

    Hi All,
    I wanted to read a text file , find a line and replace that line with out affecting any other lines and with out creating a new file.
    If any one of you know any API to do this work ,please throw some light

    This seems to be a question on optimal implementation of search and replace.
    For replacing text in the file itself, the sought text and replaced text must be the same length,
    as inserting a character somewhere in a file, is better done in a new file.
    You could do this with a java.io.RandomAccessFile[b].
    The new IO package [b]java.nio provides a memory mapped file which is faster.
    The following code does such patching.
    import java.io.*;
    import java.nio.*;
    import java.nio.channels.*;
    public class Patch {
        private static byte[] sought;
         private static byte[] replacement;
         private static boolean matches(MappedByteBuffer bb, int pos) {
              for (int j = 0; j < sought.length; ++j)
                   if (sought[j] != bb.get(pos + j))
                        return false;
              return true;
         private static void replace(MappedByteBuffer bb, int pos) {
              for (int j = 0; j < sought.length; ++j)
                   byte b = (j < replacement.length)? replacement[j] : (byte)' ';
                   bb.put(pos + j, b);
         private static void searchAndReplace(MappedByteBuffer bb, int sz) {
              int replacementsCount = 0;
              for (int pos = 0; pos <= sz - sought.length; ++pos)
                   if (matches(bb, pos)) {
                        replace(bb, pos);
                        pos += sought.length - 1;
                        ++replacementsCount;
              System.out.println("" + replacementsCount + " replacements done.");
        // Search for occurrences of the input pattern in the given file
        private static void patch(File f) throws IOException {
              // Open the file and then get a channel from the stream
              RandomAccessFile raf = new RandomAccessFile(f, "rw"); // "rws", "rwd"
              FileChannel fc = raf.getChannel();
              // Get the file's size and then map it into memory
              int sz = (int)fc.size();
              MappedByteBuffer bb = fc.map(FileChannel.MapMode.READ_WRITE, 0, sz);
              searchAndReplace(bb, sz);
              bb.force(); // Write back to file, like "flush()"
              // Close the channel and the stream
              raf.close();
        public static void main(String[] args) {
              if (args.length == 0)
                   args = new String[] { "row ", "item", "2.xml" };
              if (args.length < 3) {
                   System.err.println("Usage: java Patch sought replacement file...");
                   return;
              sought = args[0].getBytes();
              replacement = args[1].getBytes();
              if (sought.length != replacement.length) {
                   // Better build-in some support for padding with blanks.
                   System.err.println("Usage: sought (" + args[0] + ") and replacement (" + args[1] + ") must have same length");
                   return;
              for (int i = 2; i < args.length; i++) {
                   File f = new File(args);
                   try {
                        patch(f);
                   } catch (IOException x) {
                        System.err.println(f + ": " + x);

  • Interactive Bar/pie chart and line graph, data from excel/text file -urgent

    Hi,
    I have a huge data in excell sheet which keeps updating every month. Data basically consists of service provider and there respective subscribers from various regions of the country over the years. The requirement is to give the viewers an interactive page where in they can make various combinations and can compare, cross examine data according to thier choice.
    We want the pie chart / bar graph or line graph to be created on the fly according to the combination made by the user.
    The site is hosted on a red hat linux server. how can a connection to the excel spreadsheet be made or is it possible to read from the text file if the entire data is exported to a text file.
    Is there any ready made tool/code available which can be customised according to the need.
    Thanx in advance
    Regards
    Prakash

    I certainly wouldn't pay for the graphing package at the previous link. check out http://www.object-refinery.com/jfreechart/ for a free, open-source, much better looking graphing package.

  • Characters y and b appear when reading a text file

    The vi shown in the picture opens a text file from hard drive with "Open/Create/Replace File" and with "Read from Spreadsheet File".
    Then the vi displays the text in the respective indicators. 
    In both indicators, there is a y and b that appear as the very first first characters.
    It's not exactly a y and b. The y has two dots over it and the stem of the b hangs low, a non-English script. 
    In Word and Notepad these charcters don't show up. The first character is a zero as I originally wrote. 
    The text file was originally created in Excel and then saved as unicode text. 
    From whence do these funky letters come? and how do I get them to leave? 
    Also, it looks like the text in both indicators is adding a blank line after each line. That doesn't show up Notepad or Word either. 
     

    Carmen92126 wrote:
    The text file was originally created in Excel and then saved as unicode text.
    There's your problem: unicode.  You might want to check out this quick thread: Config file "byte order mark"
    Yes, by saving as Unicode, you have a couple of extra bytes that most text editor know to ignore.  But LabVIEW just gives you the raw data.

  • How to merge text files and put the result in a text file.

    Hi,
    I am trying to merge the files(text) using OWB and I would like to put the result in a file. Could any one please explain how to do this.
    Thanks and regards
    Gowtham Sen.

    using the unix commnad 'cat' along with the redirect '>>' will concat the files into one target
    #this will create the target file and over-write it if it existed already
    cat file1 > target
    ##Now add the rest of the files to the target, without over-writing
    cat file2 >>target
    cat file3 >>target
    cat file16 >> target
    You can then use an external table on the target file.
    A nicer way would be to user a 'for loop', but this will work fine.

  • ACH and WIRE PAyments

    Hi All,
    Could any one throw some light on the paymnet method and the form details for effecting ACH and Wire Payment?
    Can I use the method under F110 Program ?
    Thanks,
    Chitra

    Hi Gurus and Chitra specifically,
    I have to configure for a US client wire payments procedure so that payment media file is generated. Currently, the client has ACH payments already set up. They have a payment method 'W' for wire transfers which they use but it is not assigned to any Payment media / forms. After the payment run for payment method 'W', they take the payment list and enter manually the details of wire transfers to be done  in the external bank software. Now, they dont want to manually enter these details into the bank's software anymore. Instead, they want the SAP to generate a file output after the payment run for 'W' method and then upload / import this file into the bank's software. The bank has a specific format for such uploads.
    I request you to pls. explain how and what to configure so that the desired file format is output to be uploaded into bank's software.
    Thanks,
    Jagdish
    1-314-537-6449

  • How Open And Print Proc C Genrated Text File Based Report ON Browser

    Dear Sir
    I have my old 6i forms from which i runs some Pro*c programmers with the help of HOST() command ,and then that generates a normal text file as a resultant report like file name "kha10"
    which i can easily open with any text client ,,,
    now what i want is that, to open this file on browser like web Report on my forms 10g like report builder 10g
    can anyone help me as it will be a gr8 help otherwise i would have to develop approx 100 reports.....
    any solution or any technique plzz help me

    bro my work is almost done apart from this virtual directory , how to make a virtual directory so that is dosent comes under
    http://........../form/
    i mean where to put my
    <virtual-directory virtual-path="/procrepo" real-path="c:\" />
    as my original file looks like bellow
    <?xml version="1.0"?>
    <!DOCTYPE orion-web-app PUBLIC "-//ORACLE//DTD OC4J Web Application 9.04//EN" "http://xmlns.oracle.com/ias/dtds/orion-web-9_04.dtd">
    <orion-web-app
         deployment-version="10.1.2.0.2"
         jsp-cache-directory="./persistence"
         temporary-directory="./temp"
         servlet-webdir="/servlet/"
    >
    <context-param-mapping name="configFileName">D:\DevSuiteHome_1/forms/server/formsweb.cfg</context-param-mapping>
         <virtual-directory virtual-path="/html" real-path="D:\DevSuiteHome_1/tools/web/html" />
         <virtual-directory virtual-path="/java" real-path="D:\DevSuiteHome_1/forms/java" />
         <virtual-directory virtual-path="/webutil" real-path="D:\DevSuiteHome_1/forms/webutil" />
         <virtual-directory virtual-path="/jinitiator" real-path="D:\DevSuiteHome_1/jinit" />
         <session-tracking cookies="disabled" />
    <!-- Uncomment this element to control web application class loader behavior.
    <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
    -->
    <security-role-mapping name="administrators">
    </security-role-mapping>
    </orion-web-app>
    plzzzzzzzzzzz help

  • Write time stamp and Voltage to text file

    I am a novice 2011 LabVIEW user and am trying to build a program that will write TIME in one column and VOLTAGE in another to a text file for later interpretation with MATLAB. I started to add elements to an existing code, which I downloaded from the examples forum, because it works well for my purposes of sending a finite square signal. The code that I started modifying is attached to this thread. If somebody wants to take the time to provide me with an example of how I can do this with my existing code, it would be greatly appreciated. I learn better from example.
    Regards,
    Sean. 
    Attachments:
    Voltage - Generate and Write.vi ‏99 KB

    This is a pretty simple set of code that every 5 seconds writes to a csv file that is stored in the location shown in the code. In order to apply something similar to your code simply run the data that you wish to store into the concatenate strings in the form of a string and it should be fine. 
    Although after looking over your code a second time you should probably take a look at the convert "Array to Spreadsheet string" function, all you would have to feed it is an array of times and measurements at the completion of your program and feed it into a file and it should do everything for you.
    Attachments:
    Write to File.vi ‏20 KB

  • Importing Text file in to iTunes with song and artist names

    A friend made a compilation CD for me. He exported the artist and song names in to a text file from iTunes. I am having trouble importing the information in to my itunes. The people at the apple store said that it was not possible and that I would have to import his whole iTunes library.
    Thanks.
    imac    

    Hi Dennis,
    In order to import flat files into MDM do the following. This solution is specific to MS Windows:
    I. Set up ODBC for *.txt or *.csv files
    1. Open Data Sources (ODBC) interface:
    Start> Settings> Control Panel--> Administrative Tools -->Data Sources (ODBC).
    2. Select System DSN Tab in Data Sources (ODBC) interface.
    3. Click on [Add]. Select the Microsoft Text Driver. Click Finish.
    4. Write a Data Source Name
    5. Uncheck Use Current Directory to enable the [Select Directory…] button.
    6. Click on [Select directory…] to determine the source directory.
    7. Select the source file.
    8. Click [OK] and return to the ODBC Text Setup screen.
    9. Click [OK].
    10. Return to the ODBC Data Source Administrator dialog and click [OK].
    II. Importing from Flat file
    1. Run MDM Import Manager.
    2. Select ODBC from the Type drop-down field of the Connect To Source dialog.
    3. Enter the DSN name from the Setup ODBC Connection dialog above.
    4. Select the file name with extension (.csv or .txt) in the Tables panel of MDM Import Manager and the file content in the Records panel.
    Hope this solved your problem.Please mark helpful answers
    Regards,
    Santosh.

  • Retrieve data from a text file and insert in table

    hi,
    i am writing an application which when executes would creates a user table and populates it with the data i.e. username and passwords taking it from a text file.
    i would like to know if anybody can help as to how can i retreive the user name and password for every insert statement that will be fired to populate the user table.
    thanks in advance for the help

    for csv try a little search:
    http://search.java.sun.com/Search/java?col=javafrm&qp=%2Bforum%3A31&qt=csv+import
    search for ini files:
    http://search.java.sun.com/Search/java?qt=ini+file&col=javafrm&rf=0&qp=%2Bforum%3A31
    hope this helps
    tobias

  • Premiere Pro CC and Nvidia Maximus k5000 and k20

    I've tried both nvidia drivers 320.27 and 320.49 and can only get the K5000 for process in Premiere Pro CC, AE CC and Media Encoder CC.  In the Maximus Config Utility I have the 5000 set to Dedicated to graphics only tasks, yet the K20 never goes above 0% usage.  I'm running Win7 64bit, Premiere CC 7.0.1.  Nvidia drivers 320.49.
    Im getting better performance from the k5000 through queuing to Media Encoder than I cam from direct export from Premiere. But here's my processes on the GPU when export.
    I've tried Using k5000 for "Use for both Graphics and compute tasks" and Tried using ECC on and off for both the k5000 and k20.
    I'm stumped how to get my Maximus configuration to work with Adobe CC.

    I've delete the CUDA and OpenCL text files with no success of using the K20.  I modified the cuda_supported text file to include the k20, and it the premiere timeline used both cards came with an error stating this card is not supported, but worked flawlessly .   However, now I can't export a quicktime file. I get a "error compiling movie" error message.  I delete the CUDA and Open CL text files and replaced them with the original text files found in the folder, rebooted and now have the Maximus config working in Premier.    But still have the error compiling quicktime files.
    Thanks for the suggestions for what ever reason, deleting the text file and replacing it with the same file and deleting and reinstalling solved the K20 issue in Premiere.
    This also solved AE not seeing the K20. 
    Thanks again.
    Resources for non exporting quicktimes :
    http://blogs.adobe.com/aftereffects/2011/02/troubleshooting-quicktime-errors-with-after-ef fects.html

  • Read a text file and populate table

    My email addres is [email protected]
    I am new to java. My project requires me to read a text file and pick some values from the text file and populate a table in MS Access. The main fields are from the TEXT. Some of the columns to be read are:
    Transaction ref.
    Amount
    User ref.
    Date
    The text file is as follows:
    Receiver =
    FBNINGLAXXX LT : A
    FST BANK OF NIGERIA PLC
    LAGOS
    LAGOS
    NG
    NIGERIA
    Transaction ref. = SPLOUK01P0008888 Related ref. = 00077003
    Amount = 16675750, NGN Value/Date =
    Format & Validation
    Version = 0205 Checked = Minimum
    Netw. Appl. = FIN Passed = Minimum
    Sender to Receiver Instructions
    Banking Prior. = User ref. = SPLOUK01P0008888
    Warning Status =
    Possible Duplicate Emission
    Appl/Serv = SWIFT Interface
    RP & Ft = SIfrom_SWIFT
    Date/Time = 01/04/03 18:53:19
    Text =
    :20:SPLOUK01P0008888
    :28D:1/1
    :30:030401
    :21:00077003
    :32B:NGN16675750,00
    :50H:/4072010014877
    SPDC FBN East Main A/C
    :57D:WEMA BANK PLC
    PLOT 22 TRANS-AMADI BRANCH P.H.
    PORT HARCOURT.
    RIVERS STATE.
    :59:/0421002101818
    PROJECT MASTERS NIGERIA LTD.
    C101 ELIOGBOLO VILLAGE OFF
    EAST-WEST ROAD RUMUOKORO PORT HAR
    COURT
    :70:PM PCE-TS 03 001030226
    :71A:OUR
    Block 5:
    {MAC:9F664844}{CHK:60EF6513E579}
    Message History =
    *Original (Completed)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    See in this case as you are dealing with Files and database. you need read the File by using the I/O Streams. if you have to select some particular values you can go Random access file.Once you have retrived values. You can go for the second part that is make a jdbc connection to database, and use simple SQL statements to populate those values into the table.
    How this will give you a better picture

  • Read and write from and to text file

     Hi All,
    I am trying to read some portion of a text file and make measurement and calculation with those numbers and write back to the same text file and also to a excel file. I need to create a 2 D  array of 20 by 20 from the text file values and write to front panel table and to text file. but I am having problem with it, obviously I am new to this. Please help me.  thanks much
    ~ Johnny

    Hi Lynn,
    the requirement is to move C1 and C2 to each position that is given in the text file in steps and percentage value.
    for example C1 has to go to first step (5%) and C2 has to go thru all steps, 5% to 95% , in 5 percent increment. 
    each 100 steps translates to 1 percent increment in the capacitor value.
    at the end, I need to enter the measured data (values of C1 for each step, vesus all values of C2 for all steps) and enter them at the bottom of the text file's table where it starts at : "IMPEDANCE_REAL in Ohmone line per C1 position, containing all values for the different C2 positions" and do the same for where it says "IMPEDANCE_IMAGINARY in Ohmone line per C1 position, containing all values for the different C2 positions"
    the reason I read the file twice, is that if it read it once, I couldn't connect it to spreadsheet string to array vi.
    as you can see, I also like to use the write to measurement file and build table express vi's to display the table on the front panel and save the data to ni data file format so later I convert it to excel  too.
    any thoughts?
    thanks for your help
    ~ Johnny
    Attachments:
    read from text2.vi ‏82 KB

  • How to generate complete file list of hard drive and output to text file

    I need to start backing things up to drives, which over time will be put in storage.
    I would like to be able to create a complete file index and folder tree of every drive and have it output to a text file so that in the event I ever need to go back to a drive, I can search the text file to know what drive to pull from storage (rather than using spotlight to search through 25 drives).
    Is there any way to do this with either OS X or with a third party software? Ideally, text file and not PDF.
    Thanks!

    You can use the terminal.app with the following command:
    rsync -rlptn --stats --progress +Source.. Destination..+
    example with actual output:
    rsync -rlptn --stats --progress /Volumes/Mac\ Data/websites /Volumes/EXT\ SATA2building file list ...
    146 files to consider
    websites/
    websites/.DS_Store
    websites/bestelectricbill.com/
    websites/bestelectricbill.com/.DS_Store
    websites/bestelectricbill.com/211299c1
    websites/bestelectricbill.com/awards.php
    websites/bestelectricbill.com/careers.php
    websites/bestelectricbill.com/category1.php
    websites/bestelectricbill.com/category2.php
    websites/bestelectricbill.com/category3.php
    websites/bestelectricbill.com/checkout.php
    websites/bestelectricbill.com/company.php
    websites/bestelectricbill.com/contactus.php
    websites/bestelectricbill.com/email.js
    websites/bestelectricbill.com/faqs.php
    websites/bestelectricbill.com/fsp.js
    websites/bestelectricbill.com/history.php
    websites/bestelectricbill.com/index.php
    websites/bestelectricbill.com/index_copy.php
    websites/bestelectricbill.com/investors.php
    websites/bestelectricbill.com/job1.php
    websites/bestelectricbill.com/job2.php
    websites/bestelectricbill.com/job3.php
    websites/bestelectricbill.com/job4.php
    websites/bestelectricbill.com/job5.php
    websites/bestelectricbill.com/managementteam.php
    websites/bestelectricbill.com/news1.php
    websites/bestelectricbill.com/news2.php
    websites/bestelectricbill.com/news3.php
    websites/bestelectricbill.com/news4.php
    websites/bestelectricbill.com/news5.php
    websites/bestelectricbill.com/newsandevents.php
    websites/bestelectricbill.com/partners.php
    websites/bestelectricbill.com/press.php
    websites/bestelectricbill.com/privacypolicy.php
    websites/bestelectricbill.com/product1a.php
    websites/bestelectricbill.com/product1a1.php
    websites/bestelectricbill.com/product1a2.php
    websites/bestelectricbill.com/product1b.php
    websites/bestelectricbill.com/product1b1.php
    websites/bestelectricbill.com/product1b2.php
    websites/bestelectricbill.com/product1c.php
    websites/bestelectricbill.com/product1c1.php
    websites/bestelectricbill.com/product1c2.php
    websites/bestelectricbill.com/product1d.php
    websites/bestelectricbill.com/product1d1.php
    websites/bestelectricbill.com/product1d2.php
    websites/bestelectricbill.com/product1e.php
    websites/bestelectricbill.com/product1e1.php
    websites/bestelectricbill.com/product1e2.php
    websites/bestelectricbill.com/products.php
    websites/bestelectricbill.com/productsearch.php
    websites/bestelectricbill.com/registration.php
    websites/bestelectricbill.com/search.php
    websites/bestelectricbill.com/searchresults.php
    websites/bestelectricbill.com/service1.php
    websites/bestelectricbill.com/service1a.php
    websites/bestelectricbill.com/service1a1.php
    websites/bestelectricbill.com/service1a2.php
    websites/bestelectricbill.com/service1b.php
    websites/bestelectricbill.com/service1b1.php
    websites/bestelectricbill.com/service1b2.php
    websites/bestelectricbill.com/service1c.php
    websites/bestelectricbill.com/service1c1.php
    websites/bestelectricbill.com/service1c2.php
    websites/bestelectricbill.com/service1d.php
    websites/bestelectricbill.com/service1d1.php
    websites/bestelectricbill.com/service1d2.php
    websites/bestelectricbill.com/service1e.php
    websites/bestelectricbill.com/service1e1.php
    websites/bestelectricbill.com/service1e2.php
    websites/bestelectricbill.com/service2.php
    websites/bestelectricbill.com/service3.php
    websites/bestelectricbill.com/services.php
    websites/bestelectricbill.com/shoppingcart.php
    websites/bestelectricbill.com/sitemap.php
    websites/bestelectricbill.com/story1.php
    websites/bestelectricbill.com/story2.php
    websites/bestelectricbill.com/story3.php
    websites/bestelectricbill.com/termsofuse.php
    websites/bestelectricbill.com/Templates/
    websites/bestelectricbill.com/Templates/siteassist_config.cfg
    websites/bestelectricbill.com/Templates/siteassist_template.dwt.php
    websites/bestelectricbill.com/Templates/_notes/
    websites/bestelectricbill.com/Templates/_notes/dwsync.xml
    websites/bestelectricbill.com/_notes/
    websites/bestelectricbill.com/_notes/dwsync.xml
    websites/bestelectricbill.com/images/
    websites/bestelectricbill.com/images/.DS_Store
    websites/bestelectricbill.com/images/app_img17.jpg
    websites/bestelectricbill.com/images/bestelectriclogo.jpg
    websites/bestelectricbill.com/images/bestelectriclogo.jpg.ori.jpg
    websites/bestelectricbill.com/images/btn_saveBusiness.jpg
    websites/bestelectricbill.com/images/btn_saveHome.jpg
    websites/bestelectricbill.com/images/imgAbout_OverviewTeam copy.jpg
    websites/bestelectricbill.com/images/imgCollage.jpg
    websites/bestelectricbill.com/images/imgComp1.jpg
    websites/bestelectricbill.com/images/imgComp3.jpg
    websites/bestelectricbill.com/images/imgComp4.jpg
    websites/bestelectricbill.com/images/imgComp5.jpg
    websites/bestelectricbill.com/images/imgComp6.jpg
    websites/bestelectricbill.com/images/imgComp7.jpg
    websites/bestelectricbill.com/images/imgComp8.jpg
    websites/bestelectricbill.com/images/phone number.jpg
    websites/bestelectricbill.com/images/phone number2.jpg
    websites/bestelectricbill.com/images/_notes/
    websites/bestelectricbill.com/images/_notes/dwsync.xml
    websites/bestelectricbill.com/siteassist_css/
    websites/bestelectricbill.com/siteassist_css/color.css
    websites/bestelectricbill.com/siteassistcss/mystyles.css
    websites/bestelectricbill.com/siteassist_css/navigation.css
    websites/bestelectricbill.com/siteassistcss/navigationcolor.css
    websites/bestelectricbill.com/siteassist_css/style.css
    websites/bestelectricbill.com/siteassist_css/template.css
    websites/bestelectricbill.com/siteassistcss/notes/
    websites/bestelectricbill.com/siteassistcss/notes/dwsync.xml
    websites/bestelectricbill.com/siteassist_images/
    websites/bestelectricbill.com/siteassistimages/above_topnavbackground.jpg
    websites/bestelectricbill.com/siteassistimages/below_topnavbackground.jpg
    websites/bestelectricbill.com/siteassist_images/border.gif
    websites/bestelectricbill.com/siteassistimages/bottombackground.jpg
    websites/bestelectricbill.com/siteassistimages/brcorner.jpg
    websites/bestelectricbill.com/siteassist_images/bubbles.jpg
    websites/bestelectricbill.com/siteassistimages/dottedhorizontal.jpg
    websites/bestelectricbill.com/siteassistimages/dottedvertical.jpg
    websites/bestelectricbill.com/siteassistimages/home_mainbackground.jpg
    websites/bestelectricbill.com/siteassistimages/img100x125.gif
    websites/bestelectricbill.com/siteassistimages/img160x110.gif
    websites/bestelectricbill.com/siteassistimages/img400x197.gif
    websites/bestelectricbill.com/siteassistimages/img463x170.gif
    websites/bestelectricbill.com/siteassistimages/loginbtn.gif
    websites/bestelectricbill.com/siteassistimages/logotraditional.jpg
    websites/bestelectricbill.com/siteassistimages/mainfeature.jpg
    websites/bestelectricbill.com/siteassistimages/side_navcell.gif
    websites/bestelectricbill.com/siteassistimages/side_nav_cellsel.gif
    websites/bestelectricbill.com/siteassistimages/side_nav_opengrad.gif
    websites/bestelectricbill.com/siteassistimages/side_nav_open_selgrad.gif
    websites/bestelectricbill.com/siteassistimages/sidenavbackground.jpg
    websites/bestelectricbill.com/siteassist_images/spacer.gif
    websites/bestelectricbill.com/siteassistimages/topbackground.jpg
    websites/bestelectricbill.com/siteassistimages/topnavbackground.jpg
    websites/bestelectricbill.com/siteassistimages/topnav_cellbg.gif
    websites/bestelectricbill.com/siteassistimages/topnav_cell_bghover.gif
    websites/bestelectricbill.com/siteassistimages/trcorner.jpg
    websites/bestelectricbill.com/siteassistimages/notes/
    websites/bestelectricbill.com/siteassistimages/notes/dwsync.xml
    Number of files: 146
    Number of files transferred: 135
    Total file size: 1150921 bytes
    Total transferred file size: 1150921 bytes
    Literal data: 0 bytes
    Matched data: 0 bytes
    File list size: 2825
    File list generation time: 0.001 seconds
    File list transfer time: 0.000 seconds
    Total bytes sent: 3717
    Total bytes received: 896
    sent 3717 bytes received 896 bytes 9226.00 bytes/sec
    total size is 1150921 speedup is 249.50
    Simply copy and and paste output text in terminal to a text file.
    What I actually did there was use the "dry run option" (-n) - no files were actually transferred.
    For more info on the rsync command type and run "man rsync" at the terminal command line.
    Also see this webpage:
    http://www.ss64.com/osx/rsync.html
    Kj

  • Need Help: UTL_FILE Reading and Writing to Text File

    Hello I am using version 11gR2 using the UTL_FILE function to read from a text file then write the lines where it begins with word 'foo' and end my writing to the text file where the line with the word 'ZEN' is found. Now, I have several lines that begin with 'foo' and 'ZEN' Which make for one full paragraph, and in this paragraph there's a line that begins with 'DE4.2'. Therefore,
    I need to write all paragraphs that include the line 'DE4.2' in their beginning and ending lines 'foo' and 'ZEN'
    FOR EXAMPLE:
    FOO/234E53LLID
    THIS IS MY SECOND LINE
    THIS IS MY THIRD LINE
    DE4.2 THIS IS MY FOURTH LINE
    THIS IS MY FIFTH LINE
    ZEN/DING3434343
    FOO/234E53LLID
    THIS IS MY SECOND LINE
    THIS IS MY THIRD LINE
    THIS IS MY FIFTH LINE
    ZEN/DING3434343
    I am only interested in writing the first paragraph tha includes line DE4.2 in one of ther lines Not the Second paragraph that does not include the 'DE4.2'
    Here's my code thus far:
    CREATE OR REPLACE PROCEDURE my_app2 IS
    infile utl_file.file_type;
    outfile utl_file.file_type;
    buffer VARCHAR2(30000);
    b_paragraph_started BOOLEAN := FALSE; -- flag to indicate that required paragraph is started
    BEGIN
    -- open a file to read
    infile := utl_file.fopen('TEST_DIR', 'mytst.txt', 'r');
    -- open a file to write
    outfile := utl_file.fopen('TEST_DIR', 'out.txt', 'w');
    -- check file is opened
    IF utl_file.is_open(infile)
    THEN
    -- loop lines in the file
    LOOP
    BEGIN
    utl_file.get_line(infile, buffer);
         --BEGINPOINT APPLICATION
    IF buffer LIKE 'foo%' THEN
              b_paragraph_started := TRUE;          
         END IF;
         --LOOK FOR GRADS APPS
              IF b_paragraph_started AND buffer LIKE '%DE4%' THEN
              utl_file.put_line(outfile,buffer, FALSE);
    END IF;
         --ENDPOINT APPLICATION      
              IF buffer LIKE 'ZEN%' THEN
         b_paragraph_started := FALSE;
              END IF;
    utl_file.fflush(outfile);
    EXCEPTION
    WHEN no_data_found THEN
    EXIT;
    END;
    END LOOP;
    END IF;
    utl_file.fclose(infile);
    utl_file.fclose(outfile);
    EXCEPTION
    WHEN OTHERS THEN
    raise_application_error(-20099, 'Unknown UTL_FILE Error');
    END my_app2;
    When I run this code I only get one line: DE4.2 I AM MISSING THE ENTIRE PARAGRAPH
    PLEASE ADVISE...

    Hi,
    Look at where you're calling utl_file.put_line. The only time you're writing anything is immediately after you find the the key word 'DE4', and then you're writing just that line.
    You need to store the entire paragraph, and when you reach the end of the paragraph, write the whole thing only if you found the key word, like this:
    CREATE OR REPLACE PROCEDURE my_app2 IS
        TYPE  line_collection  
        IS       TABLE OF VARCHAR2 (30000)
               INDEX BY BINARY_INTEGER;
        infile               utl_file.file_type;
        outfile                      utl_file.file_type;
        input_paragraph          line_collection;
        input_paragraph_cnt          PLS_INTEGER     := 0;          -- Number of lines stored in input_paragraph
        b_paragraph_started      BOOLEAN      := FALSE;     -- flag to indicate that required paragraph is started
        found_key_word          BOOLEAN          := FALSE;     -- Does this paragraph contain the magic word?
    BEGIN
        -- open a file to read
        infile := utl_file.fopen('TEST_DIR', 'mytst.txt', 'r');
        -- open a file to write
        outfile := utl_file.fopen('TEST_DIR', 'out.txt', 'w');
        -- check file is opened
        IF utl_file.is_open(infile)
        THEN
         -- loop lines in the file
         LOOP
             BEGIN
              input_paragraph_cnt := input_paragraph_cnt + 1;
                 utl_file.get_line (infile, input_paragraph (input_paragraph_cnt));
              --BEGINPOINT APPLICATION
              IF LOWER (input_paragraph (input_paragraph_cnt)) LIKE 'foo%' THEN
                  b_paragraph_started := TRUE;
              END IF;
              --LOOK FOR GRADS APPS
              IF b_paragraph_started
              THEN
                  IF  input_paragraph (input_paragraph_cnt) LIKE '%DE4%'
                  THEN
                   found_key_word := TRUE;
                  END IF;
                  --ENDPOINT APPLICATION
                  IF input_paragraph (input_paragraph_cnt) LIKE 'ZEN%' THEN
                      b_paragraph_started := FALSE;
                   IF  found_key_word
                   THEN
                       FOR j IN 1 .. input_paragraph_cnt
                       LOOP
                           utl_file.put_line (outfile, input_paragraph (j), FALSE);
                       END LOOP;
                   END IF;
                   found_key_word := FALSE;
                   input_paragraph_cnt := 0;
                  END IF;
              ELSE     -- paragraph is not started
                  input_paragraph_cnt := 0;
              END IF;
              EXCEPTION
                  WHEN no_data_found THEN
                   EXIT;
              END;
          END LOOP;
        END IF;
        utl_file.fclose (infile);
        utl_file.fclose (outfile);
    --EXCEPTION
    --    WHEN OTHERS THEN
    --        raise_application_error(-20099, 'Unknown UTL_FILE Error');
    END my_app2;
    SHOW ERRORSIf you don't have an EXCEPTION section, the default error handling will print an error message, spcifying exactly what the error was, and which line of your code caused the error. By using your own EXCEPTION section, you're hiding all that information. I admit, the error messages aren't always as informative as we'd like, but they're never less informative than "Unknown UTL_FILE Error'. Don't use your own EXCEPTION handling unless you can improve on the default.
    Remember that anything inside quotes is case-sensitive. If your file contains upper-case 'FOO', then it won't be "LIKE 'foo%' ".
    Edited by: Frank Kulash on Dec 7, 2011 1:35 PM
    You may have noticed that this site normally doesn't display multiple spaces in a row.
    Whenever you post formatted text (such as your code) on this site, type these 6 characters:
    \{code}
    (small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.

Maybe you are looking for

  • Drag and Drop Interaction - Incomplete

    Hi I have began using the Drag and Drop Interaction which is working really well. I have one issue that I cannot see how to do,  I hope there is a possible solution somewhere. All other questions have an incomplete caption that appears when you click

  • IPod will not turn BACK ON!  Cold weather?

    My iPod will not turn back on. I left it in a cold car for a few days while I was at my family's house, and the battery must have died while I was there. I came home and plugged it in, but it wouldn't charge or turn on. Help!!

  • Itunes quick player

    please can anyone out there help me, 1. i'm having problems with the installing itunes/quicktime 2. when launching send error report appears 3. when clicking on quick time not compatiable appears(tried properities) 4. uninstalled , installed complete

  • Intel Mac plug-ins?

    Anybody know of a resource list or web page for Intel compatible plug-ins? I've looked on the KVRAudio page, but there doesn't seem to be any indication as to which plug-ins are Intel compatible and those that aren't. Maybe I'm not looking hard enoug

  • Run Batch File for Domain Computers on Startup

    Hello, I am trying to run a batch file I created to grab computer specs off of every computer on our domain.  I have created a new GPO under my domain and under there I have the file sitting under Computer configuation>policy>windows settings>scripts