Black pixalated line on footage from mxf files

I have occasional black line across my footage in premiere pro on clips and on timeline like the old pixalation from Tapes!! the same footage was ok from camera first time i transferred it from cf card (mxf files)

Hi Kevin
editing on macbook pro osx version 10.9.5 Processor  2.3 GHz Intel Core i7
premiere pro cs5.5
footage from canon xf 300 shot in 1080i and from different times/projects i now have pixelation i.e. black line horizontal going across footage and some pixalated colour lines -have just been messing about with field options on timeline and have selected 'always deinterlace' from 'none' and this has made a difference (i think) to one clip

Similar Messages

  • How to get string (specified by line and column) from txt file with labview

    Hi everyone
    How to get string (specified by line and column) from txt file with labview
    thx 
    Solved!
    Go to Solution.

    As far as I know, a text file has no columns.  Please be more specific.  Do you mean something like the 5th word on line 4, where words are separated by a space, and lines are separated by a newline character?  You could the Read from Spreadsheet String function and set the delimiter to a space.  This will produce a 2D array of strings.  Then use index array and give the line number and column number.
    - tbob
    Inventor of the WORM Global

  • How can I read only a line of text from a file, line by line using Scanner?

    Here's the code I currently have for a program that finds a keyword from numerous files and prints every line in every file that has that keyword. The keyword is indicated by the first parameter in a command line and the files are every parameter after that. Right now, with the code I have, the program will not print multiple lines of each file if they contain the keyword. I am trying to solve this problem by figuring out a way to have a loop continue until an \n EOL character is found. I am not sure how to do this though. Here's the portion of code that I would like to change to do this. I need to add a condition somewhere after in.hasNext() I think to stop when it it hits a /n.:
    while (in.hasNext()) {
                        count++;
                        String nextWord = in.next();
                        lineOfText.add(nextWord);
                        if (nextWord.equals(keyword)) {
                            flag = true;
    import java.util.Scanner;
    import java.io.IOException;
    import java.io.FileNotFoundException;
    import java.io.FileInputStream;
    import java.io.PrintWriter;
    import java.util.ArrayList;
    public class Find {
        static ArrayList<String> lineOfText = new ArrayList<String>();
        static boolean flag = false;
        public static void main(String args[]) {
                   run(args);
        public static void run(String args[]) {
            try {
                PrintWriter out = new PrintWriter("output.txt");
                String keyword = args[0];
                for (int i = 1; i < args.length; i++) {
                    Scanner in = new Scanner(new FileInputStream(args));
    int count = 0;
    while (in.hasNext()) {
    count++;
    String nextWord = in.next();
    lineOfText.add(nextWord);
    if (nextWord.equals(keyword)) {
    flag = true;
    if (flag == true) {
    System.out.print(args[i] + ": " );
    out.print(args[i] + ": " );
    for (String s : lineOfText) {
    System.out.print(s + " ");
    out.print(s + " ");
    System.out.print("\n");
    out.println(" ");
    lineOfText.clear();
    out.close();
    catch (FileNotFoundException e) {
    System.out.println("file not found!");
    catch (IOException e) {
    System.out.println(e);
    Thanks

    Well, I thought I had this program finished, then I realized I need to match the keyword anywhere in the file(including within a word) and print out each line that "contains" the keyword in each file. So, I need some way of testing to see if the keyword is a part of each word and then flag the line that contains the keyword. Is there some method to do this? Thanks
    Here's the code I have now:
    import java.util.Scanner;
    import java.io.IOException;
    import java.io.FileNotFoundException;
    import java.io.FileInputStream;
    import java.io.PrintWriter;
    public class Find {
        static String line = "";
        static boolean flag = false;
        static boolean flag2 = false;
        public static void main(String args[]) {
                    run(args);
        public static void run(String args[]) {
            try {
                PrintWriter out = new PrintWriter("output.txt");
                String keyword = args[0];
                System.out.print("Searching for the keyword: " + keyword);
                out.print("Searching for the keyword: " + keyword);
                System.out.print("  in files: ");
                out.print("  in files: ");
                for (int k = 1; k < args.length; k++)
                     System.out.print(args[k] + " ");
                     out.print(args[k] + " ");
                     System.out.println("\n");
                     out.println("");
                     out.println("");
                for (int i = 1; i < args.length; i++) {
                    Scanner in = new Scanner(new FileInputStream(args));
    while (in.hasNextLine()) {
    line = in.nextLine();
    String[] splitLine = line.split(" ");
    for (int j=0; j < splitLine.length; j++) {
    if (splitLine[j].equals(keyword) && flag2 == false) {
    flag = true;
    flag2 = true;
    System.out.print(args[i] + ": " + line + "\n");
    out.println(args[i] + ": " + line);
    flag2 = false;
    System.out.print("\n");
    out.println(" ");
    out.close();
    catch (FileNotFoundException e) {
    System.out.println("file not found!");
    catch (IOException e) {
    System.out.println(e);

  • How can I Read lines of data from a file starting at the end of the file??

    Can anyone help me with how to read lines of data starting from the end of a file instead of the beginning?? I do not want to load the entire file into memory as the files are very rather large. Instead I want to start at the end of the file and read lines backward , until I find the particular data item i am searching for, then stop.
    Can this be done in Java ? I know it can be done in Perl.
    Thanks.

    Thanks for your suggestion about the RandomAccessFile, I did actually thought about that approach , but wasn't sure it would work.
    I do not want to read the file in a sequential forward manner because the files contain large number of lines of data that have already been processed and therefore there is no need to reprocess these lines of data.
    The Unprocessed lines are always at the the end of the file and these are the data lines I am interesting in getting at without having to read the entire file. Therefore, i figure that if I can read the data from the end of the file then this would be much more efficient.

  • Recover lost footage from render files

    Can I use the render files from my project to recreate my video as the footage was lost?
    If so, how can I go about doing this?
    Rohan

    Or to start with a simpler question: In what format does FCPX store render files? I used to be able to view them in Quicktime with older versions of FCP. How can I view these files?

  • Export Issue - MXF files as souce footage

    I have been editing a TV series and have had several issues with Premiere Pro CC. The biggest of which is exporting. At the moment i cannot export from premiere or AME. It gets stuck at a certain percentage and i never had the problem before. My resolve the last time this happened was to convert to Pro Res and and reccoent each file ONE BY ONE (painful!!)
    Souce footage is MXF file types from a Sony F5.
    HELP!

    Hi b_foote1,
    Sorry your original export is malfunctioning and you had to go through this additional step. Relinking via the Link Media dialog box does allow you to ignore file extension. Are you using Premiere Pro CC? Here's what I'm seeing.
    Thanks,
    Kevin

  • How to handle multiple threads to read one line from a file each time?

    Dear Sir or Madam,
    I'm new to multiple threads java programming. What I want to do is as following:
    1. I'm writing a program to read one line of text from a very large file, and then do some process on this one line of text, then read the next line of text from this file, then process on this line of text, ...... When reach the end of the file, close the file.
    This is a single thread scenario.
    2. To fullly untilized computer resource, I want to create multiple threads to process this large file.
    One thing is very important is that each line of text in the large file has to be read sequentially. This means that the first line of text in the large file is read first, then the second line, then the third line ......
    My question is that if I create multiple threads to process the same file, how can I make sure that different threads will read the line of text from the same file sequentially?
    I don't have enough experience on java multiple threads programming, so it will be very appreaciated if you can help me on this as soon as you are available.
    Thanks and regards,
    Steven Wu

    A better solutoin would be to have a single thread that reads each line an puts it into a queue, and then multiple threads reading from the queue to process these lines.
    This will only be effective if the amount of processing to be done on each line is very large compared to how long it takes to read the line, or if you have more than one CPU on your machine.

  • Clicks and visual interference from all footage from xf 300 mxf files

    I'm having problems with clicks and visual interference from all footage from xf 300 mxf files in CC have formatted cf cards on camera as this has happened before and had camera checked with no problems has anyone else had this problem as cannot find anything anywhere. The cards are Sandisk Extreme 32GB and the manufactures say its not their card??

    Kevin, thanks for your prompt response.
    I've finally had the time to try this again and understand it.
    I wasn't using the media browser. I was using the import function from the Project panel, which is how I have always loaded clips. I had never used the media browser and assumed that one ended up using it anyway no matter which front end used for import.  i.e. I thought the media browser was simply the back end file selector dialogue.
    So I see that (only) the media browser will import spanned clips as one unified clip into the sequence, which is an improvement for sure. I do think that import of the Project panel should work the same way.
    I initially had a problem though, as my top level directory above the numbers clip dirs was not CONTENTS. It had to be renamed to avoid conflict with other CONTENTS clip set in the same project. So the media browser refused to load the spanned clips together, but would allow me to load a single clip. It wasn't until I guessed, and renamed my top dir back to CONTENTS that things worked and the the View as dropdown showed the magic Canon XF option.
    I suggest this implied requirement be made clear in the manual, noting that the top dir must be named CONTENTS for this to work. Yes, I believe that's the MXF standard, but many people will rename their parent directory so multiple cards can be copied into the same project directory, instead of having yet another single-entry directory above the CONTENTS directory, like CARD1 CARD2 etc.
    I beieve that the software is at fault and should be changed - if it can see mutliple numbered MXF dirs at the same level, it should simply deal with them. I know you can't fix that, but please warn people.
    Anyway, thanks again for your reply. It got me on the correct path to a solution.
    Brett

  • Importing .mxf Files from an external hard drive...

    Any advice or tips would be greatly appreciated. My problem comes close to others discussed, but I haven't been able to find a duplicate post. And I apologize for the length; I just want to give you as much info. as possible (I also put details in my signature) to help you help me.
    I shot a short film using Panasonic's HVX200 camera, filming in HD 720p/24p, and downloaded each P2 card through a PC laptop into a LaCie Brick external hard drive. I was originally planning on editing the footage with Adobe Premiere Pro 2.0, but became frustrated with how much trouble it was having handling the .mxf files. Assured by Apple salespeople that FCP 5 would have no problem importing the footage from an external hard drive, I purchased the computer described in my signature.
    Now I know that FCP/Apple only supports importing footage from the P2 card directly, and not from an external hard drive. A representative from ProMax.com was able to help me out, however. First, he had me copy the footage files onto my Mac internal drive from the external hard drive. Then, he had me select IMPORT -> PANASONIC P2. Then, I was to highlight the CONTENTS folder and import away. And it worked... sort of.
    There are two major problems: 1) During this transfer, not all of the footage is making it across. I import it, and then get the much-talked about "one or more P2 clips failed to import; probable incomplete or corrupt clips" warning. After checking the original video folder on the internal hard drive and comparing it to the number of clips FCP imported, I learned that I had lost around 20 clips/video files at one point. Other shooting day transfers worked completely smoothly with all of the files imported (we split up the footage by shooting day, without touching or changing the CONTENTS folders). So, some transfers work and some don't. And 2) When I try to import the files from our 4th day of shooting, I get a "Selected path does not contain a P2 volume." Nothing is imported.
    So, that's my situation, and I'm getting very desperate. I know that I'm not doing things in the Apple-supported way, but I'm really hoping there's still someway to successfully get the files from the external hard drive into FCP completely. It seems to work some of the time.
    Final notes: When importing, I make sure to import the entire CONTENTS folder. There is never a LASTCLIP.TXT file listed under it in the window, but some of the days of footage have transferred perfectly, so I'm hoping that's not a dealbreaker. If it is, isn't there some way to rebuild a lastclip.txt file? I don't even know if that's the issue. And one last note: In most of my folders, the "CLIP" folder has a number of files in it. In the 4th day's footage that I can't import at all, I noticed that the CLIP folder is empty. And on the days where FCP isn't importing all the files (like I mentioned above), there isn't a CLIP file for every single VIDEO file. Could this be the main problem? Along this line, is there a way to somehow put the footage on the external hard drive back through a p2 card and then into the Mac?
    Okay, I'll stop typing. Thank you so, so much for any help.
    Tom
    PowerMac G5 (Dual 2.3 GHz)   Mac OS X (10.4.6)   Quicktime 7.1.1 - Final Cut Pro 5.1 - Aforementioned External Hard Drive: LaCie Brick (FAT 32 based)
    PowerMac G5   Mac OS X (10.4.6)  

    The problem didn't turn out to be as complicated as I had thought. The process I described above ended up working fine, and I'll explain how. And this is a cool workaround, because the AppleCare helpers told me that they didn't think it would work (FCP P2 import is only supported straight from the P2 card/viewer or the camera).
    I hooked up my external hard drive to the Power Mac G5, and copied the files and folders onto my internal scratch disk. Then, I opened FCP and chose IMPORT -> Panasonic P2. I chose the "CONTENTS" folder for each day's filming, and imported them in, no problems. There was no visible "lastclip.txt" file shown (under the "CONTENTS" folder or anywhere else), but this didn't seem to cause any problems.
    The reason that not all of the footage was bring imported (the aforementioned "one or more P2 clips failed..." warning) was because we were missing clip files (in the CLIP folder) corresponding to certain video files (in the VIDEO folder). Luckily, we had just forgotten to transfer all of them from the original external hard drive, and once we transfered them completely, FCP could read all the video files. FCP needs a clip file for every video file in order to make it work (that's why our aforementioned "Day 4" could not be read; we hadn't copied all of the clip files over with the video files).
    Even after we did this, we STILL were getting the "one or more P2 clips..." warning for our Day 5. After taking a look at all the folders, we figured out that there were still more files in the VIDEO folder than in the CLIP folder, even after we transferred them all over. Finally, we figured out what had happened. For some reason, some of the audio files for some of the clips had been included in the VIDEO folder for our Day 5. There is no way we did this accidentally; somehow, the HVX200 placed some of the audio files into both the VIDEO and AUDIO folders. And FCP was trying to read those as video files, and therefore couldn't find the corresponding clips in the CLIP folder. After making sure that those audio files were also in the AUDIO folder, we simply deleted them from the VIDEO folder and stopped getting the "failed to import" warning.
    Final thing to share: If we had actually been unable to find the corresponding clip files in our original external hard drive, we had also found a potential solution (that we didn't end up needing to try). You can record from FCP back onto the P2 card, in the hopes that the clip files would be regenerated when you re-import it into FCP. I received a PDF file about this process, and I'm not sure how to put it up on the page here. If interested in this described process (which, again, I can't fully vouch for), feel free to email me at [email protected] and I can forward it to you.
    Hope this helps.
    PowerMac G5   Mac OS X (10.4.6)  
    PowerMac G5   Mac OS X (10.4.6)  

  • How can I input read a line from a file and output it into the screen?

    How can I input read a line from a file and output it into the screen?
    If I have a file contains html code and I only want the URL, for example, www24.brinkster.com how can I read that into the buffer and write the output into the screen that using Java?
    Any help will be appreciate!
    ======START FILE default.html ========
    <html>
    <body>
    <br><br>
    <center>
    <font size=4 face=arial color=#336699>
    <b>Welcome to a DerekTran's Website!</b><br>
    Underconstructions.... <br>
    </font> </center>
    <font size=3 face=arial color=black> <br>
    Hello,<br>
    <br>
    I've been using the PWS to run the website on NT workstation 4.0. It was working
    fine. <br>
    The URL should be as below: <br>
    http://127.0.0.1/index.htm or http://localhost/index.htm
    <p>And suddently, it stops working, it can't find the connection. I tried to figure
    out what's going on, but still <font color="#FF0000">NO CLUES</font>. Does anyone
    know what's going on? Please see the link for more.... I believe that I setup
    everything correctly and the bugs still flying in the server.... <br>
    Thank you for your help.</P>
    </font>
    <p><font size=3 face=arial color=black>PeerWebServer.doc
    <br>
    <p><font size=3 face=arial color=black>CannotFindServer.doc
    <br>
    <p><font size=3 face=arial color=black>HOSTS file is not found
    <br>
    <p><font size=3 face=arial color=black>LMHOSTS file
    <br>
    <p><font size=3 face=arial color=black>How to Setup PWS on NT
    <BR>
    <p><font size=3 face=arial color=black>Issdmin doc</BR>
    Please be patient while the document is download....</font>
    <font size=3 face=arial color=black><br>If you have any ideas please drop me a
    few words at [email protected] </font><br>
    <br>
    <br>
    </p>
    <p><!--#include file="Hits.asp"--> </p>
    </body>
    </html>
    ========= END OF FILE ===============

    Hi!
    This is a possible solution to your problem.
    import java.io.*;
    class AddressExtractor {
         public static void main(String args[]) throws IOException{
              //retrieve the commandline parameters
              String fileName = "default.html";
              if (args.length != 0)      fileName =args[0];
               else {
                   System.out.println("Usage : java AddressExtractor <htmlfile>");
                   System.exit(0);
              BufferedReader in = new BufferedReader(new FileReader(new File(fileName)));
              StreamTokenizer st = new StreamTokenizer(in);
              st.lowerCaseMode(true);
              st.wordChars('/','/'); //include '/' chars as part of token
              st.wordChars(':',':'); //include ':' chars as part of token
              st.quoteChar('\"'); //set the " quote char
              int i;
              while (st.ttype != StreamTokenizer.TT_EOF) {
                   i = st.nextToken();
                   if (st.ttype == StreamTokenizer.TT_WORD) {          
                        if (st.sval.equals("href")) {               
                             i = st.nextToken(); //the next token (assumed) is the  '=' sign
                             i = st.nextToken(); //then after it is the href value.               
                             getURL(st.sval); //retrieve address
              in.close();
         static void getURL(String s) {     
              //Check string if it has http:// and truncate if it does
              if (s.indexOf("http://") >  -1) {
                   s = s.substring(s.indexOf("http://") + 7, s.length());
              //check if not mailto: do not print otherwise
              if (s.indexOf("mailto:") != -1) return;
              //printout anything after http:// and the next '/'
              //if no '/' then print all
                   if (s.indexOf('/') > -1) {
                        System.out.println(s.substring(0, s.indexOf('/')));
                   } else System.out.println(s);
    }Hope this helps. I used static methods instead of encapsulating everyting into a class.

  • MXF-Files from Sony PMW 200 (XDCAM) convert to FCP?

    Hi there,
    I worked at the Confed Cup in Brazil this year and came back with lots of MXF Footage. The main problem was that we had to shoot in NTSC 60 Hz.
    Now I´m having difficulties to even open files with Sonys Tranfer Tool but nothing seems to work.
    After a while I figured out that I only recieved the MXF Files itself- to make it more clear:
    The Cutter importet the files into Avid Media Composer and gave me the complete folder under the AVID Project Folder. Now I have 250GB MXF Files that I can´t open.
    Any ideas how to convert these files to FCP 7?
    I´d be happy for any help in this matter.
    Thanks
    Message was edited by: Pangaea Filmproduction

    1) Get Avid Media Composer and use that.  There is a fully functional 30 day free trial.
    2) Tell them that you use FCP and cannot access the footage they gave you. Ask for the camera originals.
    3) Spend money to get the MXF Importer from Calibratedsoftware.com.  Note that the audio and video files will come in separately, and thus need to be manually sync'd on your end.  This will be a big pain.  So options 1 and 2 are your best bets.

  • Has anyone noticed 9 Horizontal black lines in Nikon V3 NEF files in the shadows?

    Has anyone noticed horizontal black lines in Nikon V3 NEF files, as shown in the image. I have opened the image in Aperture and there are no lines, also tried 2 different computers.

    The lines are there in the raw data, and not something Adobe is doing.
    Here is a screenshot of the central area in RAWDigger raw-analysis software, with things set to stretch the channels much as a high-ISO image would have:
    What I can't tell from the images is if these lines are in optical path, like streaks on the sensor, or if they are added by the process that reads the raw data--read pattern noise.  It is possible that Aperture would have access to "dust delete data" if such a capability exists for the camera and is interpolating around the artifacts or if there is some other reason Nikon software doesn't show them.  I don't know.  You may be able to find information online but rest assured it is a camera issue and not an Adobe issue unless you're asking why Adobe software isn't fixing the problems automatically like Aperture must be doing, and I would guess Adobe doesn't have any way to fix sensor anomalies that aren't more than 1 pixel in size--single hot or dead pixels.
    Unless Nikon can replace or service the camera to remove such things, I don't know what else to suggest.

  • Can't importe MXF-File from Canon XF300, 4.2.2 codec

    premiere pro 4.2.1 say the video is too big; doesn't CS4 support this codec???

    sounds suspiciously like the prores 4.2.2. from panivision genesis..maybe close to hdcam hd...
    some info on that stuff that might help determine custom settings, maybe conversion first without loss...etc..
    hdcam hd
    http://www.apple.com/finalcutstudio/resources/white_papers/Sony_XDCAMHD_whitepaper.pdf
    Ingest
    Once all footage has been shot, it must be transferred to a computer hard disk for
    editing and converted into a format editable by Final Cut Pro. Although the XDCAM
    HD camera records directly to digital files on the Professional Disc, the files are stored
    in a special file type called MXF (Material Exchange Format).
    In order to edit the files in Final Cut Pro, the data within the MXF files must be transferred
    to QuickTime files. This translation does not damage or cause quality loss to the
    video files. The MPEG HD data is simply unwrapped from the MXF file and rewrapped
    in a QuickTime file.
    One additional benefit of the XDCAM HD format is that low-resolution proxies of every
    clip are automatically created and stored on the Professional Disc media. These proxies
    allow you to quickly view the clips before importing the full-resolution data and
    choose which clips to ingest and which to leave on the Professional Disc media. You
    can even log different sections of the proxy clips (using In and Out points) to avoid
    importing unwanted parts of the full-resolution HD files you may not need for editing.
    more info
    http://bssc.sel.sony.com/BroadcastandBusiness/docs/brochures/v-2320.pdf
    ps...I imagine the camera manufacturer would have info available for editing this material , maybe free software for "capturing", conversions, etc

  • Help w/ .mxf files from the Panasonic 200

    First things first, thanks in advance for all the help.
    Second, I've been reading posts from this site as well as others, and I believe my problem to be a new one that has not been addressed.
    Here are the details. A friend of mine shot a short feature using the Panasonic AG-HVX200. He didn't do much research into the editing side of this camera and this is where the problem lies.
    He only had one card, so he would transfer the files from his card to an external hard drive. The only files he kept off the card were the .mxf files. For each clip I have 1 video track and 4 audio files.
    According to a tutorial I watched, I need the file, LASTCLIP.txt in order to import into FCP using the Panasonic P2 import function.
    I downloaded flip4mac's product as well, but did not have any luck. I wasn't sure if this was because:
    1) It was shot on a Panasonic and not a Sony
    2) I didn't have the LASTCLIP.txt file
    3) I wasn't doing something right.
    So I was wondering if anyone knew another method to turn these files into a .mov for FCP or if flip4macs would work and I was doing something wrong?
    In addition, my friend was pretty sure he shot this at 24fps, 1080, which as I am reading is apparently not supported by FCP. is there a work around for this assuming we solve the first problem?
    Basically, if anyone has any insight on how I can get these files to a workable file for FCP that would be so great. Thanks again

    So all that was copied over were the Video and Audio folders from within the CONTENTS folder? No ICON, no CLIP?
    Man...this is happening a lot lately.
    While I have found that the lastclip.txt file isn't as important as I stressed in the tutorial, getting the ENTIRE Contents folder is. Not only do you have the Video and Audio files, but the pictures that the Import function on FCP uses (in the ICON folder) as well as information relating to each clip (the XML files in the CLIP folder).
    Sorry, but flip4mac won't help here. And yes, 1080p24 is not in the Easy Setups...so is most likely not supported. What you can try is to make a sequence that matches the settings of the clip by using a trick I learned not too long ago:
    www.proapptips.com/shane NON-STANDARD CODECS IN FCP. Try that and see if things work. If not...
    Man...I just did a test. I copied ONLY the Video and Audio files to my hard drive and tried to import. "Could not find a P2 volume." I got this all the time until I had ALL the folders in the CONTENTS folder. I was, however, able to import without the LASTCLIP.txt file. But no, if one of the other folders were missing...even the empty ones, I could not import.
    So...without those folders you are out of luck...at least on FCP. An Avid HD system on a PC can read the MXF files natively, so it might not need all the other folders.
    I was a DP on a film in college where we got a brand new camera to use, a Eclaire ACL 16mm camera. This camera loaded DIFFERENTLY that the other film cameras...and I just wasn't paying too close attention. ANYWAY, long story short, I shot the ENTIRE 4 days only to find out that I shot through the base of the film...the back. I didn't expose the emultion, but the plastic backing it resided on, resulting in a deep red, out of focus image. We had to re-shoot the entire film.
    If FCP is your only editing option, you might be faced with a similar problem...the need to re-shoot. But if I were you, I'd try to track down an Avid and either use it, or have the people import the footage and lay it to DVCPRO HD tape, and use that tape as your master.
    Shane

  • How to delete string or line from unix file(dataset) of application server

    Hi  All,
    After transfer workarea information or all records into dataset(unix file). When I see the file in application server automatically the last line is shown a blank line. I am not passing any blank line.
    I have tried for single record than also the file generates the last line(2nd line) also a blank line.
    When I m reading the dataset, it is not reading the last blank line but why it is showing the last blank line?
    How to delete string or line from unix file(dataset) of application server?
    Please give your comments to resolve this.
    Thanks
    Tirumula Rao Chinni

    Hi Rio,
    I faced similar kind of issue working with files on UNIX platform.
    The line is a line feed to remove it use
    DATA : lv_carr_linefd TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf. 
      DATA : lv_carr_return TYPE char1,                                   
             lv_line_feed   TYPE char1.                                          
      lv_line_feed   = lv_carr_linefd(1).
      lv_carr_return = lv_carr_linefd+1(1).
    Note: IMP: The character in ' ' is not space but is a special
    character set by pressing ALT and +255 simultaneosly
      REPLACE ALL OCCURRENCES OF lv_line_feed IN l_string WITH ' '.
      REPLACE ALL OCCURRENCES OF lv_carr_return IN l_string WITH ' '.

Maybe you are looking for