Problem in spooling

Hi,
i m able to successfully spool my file.problem is i m getting unwanted lines in my result
SQL FILE
set heading off
set pages 0
set echo off
set linesize 1000
spool TISSIP_TICKETTYPES_PURCHASES.csv
PROMPT TICKET TYPES,NO OF TICKETS
PROMPT 'Executive packages - Return ABC'
SELECT BOOKINGS.TT_CODE ||','||COUNT(*) "NO OF TICKETS" FROM BOOKINGS WHERE CREATE_DATE_TIME
BETWEEN TO_DATE('&&STARTDATE','DD/MM/YYYY') AND TO_DATE('&&ENDDATE','DD/MM/YYYY') AND PURCHASE_ORDER='WEB_SERVER_USER' AND TT_CODE IN ('ABC') AND BOOKINGS.CURRENT_BS_CODE='FIRM' GROUP BY BOOKINGS.TT_CODE
OUTPUT IN FILE
'Executive packages - Return ABC'                                        
old 2: BETWEEN TO_DATE('&&STARTDATE'     'DD/MM/YYYY') AND TO_DATE('&&ENDDATE'     'DD/MM/YYYY') AND PURCHASE_ORDER='WEB_SERVER_USER' AND TT_CODE IN ('ABC') AND BOOKINGS.CURRENT_BS_CODE='FIRM' GROUP BY BOOKINGS.TT_CODE                         
new 2: BETWEEN TO_DATE('07/11/2005'     'DD/MM/YYYY') AND TO_DATE('08/12/2005'     'DD/MM/YYYY') AND PURCHASE_ORDER='WEB_SERVER_USER' AND TT_CODE IN ('ABC') AND BOOKINGS.CURRENT_BS_CODE='FIRM' GROUP BY BOOKINGS.TT_CODE     
no rows selected
HOW DO I REMOVE THESE 2 LINES: -
old 2 and new 2???
Thank You

thanx a lot boss.that worked

