Can we able to take the out put have the file into another file in unix

Hi all ,
My question is .. we are having one shall fill , we need to take the output of that file to another file ,
but the output is not printing into another file..
what am guessing is we have only read and execute permission on that file.. we don't have write permission on that file and the folder where the file is exists .
my Question is , Do we need all permission on File to copy the output to another file... ?
because we are redirecting the output to another folder where we can create the another file and read and write permissions .
-rwxrwxr-x 1 th th 499 Jun 20 01:06 Coverage
like this we are having the permission on that file
for the folder we are having the permission
drwxrwxr-x 6 kpsmith kpsmith 12288 Aug 9 21:59 1.3
can any one help me out from this problem
Thanks
Sreedhar

Assuming 'shall fil' is shell script , other than dumping even more garbage in this forum, what does this question have to do with Oracle?
Or can't you type anything in the address bar of your browser and is this URL the only one you can visit?
Sybrand Bakker
Senior Oracle DBA

Similar Messages

  • Is it possible to export the out put of Crystal report into text file?

    Hi All,
    Is it possible to export the out put of Crystal report into text file?

    Hi
    Yes, Go to File --> Export --> Export Report --> Under Format select TEXT & select the destination as "Disk file"(defaultly selected)
    Give the proper details as per your requirement for "Characters per inch" & "Number of lines per page" & click on 'OK"
    In "Choose Export file" window, select the destination folder & provide file name. click on "SAVE"
    Regards
    Ashwini

  • Importing the out-put to the exel

    Hi all,
    iam very new to the unix and sql,
    just i want to know how to export the out-put of the query into exel using unix(spool)

    A lot of people rob banks too.
    You can spool an output to a file delimiting columns with commas if you wish. But that is outputting a file not outputting to Excel.
    Personally I'd fire anyone in a data center I caught outputting Oracle into a non-secure unauditable form and putting the organization at risk.

  • How to display the out put of the sql query in a text file using forms

    I want to display the out put of the sql query in a text file using forms 6.0.Same could be done using spool command in sqlplus but i want it using forms....Fiaz

    Have a look at the text_io package:
    http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=f1_help/oraini/c_text_io.html&vtTopicId=
    cheers

  • How to save the contents of one file into another file?

    Hai,
    i'm trying to save the contents of an existing file into a new file...
    for example.. if i'm having a ms word file namely ss.doc..
    now i want to save itz contents into another file namele dd.doc..
    How shall i do it..
    Can an one plzz explain me...
    senthil.

    Hi, Senthil.
    This Forum is not a general discussion forum.
    You don't believe that the InDesign SDK is a general purpose API. Do you?
    I think you must post issues like this where they belong, in this case in a Microsoft Word Forum.
    Best regards.
    Oscar.

  • To get the the out put of the procedure..help needed

    hi all,
    i have a procedure :
    CREATE OR REPLACE PROCEDURE EN_GetCategory
         StaffID IN      VARCHAR2 DEFAULT NULL,
         ResultCategory OUT      VARCHAR2
    AS
    v_exec_tx varchar2(2000);
         Condition VARCHAR2(1000);
         Category VARCHAR2(1);
         SQL_ADV VARCHAR2(2000);
         Cnt          NUMBER(10);
         Cnt1          NUMBER(10);
    CURSOR curCategory IS
    SELECT SMC.Category,SMC.Condition FROM ST_MS_Category SMC ORDER BY OrderRowNo;
         BEGIN
              EXECUTE IMMEDIATE 'TRUNCATE TABLE TMP';
              OPEN curCategory;
              FETCH curCategory INTO Category, Condition;
              while curCategory%FOUND
              LOOP
              BEGIN
                   v_exec_tx:='SELECT COUNT(*) FROM ST_EMPLOYEE WHERE StaffID=''' || EN_GETCATEGORY.STAFFID ||''' AND ' || EN_GETCATEGORY.CONDITION;
                   EXECUTE IMMEDIATE v_exec_tx into Cnt;
    IF Cnt > 0 THEN                              SELECT COUNT(*) INTO CNT1 FROM tmp ;
              IF CNT1> 0     THEN
                                       UPDATE tmp SET CAT = Category ;
              ELSE
                                       INSERT INTO tmp VALUES (Category );
              END IF;
              END IF;
              FETCH curCategory INTO Category, Condition;
                   END;
              END LOOP;
              CLOSE curCategory;
              BEGIN
                   FOR REC IN ( SELECT CAT FROM tmp
                   LOOP
                   EN_GetCategory.ResultCategory := REC.CAT;
                   END LOOP;
              END;
         END;
    i need to execute this procedure..
    i tried EXEC EN_GETCATEGORY('812005','');
    but getting error invalid sql statemnt..
    i think for this we have to write some more code can u please help to to find the output ofthis procedure..
    Thanks In advance

    Hi,
    i tried EXEC EN_GETCATEGORY('812005','');It's execute Procedure_name('Parameters');
    Regds.What tosh! "exec" is perfectly ok to use to call a procedure.
    The problem is with the OUT parameter. You need to declare a variable into which the OUT value can be put.

  • Can I combine the out put of TWO FIELDs into One fields  in BW query

    Hi,
    For example, I have two fields ‘FIRST name’ and ‘last Name’ in the info provider and in theBW query these two are displayed in two separate field with independent drill down capability, Can I combine those and show as a single field with a single drill down capability.
    Thanks

    Hi Arunava,
    Combination of two fields can be done at Excel level where we will not get the drill down. We can rather use use an object which is compunded for the two names and then add them in the cube. we can achieve the functionality of drill down on the report level.
    Hope this will help you in resolve the issue.
    Regards,
    Phani.

  • Getting duplication of records in the out put of the report on multipro..

    hai ,
          We are trying to execute a report on a multiprovder.While executing the report  we are getting duplication of records while in case if we are removing the created 'new selection' or 'new fromula' in the query designer we are not getting the duplicate records.
    Now as per our requirement we do not need duplicate records.
    Plz could any one help me out with this problem

    Hi Jvr,
    $server | ($_ -split '=')[1] -replace '}' is working.. :)
    The email doesn't have @{ = }, its only displayed in the output.
    Any help on the REGEX part?

  • Run Clear Case command from java and save the out put in to a file.

    Can any one help me out ...
    I want to execute Clear case command from a java and want to save the out put of this command to a file.
    I am naot able to find out how to start..
    Message was edited by:
    chandra_verma

    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • I bought an iphone 4s factory unlocked. Can i set it up with my sim card in canada then take it out and bring the phone to iran without any problems?

    I I bought an iphone 4s factory unlocked. Can i set it up with my sim card in canada then take it out and bring the phone to iran without any problems?

    A legitimately unlocked iPhone should work with any compatible 3G GSM carrier. The iPhone, however, is considered 'restricted technology, and cannot be legally taken to Iran.

  • Printing all error messages in the out put report

    Hi all,
    I have MATNR and WERKS data in final internal table now my requirement is ineed to print all the error messages for all the materials (where sy-subrc ne 0) in the out put report. how can i do it for multiple error records will anybody tell me with coding
    The Requirement is like bellow:
    Take material number(s) (MARC-MATNR) from selection screen then check to see if any plants have that material setup as QM active (MARC-QMATV).  If no, then issue message on report.
    Thanks,

    Hi Mythili,
    Hope the attached code helps you...
    TABLES marc.
    TYPE-POOLS: slis.
    TYPES : BEGIN OF g_ty_msg,
            type LIKE sy-msgty,
            msg(120),
           END OF g_ty_msg.
    TYPES: BEGIN OF g_ty_marc,
            matnr TYPE matnr,
            werks TYPE werks_d,
            qmatv TYPE qmatv,
          END OF g_ty_marc.
    DATA: g_t_msg TYPE TABLE OF g_ty_msg,
          g_r_msg TYPE g_ty_msg.
    DATA: g_t_marc TYPE TABLE OF g_ty_marc.
    FIELD-SYMBOLS <fs_marc> TYPE g_ty_marc.
    SELECT-OPTIONS: s_matnr FOR marc-matnr,
                    s_werks FOR marc-werks.
    START-OF-SELECTION.
      SELECT matnr werks qmatv FROM marc
        INTO TABLE g_t_marc
        WHERE matnr IN s_matnr AND
              werks IN s_werks.
      IF g_t_marc IS NOT INITIAL.
        LOOP AT g_t_marc ASSIGNING <fs_marc>.
          IF <fs_marc>-qmatv IS INITIAL.
            g_r_msg-type = 'E'.
            CONCATENATE <fs_marc>-matnr <fs_marc>-werks
              INTO g_r_msg-msg SEPARATED BY space.
            APPEND g_r_msg TO g_t_msg.
            CLEAR g_r_msg.
          ENDIF.
        ENDLOOP.
      ENDIF.
    END-OF-SELECTION.
      PERFORM display_log.
    *&      Form  display_log
          To display error log as an ALV Popup
    FORM display_log .
      CONSTANTS: l_c_type(4)    TYPE c VALUE 'TYPE',
                 l_c_msg(3)     TYPE c VALUE 'MSG'.
      DATA :  l_t_fieldcat TYPE TABLE OF slis_fieldcat_alv,
              l_r_fieldcat TYPE slis_fieldcat_alv.
      DATA :  l_f_line TYPE i.
      CLEAR l_r_fieldcat.
      l_f_line = l_f_line + 1.
      l_r_fieldcat-col_pos    = l_f_line.
      l_r_fieldcat-fieldname  = l_c_type.
      l_r_fieldcat-seltext_m  = 'Type'.
      APPEND l_r_fieldcat TO l_t_fieldcat.
      CLEAR l_r_fieldcat.
      l_f_line = l_f_line + 1.
      l_r_fieldcat-col_pos = l_f_line.
      l_r_fieldcat-fieldname = l_c_msg.
      l_r_fieldcat-seltext_m = 'Message'.
      l_r_fieldcat-outputlen = 120.
      APPEND l_r_fieldcat TO l_t_fieldcat.
    To display the message log as a Popup in the form of ALV List
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
        EXPORTING
          i_title       = 'Message Log'
          i_tabname     = 'G_TY_MSG'
          it_fieldcat   = l_t_fieldcat[]
        TABLES
          t_outtab      = g_t_msg
        EXCEPTIONS
          program_error = 1
          OTHERS        = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " display_log
    Best Regards,
    Suresh

  • How should we get the out put file-name same as in put file-name in file to

    Hi frnds,
    having hundreds of files in the sender system with different names, how should we get the out put file-name  in the receiver system same as the in put file-name in file to file scenario ?
    Thanks in advance.
    truly,
    snrvakiti.

    Hi,
    In Receiver File Adapter you can set under 'Adapter-Specific Message Properties'
    check Use Adapter-Specific Message Properties
    check Fail on Missing Adapter Message Properties
    Check File Name
    Have a look at this link,  [File_to_File|http://allsapnetweavernotes.blogspot.com/2008/09/how-can-i-access-filename-from-fileftp.html]
    Regards,
    P.Rajesh

  • I have a macbook pro core i7 mid 2012 And update to the latest version 10.8.4 system after updating the system I have the problem appeared to take off the device and stops at the apple logo for about 5 minutes and then enters the desktop How can I solve t

    I have a macbook pro core i7 mid 2012
    And update to the latest version 10.8.4 system after updating the system I have the problem appeared to take off the device and stops at the apple logo for about 5 minutes and then enters the desktop How can I solve this problem and thank you

    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter "BOOT_TIME" (without the quotes) in the search box. Note the timestamps of those log messages, which refer to the times when the system was booted. Now clear the search box and scroll back in the log to the last boot time when you had the problem. Select the messages logged after the boot, during the time something abnormal was happening. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V).
    For example, if the problem is a slow startup taking three minutes, post the messages timestamped within three minutes after the boot time, not before. Please include the BOOT_TIME message at the beginning of the log extract.
    If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    Still in Console, look under System Diagnostic Reports for crash or panic logs, and post the entire contents of the most recent one, if any. In the interest of privacy, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • I want the out put of number in(10,4)

    I want out put of the number like this formate (10,4). can any one give the syntax for this..
    by using the round function round(38.439494) = 38.439. but how to restrict the integer to 10

    Prem,
    My understnding the below you are expecting.
    select round(38.439494,3) from dual;
    38.439
    If it's not,please make sure post clearly.
    Regards,
    Vissu.....

  • Store the out put of smartform in a directory which is created on app..Serv

    Dear All,
    I want to store the out put of smartform in a directory which is created on application server.so that the user in future can directly print the output with out again executing the smartform.....
    regards,
    Sudheer.G

    hi Sudheer,
    Correct me if I am worng but you cannot issue output without executing smartform.
    If you want to just store the output in App server then use the PDF output option in SmartForm attributes. Then use
    OPEN DATASET.
    READ DATASET.
    CLOSE DATASET.
    to store the PDF on app servee.
    Rgd
    Vivek
    Reward if helps

Maybe you are looking for

  • Issues discovering IPhone5 personal hotspot on wifi

    I have a MacBook Retina, using OSX 10.9.3, I usually use personal hotspot on my IPhone5, while it works fine when I have the IPhone connected via USB Cable, If I want to connect via WIFI, it doesn't properly discover my IPhone wifi hostspot (I dont s

  • Cannot Test this Web Service using the Test Page

    Hello, I'm using - JDeveloper 11.1.1.3.0 - SOA Suite 11.1.1.3.0 - Weblogic Server 10.3.3 - Windows XP SP3 (german version) Now I'm having a BPEL-Process (SOA) Project created in JDeveloper and deployment to the server works fine, i.e. the service can

  • Lost iphone 5 with no passcode

    I lost my iPhone 5. It didn't have a passcode lock on it. When i went to locate it via icloud, the iphone is offline. I proceeded to lock it and erase the phone. As of now, its still Pending. Since the iPhone was offline, is there a way strangers can

  • ITunes Failure - Part II

    After a few more tries, iTunes decided to start working. I have no idea why, but I'm hoping it will continue! So, at this point, no need to reply. though I'd be interested in the answer as to why this occurred if anyone knows in case it happens again

  • Cisco NAC Remediation Config Assistance

    I'm deploying NAC for a large enterprise. They would like the use the NAC for posture assessments but manual remediation. If the users do not meet the windows patch and AV requirements they are expected to manually remediate their systems, not using