Tfman - text file manager, much different then others

Tfman - text file manager.
Performs operations on files through textual representation of file system.
Textual representation is in the form of plain text, editable with any text
editor and may contain multiple operations of every kind. Tfman can be
used from command-line or from within Vim as multi-window file manager.
It can be combined with tools like Sed or Awk.
. written in C fo Unix-like operating systems
. no dependencies (except gcc/clang and GNU Make for building)
Features in short:
   - scan filesystem to create its textual representation
   - parse textual representation and perform retrieved operations
   - use favorite text editing tool to edit textual representation
   - scan, edit and parse in one step
   - use Tfman from command-line or from within Vim as multi-window file manager
   - integration with other decent text editors should be easy
   - available: brace expansion, globbing, entries grouping, whole directory operations and more
Project's homepage:
https://chiselapp.com/user/machel/repository/tfman/home
Installation procedure (AUR or sources tarball) - see Project's homepage
Documentation, sources, report issue - see Project's homepage
Warning:
   Tfman is in an early state, it didn't receive sufficient testing yet. Please
   be carefull when manipulating sensitive data with it.
Note:
   I do not know any file manager that manipulates file system in similar way.
   Therefore usefulness of this kind of approach is not proven.
   Help me prove it.
Screenshots:
Screenshot1
New version pushed to AUR:
- changing entry ownership and permissions now associated under one action tag
- few other action tags changed
- Quick Start Guide now available, see Project's homepage
- bug fixes
Last edited by machel (2014-07-15 11:48:48)

machel wrote:I know it looks complex, but I believe it is not as complex as it seems to be although
not as simple as I want it to be. Any ideas how to make it simpler are highly appreciated.
Well, for start: Is there really a reason to use different character for directory and its subdirectories? As far as I can tell, you could just use '%' for all directories and decide what is top-level directory and what is subdirectory based on the indentation. Also, it would be nice to reserve '#' for comments, as it is common in many languages.
machel wrote:2) Use action tags to specify operations. They apply to single entries, groups of entries or whole directories
Here the complexity begins. There is 13 operations, if I counted it correctly in the man page. To be fair, some of them are just adding '*' enforce overwrites. Fine, that leaves us with about 9 operations to learn. I could probably do that But it would be better if it was less... Would it be possible to simplify operations that don't affect file location by allowing user to simply change the value in the text representation? It would probably require some kind of header (or some clever trickery), because the order of columns is not fixed, but it might be worth the trouble. You could also extend this to changing file times and perhaps other properties (those from '-F proper'). The linking and moving operators look good, with little exception of '))' - that just looks odd to me But that is definitely my personal taste... I'd prefer something like single '>'.
machel wrote:3) Entry names and action operands - I believe using them is quite intuitive:
Name relative to directory/subdirectory above:
  'name'
If you want absolute name:
  '/name'
If you want name relative to current working directory (where Tfman was invoked):
  './name'
No problem with this, I like that.
machel wrote:
dolik.rce wrote:ability to execute commands on the files/directories
What do you mean? Shell commands?
Shell commands would be best, but generally just ability to execute command with given file/directory as input or parameter. Example usage would be something like this:
# Dir
file1 ^ sed -i -e 'some sed script here' becomes: sed -i -e 'some sed script here' < file1
file2 ^% touch % becomes: touch file2
The syntax is just an example, but in this case ^ would feed the file into the standard input of the command, and '^%' would replace '%' in commandline with the actual file name. For globing, command gets executed for each matching file.
machel wrote:
dolik.rce wrote:execute some actions conditionally
Interesting idea. I must think about it.
Tfman already have tags to stop parsing file, stop parsing line and goto next,
disable whole dir/group or single entry, exclude entry from under directory/group,
perform action on previous action's target, ignore errors.
But it works unconditionally.
I can imagine wanting to do something based on the properties of file or even based on output of external command. E.g. 'move file only if it's older then N days', or 'ask remote server if it has file X, move the file to directory upload/ when the command returns non-zero exit status'
machel wrote:--- Tfm ---
Remember about 'tfm' utility which is simple Tfman wrapper  scanning given directory,
opening it in editor defined in EDITOR shell variable (Vim is default) and parsing
result after you save and quit.
It just compress 3 steps into 1.
This is definitely handy, and probably only reasonable way to use tfman interactively. However, I'm not a vim-person - as I already said I'm lazy to remember anything, so you can imagine that learning enough vim commands to use it effectively would be a nightmare for me The same goes for tfmvi, I'm just not the target audience for that. But my EDITOR variable is usually set to nano, so I could easily use it with that, probably just with slightly more typing.