Similar Messages

  • Problem in spooling a file

    Hello ,
    I am having some problem in spooling a file i am using a single script that connect to different user to fetch a data i am using html to spool a file.
    whenever it connect to different user it show message "connected " in spool file .
    Is their any method to remove this message coming in spool file .
    with regards
    Vinesh

    I am using oracle 9i it is not working there .
    Command which i am using is given below.
    set markup html on;
    spool on;
    set feed off;
    spool C:\Temp\vinesh.xls;
    select EMPLOYEE_ID,FIRST_NAME from employees
    where rownum<2;
    set markup html off ;
    spool off;
    conn dotsoft/abcd1212@dot
    set markup html on;
    spool on;
    set feed off;
    spool C:\Temp\vinesh.xls APPEND;
    select unique_id_no EMPLOYEE_ID,customer_name FIRST_NAME
    from working_lines where rownum<2;
    set markup html off ;
    spool off;
    it is only working for 1st connection showing error for 2nd connection.
    with regards
    Vinesh Gupta

  • SFTP MGET of large files fails - connection closed - problem with spool file

    I have a new SFTP job to get files from an FTP Server.  The files are large (80mg, 150mg).  I can get smaller files from the ftp site with no issue, but when attempting the larger files the job completes abnormally after 2 min 1 sec. each time.  I can see the file is created on our local file system with 0 bytes, then when the FTP job fails, the 0 byte file is deleted.
    Is there a limit to how large an ftp file can be in Tidal?  How long an ftp job can run?
    The error in the job audit is Problem with spool file for job XXXX_SFTPGet and an exit code of 127 (whatever that is).
    In the log, the error is that the connection was closed.  I have checked with the ftp host and their logs show that we are disconnecting unexpectedly also.
    Below is an excerpt from the log
    DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.055 : Send : Name=SSH_FXP_STAT,Type=17,RequestID=12
    DEBUG [SSH2Channel] 6 Feb 2015 14:17:33.055 : Transmit 44 bytes
    DEBUG [ChannelDataWindow] 6 Feb 2015 14:17:33.055 : Remote window size decreased to 130808
    DEBUG [PlainSocket] 6 Feb 2015 14:17:33.071 : RepeatCallback received 84 bytes
    DEBUG [SSH2Connection] 6 Feb 2015 14:17:33.071 : ProcessPacket pt=SSH_MSG_CHANNEL_DATA
    DEBUG [SFTPMessageFactory] 6 Feb 2015 14:17:33.071 : Received message (type=105,len=37)
    DEBUG [SFTPMessageStore] 6 Feb 2015 14:17:33.071 : AddMessage(12) - added to store
    DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.071 : Reply : Name=SSH_FXP_ATTRS,Type=105,RequestID=12
    DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.071 : Send : Name=SSH_FXP_OPEN,Type=3,RequestID=13
    DEBUG [SSH2Channel] 6 Feb 2015 14:17:33.071 : Transmit 56 bytes
    DEBUG [ChannelDataWindow] 6 Feb 2015 14:17:33.071 : Remote window size decreased to 130752
    DEBUG [PlainSocket] 6 Feb 2015 14:17:33.087 : RepeatCallback received 52 bytes
    DEBUG [SSH2Connection] 6 Feb 2015 14:17:33.087 : ProcessPacket pt=SSH_MSG_CHANNEL_DATA
    DEBUG [SFTPMessageFactory] 6 Feb 2015 14:17:33.087 : Received message (type=102,len=10)
    DEBUG [SFTPMessageStore] 6 Feb 2015 14:17:33.087 : AddMessage(13) - added to store
    DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.087 : Reply : Name=SSH_FXP_HANDLE,Type=102,RequestID=13
    DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.087 : Send : Name=SSH_FXP_READ,Type=5,RequestID=14
    DEBUG [SSH2Channel] 6 Feb 2015 14:17:33.087 : Transmit 26 bytes
    DEBUG [ChannelDataWindow] 6 Feb 2015 14:17:33.087 : Remote window size decreased to 130726
    DEBUG [PlainSocket] 6 Feb 2015 14:17:33.118 : RepeatCallback received 0 bytes
    DEBUG [SFTPChannelReceiver] 6 Feb 2015 14:17:33.118 : Connection closed:  (code=0)
    ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 : Disconnected unexpectedly ( [errorcode=0])
    ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 : EnterpriseDT.Net.Ftp.Ssh.SFTPException:  [errorcode=0]
    ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 :    at EnterpriseDT.Net.Ftp.Ssh.SFTPMessageStore.CheckState()
    ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 :    at EnterpriseDT.Net.Ftp.Ssh.SFTPMessageStore.GetMessage(Int32 requestId)

    I believe there is a limitation on FTP and what you are seeing is a timeout built into the 3rd party application that tidal uses (I feel like it was hardcoded and it would be a big deal to change but this was before Cisco purchased tidal)  there may have been a tagent.ini setting that tweaks that but I can't find any details.
    We wound up purchasing our own FTP software (ipswitch MOVEit Central & DMZ) because we also had the need to host as well as Get/Put to other FTP sites. It now does all our FTP and internal file delivery activity (we use it's api and call from tidal if we need to trigger inside a workflow)

  • Plantage d'Illustrator CS5.1... le fameux probleme du spooler...

    Bonjour à tous...
    Il y à de quoi perdre les pedales des fois !
    Nous avons migrés deux ordis de la CS2 à la CS5.5.
    Tous s'est bien déroulé pendant une semaine, et d'un coup on à eut droit au probleme de spooler : impossible d'enregistrer les fichiers, plantage d'illustrator à chaque fois.
    Apres maintes recherches sur le web, il y a eut la solution de redemarrer le spooler. ça n'a rien changé. Par contre un constat : avec le spooler desactivé, tout marche, sauf qu'on peux pas imprimer, et on a beaucoup besoin d'imprimer ici...
    Bref, je trouve une autre solution : supprimer le dossier de preferences d'illustrator.
    super, ça marche sur les 2 machines !!!
    suaf que... ça a marché une semaine a peine....
    ce midi, en pleine utilisation, le probleme de la sauvegarde impossible est revenu, rebelotte, plus possible d'enregistrer, ni meme d'ouvrir un fichier, meme plantage systematique.
    la suppression du dossier de prefs n'y fait rien cette fois...
    QUE FAIRE ???
    ce probleme est connu depuis 2007 au moins, a voir les resultats des recherches sur les differents forums du net, et vraisemblablement il n'est pas correctement résolu...
    Si quelqu'un a une idée... ce serait bienvenu !
    merci !

    houra !
    j'ai la solution !!!
    il m'a suffit de changer d'imprimante par defaut dans windows, car l'actuelle est en panne donc eteinte...
    donc bon a savoir pour d'autres... imprimante eteinte : illustrator pas content !!

  • Printer problem in Spool..

    Hi Experts,
                I have a problem with spool creation.After click on Print Icon i have given the printer name XX . but in the spool , I am seeing another printer name YY in Spool attributes. the name which is entered is not captured in spool attributes.Is the printer in spool attribute is a common one for all users? How to change the same?
    Regards,
    Sreeja

    hi,
    check in SPAD transaction which printer is default assigned..
    and try to remove default printer and execute what is picking..
    Prabhu

  • Problem in spool report

    Hi All,
    I have executed one report(Z report) in Production by Background, that has generated Spool report.
    My problem is some fields are cut-off(missing) from that spool report.
    Please provide the solution ASP.
    Regards,
    DSK.

    Hi DS
    Do one thing: Configure your text editor as follws:
    Go to Utilities->Settings->Downwards-Compatible Line Length(72) .
    Hope you can away from the spool request now.
    Have a look on the OSS note:
    <b>
    https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=534487&nlang=EN&smpsrv=https%3a%2f%2fwebsmp201%2esap-ag%2ede</b>
    Summary
    Symptom
    A list that includes more than 255 columns in the background is supposed to be issued. Instead of broad list lines being distributed on several printed lines for every 255 columns, only a single truncated printed line appears.
    Other terms
    Lists, print, 255 columns
    Reason and Prerequisites
    A Support Package which allows the printing of broad lists was imported. This creates a broad line of print with more than 255 columns in the spool. Generally, this is desired.However, the problem occurs if no corresponding format is defined because the default format X_65_255 truncates the line correspondingly at the print output.
    Solution
    1.) Define a format which can output the required number of printing columns.
    2.) Using the attached correction, the number of columns in the print dialog can be changed in this special case.If a column figure of 255 is now entered, the old behavior is active again.The correction is only effective if you imported note 501826 beforehand.
    Header Data
    Release Status: Released for Customer
    Released on: 13.06.2003  07:44:06
    Priority: Correction with medium priority
    Category: Program error
    Primary Component: BC-ABA-LI List Processing
    Releases
    Software
    Component Release From
    Release To
    Release And
    subsequent
    SAP_BASIS 46 46B 46B  
    SAP_BASIS 46C 46C 46D  
    Highest Implemented Support Package
    Support
    Packages Release Package
    Name
    SAP_BASIS 46B SAPKB46B44
    SAP_BASIS 46B SAPKB46B48
    SAP_BASIS 46C SAPKB46C36
    SAP_BASIS 46C SAPKB46C40
    Related Notes
    586914 - Workaround for printing signature data via CJ00 or DSAL
    Print Selected Notes (PDF) 
    Regards,
    Sree
    Message was edited by:
            sree ram

  • Problem in spooling the clob data to Excel sheet

    Hi dev's
    currently i am using below version :
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production          
    PL/SQL Release 11.2.0.1.0 - Production                                          
    CORE     11.2.0.1.0     Production                                                        
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production                         
    NLSRTL Version 11.2.0.1.0 - Production                                      here is my DDL ststements :
    CREATE TABLE tt1 (n1 number,c1 varchar2(1),b1 clob);I inserted one record in tt1 table like :
    INSERT INTO tt1 values (1,'a',aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);length of clob data in b1 column is
    SELECT DBMS_LOB.GETLENGTH(b1) FROM tt1 WHERE n1 =1;
           1432
    1 rows selected What's my problem is :
    i am correctly spooling the data into .xls file But
    The Clob data is placed into sperate lines(cells). I need the CLOB (b1 column data) data INTO single ROW (cell)
    i am able to get the n1,c1 data into seperate cells.
    below is the excel sheet data (the space between rows are seperate lines):
    number_value     character_value     clob_value     
    1     a     gaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa     
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa               
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa               
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa               
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa               
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa               
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa               
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa               
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa               
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa               Please help me on this issue.
    Thanks,

    You may need to put double quotes around your CSV string data, so that Excel can recognise it as single values rather than trying to split it across cells/rows.
    For example a nicely formed CSV may look like:
    empno,ename,job,mgr,hiredate,sal,comm,deptno
    7369,"SMITH","CLERK",7902,17/12/1980 00:00:00,800,,20
    7499,"ALLEN","SALESMAN",7698,20/02/1981 00:00:00,1600,300,30
    7521,"WARD","SALESMAN",7698,22/02/1981 00:00:00,1250,500,30
    7566,"JONES","MANAGER",7839,02/04/1981 00:00:00,2975,,20
    7654,"MARTIN","SALESMAN",7698,28/09/1981 00:00:00,1250,1400,30
    7698,"BLAKE","MANAGER",7839,01/05/1981 00:00:00,2850,,30
    7782,"CLARK","MANAGER",7839,09/06/1981 00:00:00,2450,,10
    7788,"SCOTT","ANALYST",7566,19/04/1987 00:00:00,3000,,20
    7839,"KING","PRESIDENT",,17/11/1981 00:00:00,5000,,10
    7844,"TURNER","SALESMAN",7698,08/09/1981 00:00:00,1500,0,30
    7876,"ADAMS","CLERK",7788,23/05/1987 00:00:00,1100,,20
    7900,"JAMES","CLERK",7698,03/12/1981 00:00:00,950,,30
    7902,"FORD","ANALYST",7566,03/12/1981 00:00:00,3000,,20
    7934,"MILLER","CLERK",7782,23/01/1982 00:00:00,1300,,10where the string data has double quotes around it. This also means that comma values within the quotes will not be treated as a new value, but rather as part of the text itself.

  • Problem in Spool Request

    Dear Friends,
    I developed a smartform for customer it prints last form twice.
    means suppost if i give 1 to 10 customers it is giving 11 forms( 1,2,...10,10) it prints tenth form twice.
    Another problem is.. at spool request(sp01) i able print only 10 forms.
    it is showing that only page 1 to 10 of 17 displayed.
    Can anyone give me the suggestion

    Hi Anurag,
    Please refer below link
    http://wiki.sdn.sap.com/wiki/display/ABAP/Copies(duplicate,etc.)
    it is showing that only page 1 to 10 of 17 displayed.
    This is because the display area is too small.
    Solution : To increase the display area, choose "Goto -> Request Display  -> Settings". Note that this will use more main memory and may cause the transaction to terminate.
    Please click on F1 help on the above message in SP01 to read more about it.
    I hope this will help you.
    Regards,
    Rahul Mahajan.

  • Problem with spool request generation in Dialog program

    Hi,
        To give the spool and print functionality in dialog program i have used the function module code like below -
    call function 'GET_PRINT_PARAMETERS'
          exporting
               mode                   = ' '
               in_parameters          = ls_pri_params
          importing
               out_parameters         = ls_pri_params
               valid                  = lv_valid
          exceptions
               archive_info_not_found = 1
               invalid_print_params   = 2
               invalid_archive_params = 3
               others                 = 4.
       IF lv_valid <> space AND sy-subrc = 0.
             SUBMIT (sy-repid)
                    USER SY-UNAME TO SAP-SPOOL
                    SPOOL   PARAMETERS ls_pri_params
                    WITHOUT SPOOL DYNPRO.
    But the problem is, if it is list then we can easily get the print function, since i am using the above code in the dialog program screen 9000, program is giving dump like....
    Incorrect program type with SUBMIT.                                                                               
    What happened?                                                                               
    The current ABAP/4 program "SAPMYXXXXXX" had to be terminated because              
    one of the statements could not be executed.                                                                               
    This is probably due to an error in the ABAP/4 program.                              
    You attempted to start a program not intended for this purpose.                      
    I know that i should not use submit statement for dialog program, but what is the solution for this.
    Thanks in advance..

    Did you check the F1 help of SUBMIT. if not give a try.Submit cannot be used on Module pool programs. it is used for Report(executable ) programs.

  • Problem with Spool requests

    Hello ,
    Some spool requests are completed with status "Completed(Problem)". When we check the output Request Logs find below things :
    Print request processing log
    The host spool is reporting errors
    This request may not have been printed. Status unknown
    Most important attributes of spool request
    Request number 43899
    When we checked we are getting printouts fine but still in status we are getting completed with problem in Red mark.
    Can anybody tell abt this confusing situation why we are getting status in sP01 like this.
    Thanks
    Anju

    Hi,
    What is your OS?
    File = /usr/sap/SID/SYS/DVEBMGS00/data.
    UNIX:-
    check the file system status whether it is full (100%)
    Then increase file system thorugh OS level.
    Windows:-
    Check your hard disk of file system.
    Regards,
    Srini Nookala

  • Problem in spool generation using SUBMIT statement

    Hi Experts,
                      I am facing a problem in getting the spool no using the SUBMIT statemet.I am exporting an internal table with some data and then importing the same in another dummy program to get the ALV list output.This dummy program is called using the SUBMIT TO SAP-SPOOL statement.
    The code is as follows:
    Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code
    The trouble is the submit statement is not calling the dummy program in this case.What can be the problem here and how can it be resolved.In my dummy program I am simply using the exported table to convert into list display so as to get a spool no. for it.
       My objective is to get the spool no. for this sothat I can convert this spool to PDF.
    Thanks and Regards
    Abhishek
    Edited by: abhishek singh on Oct 27, 2009 9:26 PM
    Edited by: abhishek singh on Oct 27, 2009 9:27 PM
    Edited by: abhishek singh on Oct 27, 2009 9:29 PM
    Edited by: Rob Burbank on Oct 27, 2009 4:41 PM

    Hi Experts ,
                        I am posting the code again:
    CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = lv_name
        IMPORTING
          jobcount         = lv_number
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
      IF sy-subrc = 0.
        CALL FUNCTION 'GET_PRINT_PARAMETERS'
          EXPORTING
            archive_mode         = gc_spool_print      "For print = '1'
            no_dialog            = abap_true
          IMPORTING
            out_parameters       = lv_print_parameters
            valid                = lv_valid_flag
          EXPORT fui_fin_split TO MEMORY ID 'CUSTOMER'.
          SUBMIT zvrr9333_dummy TO SAP-SPOOL
                                SPOOL PARAMETERS lv_print_parameters
                                WITHOUT SPOOL DYNPRO
                                VIA JOB lv_name NUMBER lv_number
                                AND RETURN.
            CALL FUNCTION 'JOB_CLOSE'
              EXPORTING
                jobcount             = lv_number
                jobname              = lv_name
                strtimmed            = abap_true        "Immediate Start
              MESSAGE 'Spool not created'(e15) TYPE gc_success.
            ENDIF.
      SELECT jobname
             jobcount
             stepcount
             listident
      FROM tbtcp
      INTO TABLE gi_spool
      WHERE jobname EQ fuv_name
      AND   jobcount EQ fuv_number.
      IF sy-subrc EQ 0.
        READ TABLE gi_spool INTO lw_spool INDEX 1.
        fcv_spoolno = lw_spool-listident.
      ENDIF.
      SELECT jobname
             jobcount
             stepcount
             listident
      FROM tbtcp
      INTO TABLE gi_spool
      WHERE jobname EQ fuv_name
      AND   jobcount EQ fuv_number.
      IF sy-subrc EQ 0.
        READ TABLE gi_spool INTO lw_spool INDEX 1.
        fcv_spoolno = lw_spool-listident.
      ENDIF.

  • Problem with spool file

    I have a written a hot backup script and I am having the following problem.
    In my script I do:
    dbms_output.put_line('alter system switch logfile;');
    dbms_output.put_line('archive log all;');
    dbms_output.put_line('!cp /oracle/u01/oradata/design/arch/*.dbf /oracle/u011/oradata/design/recovery/archive_bkup');
    dbms_output.put_line('!compress /oracle/u11/oradata/design/recovery/archive_bkup/*.dbf');
    I spool the above and in the spool file it shows up as
    alter system switch logfile;
    archive log all;
    !cp /oracle/u01/oradata/design/arch/*.dbf
    /oracle/u11/oradata/design/recovery/archive_bkup
    !compress /oracle/u11/oradata/design/recovery/archive_bkup/*.dbf
    alter database backup controlfile to trace;
    !cp /oracle/u01/oradata/design/arch/*.dbf
    /oracle/u11/oradata/design/recovery/archive_bkup
    This command fails as it shows up as 2 lines. How can I get in one line.
    Thanks.

    The reason that is happening is because your LINESIZE is set too low for this (probably 80).
    what you need to do is, do a SET LINESIZE 132 (or something larger, depending upon how big the
    entire line can be - up to 255 - limit of DBMS_OUTPUT.PUT_LINE) and then run the PL/SQL
    statements:
    SQL> set serveroutput on
    SQL> set linesize 132
    SQL> begin
      2  dbms_output.put_line('alter system switch logfile;');
      3  dbms_output.put_line('archive log all;');
      4  dbms_output.put_line('!cp /oracle/u01/oradata/design/arch/*.dbf /oracle/u011/oradata/design/recovery/archive_bkup');
      5  dbms_output.put_line('!compress /oracle/u11/oradata/design/recovery/archive_bkup/*.dbf');
      6
      7  end ;
      8  /
    alter system switch logfile;
    archive log all;
    !cp /oracle/u01/oradata/design/arch/*.dbf /oracle/u011/oradata/design/recovery/archive_bkup
    !compress /oracle/u11/oradata/design/recovery/archive_bkup/*.dbf
    PL/SQL procedure successfully completed.
    SQL>

  • Problem to spool when Executing reports in background

    Hi experts,
    I  executed  reports in backgroud , but when i checked in SM37 the generated spool not given proper layout format.
    This problem occurs when report having more columns.
    plz help me earliest.
    Regards,
    jyotsna

    Hi jyotsna,
    this happens with ALV output because the output format is determined at runtime.
    You can control the print format used: Just fromyour reports list in online mode, choose PRINT. A Popup should come up letting you specify the printer, number of copies, pages to be printed and so on.
    At the bottom of the popup you have the Properties button. This button opens the overview sceen for all the available print parameters. Double-Click the Format section, choose a format you want to use.The the Specifications button takes you to another screen. Here you can choose 'Valid for this report only' and Check the Background checkbox.The push the 'Copy settings' button. Then Enter to close all the popups. This should help. Additionally you can set a default layout variant for your list to be used.
    For this, in the ALV list, use Menu Settings-Layout-Layout Management. Here yu can set a default variant.
    Regards,
    Clemens

  • Problem downloading spool data

    Hi,
    We have a requirment wherein we need to print chinese text in the script.We are facing problem while downloading the file from the spool(SP02).The chinese text is showing up perfectly in the spool but when we download it,and open it,it shows junk characters..is there any setting to be done in SAP?
    Thanks..

    hii rakesh
    The logic to build SAP Script and Smart form of all languages will be same. But while working on Asian language please take care of the following points.
    1 Make sure you logon to SAP in CHINESE language only.
    2 At the Operating system level install the hungarian language.[Control panel - >Regional and language Option - >language Tab - > Click on Install Files for East Asian languages] If these language already installed then click on Detail and add the  CHINESE languages .
    3 At SAP level click on Customizing of Local layout[Alt+F12] and click on options.Go to tab I18N and click on Activate the multi-byte functionalities to support check box.
    4.Take care of the Font while assigning to Character formar or paragraph format. Dont use normal font name.
    USE  CHINESE FONT
    REGARDS
    Naresh

  • Problems downloading spool lists to spreadsheet format

    Hi,
    When downloading spool lists to spreadsheet format, individual columns
    are not separated like lists created online.
    How can we solve this problem?
    (Notes 118692 and 650491 don't give any solution)
    Thanks in advance.
    Eduard

    Your subject header says you own CS5 but your message says CS5.5 so I assume you really want CS5.5.
    Download CS5.5 from http://prodesigntools.com/adobe-cs5-5-direct-download-links.html
    Follow the Very Important Instructions on that page first BEFORE you click the download links.
    Install then enter your serial number to license it.

Maybe you are looking for

  • Apps not showing correct icon.

    I am having a problem with some apps that I download. When I download them to my iphone, I am getting the wrong icon for the app I downloaded. Does anyone know a fix for this? I have tried erasing all of the apps, I've tried restoring my iphone throu

  • I want to download ADOBE ACROBAT READER

    Where do you go to download ADOBE ACROBAT READER?

  • MZCommerce.purchasableAssetTooBigForDownload_message

    Getting 'MZCommerce.purchasableAssetTooBigForDownload_message'-popup (instead of "spoken words") when app is too big for 3G download. Haven't seen it before, maybe a new/regression bug in iOS 6.1?

  • Macbook Pro Retina, 13-Inch, Early 2013 Hard Frezze

    Hello, I´m having trouble with my Macbook, It has happened 3 times on 2 days, the Mac just frezzes when changing desktop, i was running Excel, Outlook, Power Point and Safari at the same time all the time (in the 3 hard frezze) i had to restart the m

  • Contact changes and names/pics/info not matching

    My contact information has recently changed. A number of my contacts now have the incorrect facebook picture, or the incorrect name attached to their email addresses. The problem extends to email and text messaging but I haven't checked the phone yet