Similar Messages

  • How to read a text file and only output every other line?

    I am just writing a program that reads a file but outputs only every other line. Any ideas...please? thanks

    I'd start with something like this and expand on it as you go:
    File file = <whatever>;
    BufferedReader in = null;
    try {
        in = new BufferedReader(new FileReader(file));
        int i = -1;
        for (String line = null; (line = in.readLine()) != null; ) {
            if ((++i % 2) == 0) {
                System.out.println(line);
    } catch (IOException e) {
        e.printStackTrace();
    } finally {
        if (in != null) {
            try {
                in.close();
            } catch (IOException e) {
    }Shaun

  • File Manager Question, Airbrowser and others

    Hi There People
    I am new to the BB game and have only had my Bold for 1 month and the PB for 2 weeks. I have to say that the BB telephone support is simply fantastic, even with a newbie like me.
    I use the BBPB strictly for work, no games, no music, no nothing...except repair orders, small (very) repair manuals, and a parts/price list. Imagine my surprise when I tried to find the file system manager and was told by BB support it doesn't exist, and I would have to use a third party app...fine. Now I have a very simple excel made repair order that I loaded successfully into my BBPB via my desktop software. I have installed "airbrowser" successfully. My issue is that after I made a file named "Repair" and moved that excel file into it, I open airbrowser and can see this file, so far so good, but I cannot open it from that location (inside airbrowser) only from the factory PB file icon will it open, in the airbrowser there is not even a button "open" like in the OEM app.
    So my questions are :
    Is my airbrowser app defective?
    For my needs, = make a simple repair order file that I can search through to find a specific customer, then find the repairs in his name.
    Should airbrowser work or should I try something like "Files and Folders" that is talked about here
    Should I scrap this idea, and go to something completely different (laptop), any suggestions? I am a field service tech and my needs are very basic for what I thought the machine was capable of doing. Please I really don't want a laptop.
    Sorry if this post is too long as I am always trying not to forget some detail.  BTW I have used the search button and read 100 posts before writing this.
    Thanks in advance

    Thanks for that !
    Yup my file is a .xlsb, which from what I am thinking, might not be supported by airbrowser. So basicaly I'll need to try different excel templates that is recognized by that app.
    Yes I saw the "unsupported" button but it was browned out like dissabled so I just thought it was inopperative...of course this was the first time I used the app so I didn't know how it was supposed to look.
    jarviser thank you for your input, if I have more questions I will revive this thred.
    Regards

  • File location is different for other webpages

    I was wondering if this is bad? I have my template set for my other pages as like ../file name, but when I do my other pages its //C /user / documents/ website. Does this automattically self correct when I up load to a server or what?

    This is how all links will look in an unsaved page. DW has no idea what the path is to any linked file until you have saved the page, so it uses an absolute 'file' link to compensate. When the page is saved, the link is automatically adjusted in light of the location of the saved page and the location of the target file.
    If you have saved pages that contain links looking like that, then your links will NOT work when you upload the files. Almost always, this problem is the result of not working within a site that has been properly defined in Dreamweaver. Can we see the path that you have placed in the Local Root folder part of your site definition (edit it with DW's SITE > Manage Sites menu option).

  • Is SAP capable of sending a TEXT file in different modes like DOS ?

    Is SAP capable of sending a TEXT file (.txt)  in different modes like DOS ?

    Yes SAP is capable to send .txt file in different mode.
    For this you have to maintain the setting of Code page and encoding. There so may types of encoding (UTF-8, UTF-8 without BOM, UTF-16 etc) supported by SAP. You can check them from SAP logon pad.
    If you are creating the file on application server then you can also mentioned encoding statement in OPEN DATASET statements.
    For more details check open dataset statement.

  • Is xml is  more Memory and CPU stealer then text files

    Is XML steal CPU and Memory usege more then reguler text files ?
    if yes then how mutch?
    Thanks itzik.

    XML is not a better way to parse data than text or fixed length. It is a STANDARD way for everyone to parse/send data.
    With a fixed length/text file, you had to know the exact position of every field. With XML, the fields describe themselves. Obviously, since the fields are no longer implied, the tags that label each element will increase the size of the file.
    The tradeoff is that DOM/SAX parsers offer an industry wide standard for parsing this type of data. With a DTD (or Schema), you can also include the required format of the doc to enforce the structure where with a text file you usually had to distribute a document with mappings.

  • Is it possible to read/write to text file without deleting it?

    I know how to read from a text file and how to write to a text file. The problem that i have is i need to use a text file to store data for my application to read and also for my application to write. I would like it if i could write two programs really, one reads, the other is used to update the text file. This file is a list of verbs. I thought about using databases but i couldn't get them to work. I downloaded MySQL server 5.0 and installed it. I then downloaded the driver from http://www.mysql.com/products/driver and ran the auto installer. it said everything worked out perfectly but when i try these lines:
    Class.forName("com.mysql.jdbc.Driver");
    I get a SQLException that says no suitible driver
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    ( I thought this driver came with the JDK but i guess not, i just read about it in a java book)
    I get a ClassNotFoundException
    that just says sun.jdbc.odbc.JdbcOdbcDriver
    So yeah, SQL is pretty much not working. I need a solution to my problem, either by using text files, or a different type of database. I heard you could use excel to create a database but i have no idea how and i hear microsoft access could also do this, however i don't have microsoft access and i don't intend on paying for it. So, here are my questions:
    1st, is there a tutorial on using excel databases in java programs
    (if not)
    2nd is there a way to read/write/update a text file without deleting it?
    (if not)
    3rd is there a way to get SQL working, i have windows vista this could be the problem
    (if not)
    4th what could i do to store information on the hd for reading and modifying later?
    thanks, lateralus

    A database might be overkill just for a list of words.
    Thoughts:
    <ul>
    <li>What is the extent of your "file updating"? If you are just appending to the file, opening it in append mode will keep the file from being clobbered.</li>
    <li>Otherwise, why not create new files instead of editting them? The file names could include a version number or timestamp, allowing the reader to select the newest one.
    </li>
    </ul>

  • Using bash as your file manager?

    Hello,
    My belief is that all file managers suck. There are no exceptions to this. So, for the past few months, I've been sourcing a file with a bunch of tricks I've invented / found through browsing the web to make using just bash as a file manager much more convenient.
    Here's what I currently use:
    # fm v1.9.1 by Kiah Morante
    # A very simple file manager.
    # Depends on pycp/pymv, http://github.com/yannicklm/pycp and feh
    # 'source' this file in a BASH shell
    showHidden=0 # Hidden files not shown
    showDetails=0 # ls is replaced with ls -lh if showDetails is 1
    shopt -s autocd # cd to a dir just by typing its name
    PROMPT_COMMAND='[[ ${__new_wd:=$PWD} != $PWD ]] && list; __new_wd=$PWD' # ls after cding
    # Shortcuts
    source ~/.config/fm/shortcuts # Call all custom shortcuts
    alias ..='cd ..'
    alias ...='cd ../..'
    alias ....='cd ../../..'
    alias h='cd ~'
    alias n='cd "$n"'
    # Keybindings
    bind '"\C-l":"list\C-m"'
    bind '"\C-h":"hide\C-m"'
    bind '"\C-o":"details\C-m"'
    bind '"\C-f":"makedir\C-m"'
    bind '"\C-n":"n\C-m"'
    bind '"\C-y":"cpwd\C-m"'
    bind '"\C-p":"cd "$OLDPWD"\C-m"' # Hint: You could also type '~-'
    # FM prompt appearance
    if [[ $(whoami) == 'root' ]]; then
    # So that the user knows if they have root privileges:
    PS1="\[\e[0;32\]mf\[m\e[m\] \[\e[0;31m\]root\[\e[m\] \[\e[0;34m\]\w \[\e[m\]\[\e[0;31m\]> \[\e[m\]"
    else
    PS1="\[\e[0;32\]mf\[m\e[m\] \[\e[0;34m\]\w \[\e[m\]\[\e[0;31m\]> \[\e[m\]"
    fi
    # Functions
    # Usage
    fmhelp () {
    echo "hide - toggle hidden (hidden by default)
    ls - lists contents of dir(s) passed in args.
    lsd - list directories
    cd - changed to directory \$1
    cp \$@ \$2 - copies file from \$1 to \$2
    mv \$@ \$2 - moves file from \$1 to \$2
    rm \$@ - deletes \$@
    sc \$1 \$2 - make a shortcut called \$1 pointing to \$2. If no \$2 is passed, it is evaluated as \$PWD
    cpwd - copy current working directory
    .., ..., .... - cd .. etc.
    o \$1 - opens \$1 with xdg-open
    hm - how many files are in the current directory
    details - show file details (ls -lh)
    fmhelp - this help menu
    n - Intelligent guess of the next dir you wish to cd to. Last $1 in open, list, or makedir; last argument in copy or move; pwd before a cd
    ~- - BASH shortcut for \$OLDPWD
    img - feh frontend with the following usage:
    img -t \$2 - views the dirs/images specified in \$2..\$n as clickable thumbnails
    img -s \$2 \$3 - views the images specified in \$3..\$n as a slideshow with a slide change speed of \$2 seconds
    img \$@ - views the dirs/images specified
    Shortkeys:
    Ctrl-f - mkdir
    Ctrl-h - hide
    Ctrl-l - ls
    Ctrl-n - cd \$n
    Ctrl-o - details
    Ctrl-p - cd \$OLDPWD
    Ctrl-y - cpwd
    Ctrl-u - clear line # urxvt default"
    # Toggle display hidden files
    # If $showHidden is 1, hidden files are shown
    hide () {
    showHidden=$(( 1 - $showHidden ))
    list
    # Toggle display file details
    # If $showDetails is 1, file details are shown
    details () {
    showDetails=$(( 1 - $showDetails ))
    list
    # ls
    listToggle () {
    if [[ $showHidden == 1 && $showDetails == 1 ]]; then
    ls -C --color -A -lh "$dir"
    elif [[ $showHidden == 1 && $showDetails == 0 ]]; then
    ls -C --color -A "$dir"
    elif [[ $showHidden == 0 && $showDetails == 1 ]]; then
    ls -C --color -lh "$dir"
    else
    ls -C --color "$dir"
    fi
    list () {
    clear # Unclutter the screen
    # List pwd if no $1
    if [[ $@ == "" ]]; then
    set '.'
    fi
    # List multiple folders:
    for dir in "$@"
    do
    listToggle
    done
    n="$1" # See 'n' in fmhelp
    # use feh to view thumbnails/images/slideshow
    img () {
    case "$1" in
    -t) nohup feh --thumbnails "${@:2}" --thumb-height 120 --thumb-width 120 -S filename -d --cache-thumbnails -B black > /dev/null 2>&1 & ;;
    -s) nohup feh "${@:3}" -S filename -d -B black --slideshow-delay "$2" > /dev/null 2>&1 & ;;
    *) nohup feh "$@" -S filename -d -B black > /dev/null 2>&1 & ;;
    esac
    list
    # cp
    copy () {
    if [[ $showHidden == 1 ]]; then
    pycp --interactive --all "$@"
    else
    pycp --interactive "$@"
    fi
    list
    n="${@:(-1)}" # n is the last argument (where stuff is moved to)
    # mv
    move () {
    if [[ $showHidden == 1 ]]; then
    pymv --interactive --all "$@"
    else
    pymv --interactive "$@"
    fi
    list
    n="${@:(-1)}"
    makedir () {
    if [[ $1 == "" ]]; then
    read -e n
    set "$n"
    fi
    if mkdir -- "$1"; then
    list # Update pwd to show new dir(s) that have been made.
    n="$1"
    fi
    # rm
    remove () {
    rm -rfI "$@"
    list
    # open files
    o () {
    # To use xdg-open
    #nohup xdg-open "$1" > /dev/null 2>&1 &
    if [ -f "$1" ] ; then
    case "$1" in
    *.tar.bz2) tar xjf "$1" ;;
    *.tar.gz) tar xzf "$1" ;;
    *.bz2) bunzip2 "$1" ;;
    *.rar) rar x "$1" ;;
    *.gz) gunzip "$1" ;;
    *.tar) tar xf "$1" ;;
    *.tbz2) tar xjf "$1" ;;
    *.tgz) tar xzf "$1" ;;
    *.zip) unzip "$1" ;;
    *.Z) uncompress "$1" ;;
    *.7z) 7z x "$1" ;;
    *.pdf) nohup zathura "$1" > /dev/null 2>&1 & ;;
    *.html) nohup luakit "$1" > /dev/null 2>&1 & ;;
    *.blend) nohup blender "$1" > /dev/null 2>&1 & ;;
    *.avi) nohup mplayer "$1" ;;
    *.wmv) nohup mplayer "$1" ;;
    *.rmvb) nohup mplayer "$1" ;;
    *.mp3) nohup urxvtc -si -sw -sh 30 -e mplayer "$1" > /dev/null 2>&1 & ;;
    *.flv) nohup mplayer "$1" ;;
    *.mp4) nohup mplayer "$1" ;;
    *.ogg) nohup urxvt -si -sw -sh 30 -e mplayer "$1" > /dev/null 2>&1 & ;;
    *.wav) nohup audacity "$1" > /dev/null 2>&1 & ;;
    *.jpg) img "$1" ;;
    *.jpeg) img "$1" ;;
    *.JPG) img "$1" ;;
    *.png) img "$1" ;;
    *.gif) nohup gpicview "$1" > /dev/null 2>&1 & ;;
    *) nohup urxvt -si -sw -sh 30 -e vim "$1" > /dev/null 2>&1 & ;;
    esac
    else
    echo "'$1' is not a valid file"
    fi
    n="$1"
    # Add shortcuts
    makeShortcut () {
    if [[ $2 == "" ]]; then
    set $1 .
    fi
    echo ""$1"=\""$2"\"
    alias "$1"='cd \""$2"\"'
    " >> ~/.config/fm/shortcuts
    source ~/.config/fm/shortcuts
    # Copy pwd to clipboard
    cpwd () {
    echo \"$(pwd)\" | xclip
    # List directories
    lsd () {
    ls -F "$@" | grep \/$
    # Command aliases
    alias mv="move"
    alias sc="makeShortcut"
    alias cp="copy"
    alias ls="list"
    alias rm="remove"
    alias mkdir="makedir"
    alias hm="ls -l . | egrep -c '^-'"
    list # ls when fm starts
    Could all of you fellow file manager-haters post your little tricks, whether just a few lines added to ~/.bashrc or fully fledged files that you source like mine?
    Last edited by greenmanwitch (2011-02-07 19:58:40)

    3]) wrote: once you have video files cluttered all throughout your hard drive and folders all over, thats where the 'bash' filemanager system lacks its use in terms of effectiveness.
    Actually, I found this to be one of the best advantages of using bash is that it forces a user to think about file organization and making useful naming schemes for files.
    For example, instead of having 1000+ media files in one directory I subcategorize theme by genre or whatever, and then probably subcategorize them again.
    Then I usually rename the files to something meaningful, like if I have 50 pictures of my kids birthday, just do a for each loop on the directory and rename all the files donovan_birthdayX.jpg where X is an integer incrementation.
    essentially. just don't "have files cluttered all throughout you hard drive and folders all over". and your life will be much happier regardless of how you manage your files.

  • How do I add multiple text block records from text file?

    The data manager documentation (page 151) for MDM 5.5 SP3 indicates that one or more new text blocks can be added to the Text Blocks object table from files. It is noted that the files must be plain text files.
    I use notepad and create a text file with two lines as follows:
    Test 1
    Test 2
    When I try to add the text blocks following documentation mentioned above, it only adds one record for the Data Group I have chosen and the record contains the entry "Test 1" from the first line in the text file.
    How can I add multiple records to the data group from a file?

    From my testing it appears that you need to have one text file per text block record in Data Manager.
    I wrote VBA macro to so that I could input my text blocks into an Excel spreadsheet and then the macro will take the contents of each cell in a highlighted column and create one text file per cell.
    Then using Data manager, I can select all of the text files at once and it will import them, creating one record per text file.

  • Deleting a column in a text file using LabVIEW

    Hello all,
    I'm trying to delete the first column of my tab delimited text file using LabVIEW and then save it under the same file name.  Can someone show me a quick way to perform this operation.  Is this even possible with LabVIEW?  Any help would be much appreciated.
    My purpose is to automate this operation for hundreds of daily text files containing data that needs processing.  I'm currently using LabVIEW 8.2.
    Thanks!
    -noviceLabVIEWuser

    If the file is relatively small:
    Read the file using the Read from Spreadsheet File VI to get 2D array.
    Remove the column from the 2D array.
    Write out new 2D array to new file using Write to Spreadsheet File VI.
    If the file is relatively large then you will likely run into memory issues. In this case you will need to read the file in chunks. You can decide how many lines to read at a time. Use a for-loop that's set to run for the number of chunks to read (based on the total number of lines and the number of lines you want to read at a time). Hint: Quotient & Remainder function. In the loop use the Read Text File VI to read your set number of lines. Convert the lines to a 2D array delete your column, and write out that chunk of data to the new file. Rinse and repeat.

  • Adding large arrays to a text file as new columns

    I am trying to merge several large text data files into a single file in Labview 8.0.  The files are too large to read in all at once (9-15 million lines each), so decided I need to read them in as smaller chunks, combine the arrays, and write them to a new file.
    The reason there are three separate data files was for speed and streaming purposes in the project, and the users wanted the raw, unadulterated data written to file before any kind of manipulation took place. 
    My VI:
    1.  Takes a header generated from another VI and writes it to the output file.
    2.  Creates a time column based on sample rate and the total number of data points
    3.  Reads in 3 files that each have text data (each data point is 9 bytes wide, there are up to 15 million data points per file.
    4.  Each iteration of the for loop writes a chunk of 10 to 100 thousand points (Somewhere in there seems to be the fastest it will do), formatted with the time column on the left, then the three data columns, until it's done.  I haven't quite figured out how to write the last iteration if there are fewer data points than the chunk size.
    Anyways, the main thing I was looking for was suggestions on how to do this faster.  It takes about a minute per million points on my laptop to do this operation, and though I recognize it is a lot of data to be moving around, this speed is painfully slow.  Any ideas?
    Attachments:
    Merge Fast Data.vi ‏67 KB

    Thanks for the tip.  I put the constants outside the array and noticed a little improvement in the speed.  I know I could improve the speed by using the binary file VI's but I need the files as tab delimited text files to import them into MATLAB for another group to do analysis.  I have not had any luck converting binary files into text files.  Is there an easy way to do that?  I don't know enough about binary file systems to use them.  I looked at the high speed data logger examples but they seemed complicated and hard to adapt to what I need to do.  Creating the binary header file seemed like a chore. 
    I am up for more advice on the VI I posted, or suggestions on different ways to convert a binary file to a MATLAB readable text file.
    Thanks!

  • Use splitter to create multiple text file

    Hello I have one view as source and would like to create multiple target text files based on different condition. What I am doing is that I am using SPLITTER which contain one INGRP1 and three OUTGRP( nameley TR1, TR2 and TR3) and one default REMAINING_ROWS ( what is the purpose of the REMAINING_ROWS?). So I mapped view to INGRP1 of the splitter and then added the different SPLITT condition in the condition wizard, for example :
    for TR1
    COMMISSION_TYPE='P' and
    rownum <= 65000
    for TR2
    COMMISSION_TYPE='P' and
    rownum > 65000
    and for TR3
    COMMISSION_TYPE='A'
    After this since I have to create 3 comma delimted text files, I have used 3 expression for each individual splitt condition. In the expression what I am doing is that I am just concating all the fileds and then output of each expression goes to three different text files.
    When I am deploying the mapping, it is coming up several errors such as :
    1): PLS-00201: identifier 'COMMISSION_TYPE' must be declared
    (2): PL/SQL: Statement ignored
    (3): PLS-00201: identifier 'COMMISSION_TYPE' must be declared
    (4): PL/SQL: Statement ignored
    (5): PLS-00201: identifier 'COMMISSION_TYPE' must be declared
    (6): PL/SQL: Statement ignored
    (7): PLS-00201: identifier 'START_INDEX' must be declared
    (8): PL/SQL: Statement ignored
    (9): PLS-00201: identifier 'T_EXPR_ASSET_1_OUTPUT_ASSET$0' must be declared
    (10): PL/SQL: Item ignored
    (11): PLS-00201: identifier 'T_ROWKEY_SPLIT_2' must be declared
    (12): PL/SQL: Item ignored
    (13): PLS-00201: identifier 'T_CPPASSET_0_OUTPUT_ASSET$0' must be declared
    (14): PL/SQL: Item ignored
    (15): PLS-00801: internal error [21076]
    (16): PL/SQL: Item ignored
    (17): PLS-00801: internal error [21076]
    (18): PL/SQL: Item ignored
    (19): PLS-00801: internal error [21076]
    (20): PL/SQL: Item ignored
    Why I am getting these errors, why OWB generated code could not identify COMMISSION_TYPE filed?
    Please help me.
    Suhail

    I am really very very sorry, its my fault. I was not mapping COMMISSION_TYPE from view to splitter.

  • Compare data from 2 text files and output match

    Hi all,
    I need some advice.
    Firstly in BinaryCode.txt the data is as such:
    Replace BinaryCode0 1 0 0 0 0 0 0 0 0
    Replace BinaryCode0 1 0 0 0 0 0 0 0 1
    Replace BinaryCode1 1 1 1 0 1 1 1 1 1
    Replace BinaryCode1 1 0 0 0 0 0 0 0 0
    the first line in the text file is the header. So I need to check if the names in the second column (BinaryCode0 or BinaryCode1)appear in the Timed_Sets.txt file.
    The data in Timed_Sets.txt is as such:
    BinaryCode0,6,40,.........................
    BinaryCode0,7,40,.........................
    BCName1,0,20,.............................
    BCName1,1,20,............................. 
    For example since  BinaryCode0 is a match I will output the entire row in Timed_Set.txt to another array. 
    I have been working on a program but I don't get the expected output. 
    The text files and the VI are attached.
    I appreciate your kind assistance in the matter.
    Thank You
    Regards
    kart 
    Solved!
    Go to Solution.
    Attachments:
    BinaryCode.txt ‏1 KB
    compare text files.vi ‏15 KB
    Timed_Sets.txt ‏2 KB

    If I understood correctly what the output should be then what you basically need to do is to walk through the column in BinaryCode.txt and for each unique value pull out the corresponding rows from Timed_Sets.txt. There's a variety of ways to do this, depending on how much data you have and whether or not you can use any kind of prior knowledge as to the actual file content (such as the names of the keys being searched). Attached is one way. Modify as needed.
    Attachments:
    compare text files MOD.vi ‏27 KB

  • Intermittently Text file cannot be opened directly from Finder

    One day I would like to duplicate a text file by right click such file to select "Duplicate". However I accidentally pressed "Return" before right click selecting "Duplicate". It means that after pressing "Return", I entered the mode to rename this text file name, but then I continuously to right click selecting "Duplicate".
    After that, I saw a duplicated text file with the same name plus "copy" after this name. The file was dim in color. I tried to delete it but Finder disallow me to delete it. Finder told me that it was occupied by other and ask me whether I would like to "Force Delete". Then I clicked yes. Deletion operation was successful.
    After that, when I opened the same original text file by directly double click the text file. The operation was failed and Finder output two error window prompt with below two error messages:
    "The application can't be found"
    "The operation can't be completed
    An unexpected error occurred (error code -43)"
    After that, I tried to check the information by clicking "Ctrl-I" on this file. By default, I use TextEdit to open text file. I tried to select TextEdit as the default application for all text file in the information window. However, Finder still output above two windows prompt of error messages.
    If I tried to open TextEdit or any other editor application first and then open such text file directly from its menu, the text file can then be opened.
    Even for files within the same directory, I also cannot directly double click them from Finder to open it. Until I close the Finder window and reopen a new Finder window of such directory, then I can double click to open text file, where it would be opened by my default text editor "TextEdit".
    After that, from time to time, such two error message windows will prompt out disallowing me to directly double click opening the text file. For example, originally a text file can be opened properly. After working on the file some time later and try to open the other text file in the same directory, such two message windows will prompt out. Or when I work such text file and the swap to other application, and then go back to Finder to double click such opened text file, such two error message windows will also prompt out. The only way to temporary fix it is to close the Finder window first and reopen it again.
    In addition, after such accident, I also discovered that Finder cannot instantly update directory content anymore. For example, I setup FTP server and someone can upload files to my Public directory, and where my Public directory has been opened before anyone ftp files to me, the Public directory cannot update itself after someone uploaded files to me through ftp.
    Or sometime I execute copy operation within VMware image to copy a file to shared directory, I also cannot see the directory in Finder update the content. I have to click to other directory and then go back to such shared directory so as to refresh the directory content list. Even I click "Ctrl-R", it cannot refresh the directory.
    In the past before such accident, Finder works fine to update directory content promptly after any upload or copy operation.
    In addition to bug fix patch, is there any workaround solution I can try to recover my Finder?

    HI,
    This is a shot in the dark but it can't hurt.
    Locate these files.
    com.apple.finder.plist
    com.apple.textedit.plist
    ~/Library/Preferences
    Move those files the Trash and restart your Mac.
    If that doesn't do the job, boot from your install disk and check the startup disk for errors.
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    *(Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)*
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your start up disk and click Restart
    If the hard disk appears to be ok and you still can't launch Text Edit, back up all important data and perform an Archive & Install.
    http://theappleblog.com/2009/08/27/snow-leopard-the-installation-process/
    Carolyn

  • Saving query results to text file

    Hi experts,
    I would like to save a query results to text file.
    The query has desined to the correct structure and I wish the query results will be saved automaticly to text file every time the query is running.
    The query should cintain some sql code that will save the query to text file instead of show the query results.
    What function of SQL should I add to query to achieve that goal. (The query is a long one).
    Thanks in advance,
    Joseph

    If you are talking about Query Manager, it is not difficult to do.  No matter how long your query coding is, just go to the start point of your query.  Then press CtrlShiftEnd to select all the TEXTs.  CtrlC and CtrlV will copy the text (query codes) to text file easily.
    Thanks,
    Gordon

Maybe you are looking for

  • Permission to upload to KM folder, but edit and delete only usrs own file

    Hi guys! I need to allow users to upload document to some KM folder, but they must be able only to edit and delete their own file. How to achieve this? If someone has write permission to KM folder, he can edit also other documents. I need to disallow

  • Java.util.EmptyStackException Mapping error

    Hi All, I am integrating SAP ECC 6.0 system with SAP SNC. For these i am using  standard content of SAP SNC I am getting following mapping error : TransformerConfigurationException occurred when loading XSLT InvoiceRequest_InvoicInvoic01_01.xsl; deta

  • 997 adapter type not present in Seeburger for PI 7.1

    Hello Experts, We recently installed Seeburger on our PI 7.1 system. We deployed all the relevant modules successfully and also imported the meta-data to ESR after whcih we were able to see the FTP adapter from Seeburger. But we were not able to see

  • Parameter form not coming up when calling report6i from forms 6i thru run_product

    we are using 3 tier architecture. and using the thin clients on windows platform (netscape navigater 4.7 as browser) Middle Tier (IAS ) is on compaq Proliant Windows NT server and database is on compaq ALPHA DS20E machine on true 64 UNIX. WE are usin

  • Exit for Moving sales order data to Purchase order

    Hi All, I have a requirement where sales order data needs to transferred to Purchase Order. We have few custom fields in EKKO table YY SHIP_DATE, YYMOL etc....When a sales order 3rd party is created a PR is automatically created.Based on this PR(Purc