Sqlplus Spool without extension

Hello
the answer is in the title
I want to konw if it's possible to Spool a filename without extension in sqlplus commandline
Spool Toto
Select ...
Spool Off
is it possible to have a result file name toto and not toto.lst??
Thank

the answer is in the titleFine then ;-)
I do not have a solution to your problem. You can create toto.txt or any other extension
spool .toto
prompt what a nice file
spool off

Similar Messages

  • How to make previous version documents(CS1 and CS3) without extension  readable in InDesign CS5

    I have some previous version documents of CS1 and CS3  on Mac  which have been saved without any extension e.g 300, CS3doc etc.
    When I open such documents in InDesign CS5 they appear to be unreadable .  Only on  selecting 'All documents' filter  I am able to open those documents.
    I want to make all such documents (which are without extension) readable with 'All Readable Documents ' also .
    How I can do that, please  help me !!!!!

    The first thing I'd do is make sure the issue is really what I suspect it is - i.e. I suspect your extension-less documents don't have the proper type and creator.
    If you fire up a Terminal window, you should be able to use the GetFileInfo command to check one of the files:
    Assume 'sampleFile' is sitting on your desktop, you'd do
    GetFileInfo ~/Desktop/sampleFile
    (not sure when/whether GetFileInfo is installed on a Mac - I think it used to be part of Apple's developer tools, but on my Snow Leopard it resides in /usr/bin)
    Check what it says for 'type' and 'creator'.
    If these are not correct, we've confirmed that that's the reason why they don't show up in your file dialog.
    If the issue is type/creator related, I can think of the following options:
    a) Change your code to accept ANY file type/extension - I suspect this would work (not tested!):
    openFileDialog->AddType( '????' );
    If memory serves right, '????' should be accepted as a wildcard.
    b) correct the file types BEFORE they are viewed in the File Dialog - for example, if these files are in a very specific folder somewhere, you might be able to scan the folder, and correct their type and creator (e.g. iterate through all extensionless files in folder 'xyz' and change their type and creator). A lot depends on how those files get there, and whether they are tied to a specific folder or not - are they 'old' files, or are they being generated in some workflow? If they're all over a user's system or all over a file server, such pre-scanning and cleaning up file types approach will be a no-go.
    Cheers,
    Kris

  • If i download any file which is prepare on microsoft office 2007 . The file have been download without extension of the prog. Means if files name is "1,docx" when i download from firefox it download in that form "1". after download i have to rename and gi

    If i download any file which is prepare on microsoft office 2007 . The file have been download without extension of the prog. Means if files name is "1,docx" when i download from firefox it download in that form "1". after download i have to rename and give the extension name is plz tell me the way that office files are compatible with it.
    == This happened ==
    Every time Firefox opened
    == when i download the office files

    In Firefox Options / Privacy be sure "Remember download history" is checked. To see all of the options on that panel, "Firefox will" must be set to "Use custom settings for history".
    To find your OS information, on your Windows desktop, right-click the My Computer icon, choose Properties, under System on that small window is info about your OS.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''

  • Printing ZPL (Zebra) data to printer spooler without character conversion

    Hi all,
    We are printing shipping labels from UPS, with a process where we recive the ZPL label code directly from UPS, and we just need to pass the data to the printer to get the labels. We have already implemented this with Fedex and some custom labels, and it works perfectly. The problem with the UPS label data is that it contains non-printable characters (in the MaxiCode data field). When passed to the SAP printer spooler (see code example below), the data gets corrupted because SAP interprets these non-printable characters as printer control codes.
    I have verified this by saving the ZPL data to a local file, before printing it through the SAP spooler. I then print this raw data and compare the output with the labels printed from the spooler. The MaxiCode (the big 2D barcode) is different in these labels. UPS has also tested the labels, and rejected them because of incorrect data in the barcode.
    For printing, we are using printers defined as type "PLAIN", but I also tried using the "LZEB2" device type with the same result. The error we see in the spooler entry is this:
    Print ctrl S_0D_ is not defined for this printer. Page 1, line 2, col. 2201
    Print output may not be as intended
    The printer ctrl code differs, depending om the label. I have examined the spooler data in "raw" mode, and there is always an ASCII character 28 (hex 1C) in front of the characters that SAP think are control codes, and this is why I think these non-printable characters are the reason for the problems.
    This is the function module I use to print the ZPL data (and as stated above, this works fine for Fedex and custom labels). The ZPL data is converted to binary format before passed to the function module, but I also tried to send the data in text format with another FM, but the result is the same. I have experimented with the "codepage" parameter, and this one gives the least amount of errors, and some labels actually get through without errors. But still at least 50% of the labels gets corrupted, with log entries like above.
    CALL FUNCTION 'RSPO_SR_WRITE_BINARY'
          EXPORTING
            handle           = lv_spool_handle
            data             = lv_label_line_bin
            length           = lv_len
            codepage         = '2010'
          EXCEPTIONS
            handle_not_valid = 1
            operation_failed = 2
            OTHERS           = 3.
    Does anyone know if there is a way to send data to the spooler without character conversion or interpretation of printer control codes? Or is there any other smart way to get around this problem?
    /Leif

    I do a more direct output to the spooler, to avoid any issues with the WRITE statement and SAP's report output processing. At the same time, I insert line breaks so that the output is easy to debug in the spooler if needed. Also included is the code to to detect the escape code (ASCII #28) and to insert a control code ZZUPS in its place (you can skip this for Fedex). Here's a simplified example, but please note this is for a Unicode system, some minor changes is required in a non-Unicode system.
    CONSTANTS: lc_spcode TYPE c LENGTH 5 VALUE 'ZZUPS',
               lc_xlen TYPE i VALUE 5.
       DATA: lv_print_params TYPE pri_params,
             lv_spool_handle TYPE sy-tabix,
             lv_name TYPE tsp01-rq0name,
             lv_spool_id TYPE rspoid,
             lv_crlf(2) TYPE c,
             lv_lf TYPE c,
             lstr_label_data TYPE zship_label_data_s,
             lv_label_line TYPE char512,
             lv_label_line_bin TYPE x LENGTH 1024,
             lv_len TYPE i,
             ltab_label_data_255 TYPE TABLE OF char512,
             ltab_label_data TYPE TABLE OF x,
             lv_c1 TYPE i,
             lv_c2 TYPE i,
             lv_cnt1 TYPE i,
             lv_cnt2 TYPE i,
             lv_x(2) TYPE x.
       FIELD-SYMBOLS: <n> TYPE x.
       lv_crlf = cl_abap_char_utilities=>cr_lf.
       lv_lf = lv_crlf+1(1).
       lv_name = 'ZPLLBL'.
    CALL FUNCTION 'RSPO_SR_OPEN'
         EXPORTING
           dest                   = i_dest
           name                   = lv_name
           prio                   = '5'
           immediate_print        = 'X'
           titleline              = i_title
           receiver               = sy-uname
    *      lifetime               = '0'
           doctype                = ''
         IMPORTING
           handle                 = lv_spool_handle
           spoolid                = lv_spool_id
         EXCEPTIONS
           device_missing         = 1
           name_twice             = 2
           no_such_device         = 3
           operation_failed       = 4
           OTHERS                 = 5.
       IF sy-subrc <> 0.
         RAISE spool_open_failed.
       ENDIF.
    LOOP AT i_label_data INTO lstr_label_data.
         CLEAR ltab_label_data_255.
         SPLIT lstr_label_data-label_data AT lv_lf INTO TABLE ltab_label_data_255.
         LOOP AT ltab_label_data_255 INTO lv_label_line.
           IF lv_label_line NE ''.
             lv_len = STRLEN( lv_label_line ).
    *       Convert character to hex type
             lv_c1 = 0.
             lv_c2 = 0.
             DO lv_len TIMES.
               ASSIGN lv_label_line+lv_c1(1) TO <n> CASTING.
               MOVE <n> TO lv_x.
               IF lv_x = 28.
                 lv_cnt1 = 0.
                 lv_label_line_bin+lv_c2(1) = lv_x.
                 lv_c2 = lv_c2 + 1.
                 DO lc_xlen TIMES.
                   ASSIGN lc_spcode+lv_cnt1(1) TO <n> CASTING.
                   MOVE <n> TO lv_x.
                   lv_cnt2 = lv_c2 + lv_cnt1.
                   lv_label_line_bin+lv_c2(2) = lv_x.
                   lv_c2 = lv_c2 + 2.
                   lv_cnt1 = lv_cnt1 + 1.
                   lv_len = lv_len + 1.
                 ENDDO.
               ELSE.
                 lv_label_line_bin+lv_c2(2) = lv_x.
                 lv_c2 = lv_c2 + 2.
               ENDIF.
               lv_c1 = lv_c1 + 1.
             ENDDO.
    *       Print binary data to spool
             lv_len = lv_len * 2. "Unicode is 2 bytes per character
             CALL FUNCTION 'RSPO_SR_WRITE_BINARY'
               EXPORTING
                 handle                 = lv_spool_handle
                 data                   = lv_label_line_bin
                 LENGTH                 = lv_len
               EXCEPTIONS
                 handle_not_valid       = 1
                 operation_failed       = 2
                 OTHERS                 = 3.
             IF sy-subrc <> 0.
               RAISE spool_write_failed.
             ENDIF.
           ENDIF.
         ENDLOOP.
       ENDLOOP.
       CALL FUNCTION 'RSPO_SR_CLOSE'
         EXPORTING
           handle = lv_spool_handle.
       IF sy-subrc <> 0.
         RAISE spool_close_failed.
       ENDIF.

  • My bank id works with IE but not in Firefox, even if I run without extensions. What is the problem?

    My bank id works with IE but not in Firefox, even if I run without extensions. What is the problem?

    Make sure you are using the correct user name / password.
    https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can
    https://support.mozilla.org/en-US/kb/secure-connection-failed-error-message

  • How to use Terminal to Find or Locate files without extensions?

    I'm conversant with the cli, but not a power-user.  I've discovered a fairly large number of audio files, across dozens of sometimes nested folders, that (somehow) lost their '.aif' extension and now appear as Unix Executable Files.  Upon appending said files with the proper extension, they are perfectly normal audio aif's.
    My Problem: using the Terminal, how can I search a directory tree to find those files *without* an extension, discriminating between files and folders, and then append the correct extension to only the files?
    I've tried a number of queries, mostly built around the idea of using 'filename.*', but for some reason searching for an extension omission (as opposed to a specified string) isn't so simple. 
    The following: ls -al *.
    Brings up 'No such file or directory'
    And the following ls -al .*
    Brings up files AND directories
    I need o discriminate between files and directories, finds all files without extensions, and rename them with the appropriate extension.
    Can anyone help?
    Best, Tom

    The following will find files without a file extension in the current working directory and any sub-directories->
    find . -type f ! -name "*.*"
    If you are confident that the files found are the appropriate audio file (in this case aif) then you could->
    find . -type f ! -name "*.*" -exec mv {} {}.aif \;

  • Edit PHP files without extension

    Hi,
    I'm currently developing a website with DW CS3 and I'm using
    apache's mod_rewrite so I have clean URL's. The thing is that doing
    this forces me to rename my php files e.g.
    index.php to
    index. Is there a way that DW recognizes these files as PHP
    files, so I have nice highlighted code?
    Greets,
    Nick

    Hello,
    Right clicking and selecting open is exactly the answer to
    the question you
    asked about how to open files without an extension.
    There are many young people and people just learning here, so
    all questions
    are answered.
    How was anyone supposed to know you meant something else, and
    that you
    already knew the answer was to right click and select open?
    You didn't mention DW was giving you errors until after 2
    people gave the
    answer to the question you asked.
    The fact that DW is giving you an error message when you try
    to open the
    file is something else entirely.
    So, if that's your actual question, can you expand on "DW
    keeps giving me
    errors" and share what the error messages are, so we can try
    and help you?
    Take care,
    Tim
    "magoo" <[email protected]> wrote in message
    news:gcr7s0$m9n$00$[email protected]..
    > Murray *ACE* wrote:
    >> Right click on the file and select Open.
    >>
    >>
    >> "magoo" <[email protected]> wrote in
    message
    >> news:gcr39p$r7o$01$[email protected]..
    >>> Alan wrote:
    >>>>> is it possible to open files without
    extension in DW?
    >>>>
    >>>> yes- but they will be treated as a plain
    text file, they won't be
    >>>> associated with any type of scripting type
    so no code hints or code
    >>>> coloring.
    >>>
    >>> That`s fine, so how does it work?
    >
    > Wow, what an ace you are. If it was that easy I would
    not have bothered
    > posting here ...
    >
    > --
    > Regards
    > magoo

  • Quick Look for files without extensions.

    I have many files without extensions that quick look does not recognize as text files. Bash shell scripts generally do not use an extension, for example (they are identified by their first line). Similarly I have a lot of text file notes w/o a ".txt" extensions.
    Is there any way to have quick look recognize these as text files? They currently have either text edit or textmate as their default "open with" app. I presume there is a config file of some sort for quick look that will let me default files with no extension to text files, but have not found it yet.

    Can't Quick Look for some text files
    Re: Is it possible to change the viewing format?
    Quick Look for files without extensions.
    Re: Can I view text files without a .txt extension in Quick Look?
    How do I add support to Quick Look

  • FAGLL03-GRN number without extension of item number for few documents in Le

    In GR/IR account 31901 and 31903, Ref. Key 3 field has shows the year & GRN number without extension of item number for few documents in Ledger view(FAGLL03).  But, if we go through the entries for the same in document display, it will shows with extension numbers, due to this reason auto clearing is not happening for these documents through F.13. Please help.

    PO number at the item level of sc or at the header level of the sc next to description
    Such requirement is going to be difficult to achieve because not only one SC could yield multiple POs, but one SC item could potentially have multiple follow on POs. It's not always a 1:1 relation that can simply be presented in a table row. That is one of the main reasons one separated tab is dedicated to follow-on document.

  • FAGLL03-GRN number without extension of item number for few documents

    In GR/IR account 31901 and 31903, Ref. Key 3 field has shows the year & GRN number without extension of item number for few documents in Ledger view(FAGLL03). But, if we go through the entries for the same in document display, it will shows with extension numbers, due to this reason auto clearing is not happening for these documents through F.13. Please help.

    Hi Dear,
    Thanks for reply....
    I use this code, in the LOOP AT ITAB...
          IF bseg-ebeln = ' ' AND bseg-KOART eq 'K' .
            itab-lifnr = bseg-lifnr.
          ENDIF.
    But, not working....means its not displaying Vendor name against Document Number in BSEG.
    Plz let me know...How...where i can change,,,

  • Importing Images Named Without Extensions

    I have a number of archived CD's filled with images that were named without extensions, i.e. "egg" instead of "egg.tif"
    The CD's mount on my Mac OSX 10.5 desktop, are correctly read by the finder, can be viewed in preview and open without difficulty in PS CS4. Lightroom 3 reads the CD and the folders but not the images. I copied a CD to my desktop and added the correct file extension to the file's name. Lightroom then correctly recognized the file and was able to import it.
    I want to add the images  from the CD archives to my Lightroom catalog. Is it possible to get Lightroom to recognize the images on the CD's without copying them all to a hard drive and renaming them with proper extensions?

    See here: http://forums.adobe.com/thread/718776?tstart=0

  • Extension Development without Extension Builder?

    Hey,
    Is it possible to do Extension Development without Extension Builder? I'm an indie developer that needs to build a tool within Flash to help an artist that's working with me,  as such, I think the partner program is an additional cost that's a bit steep at the moment.
    I get the impression that it is possible to use Flex and the Flash builder itself to do so without the additional benefits of Extension Builder.  However, I get the impression that this is really a manual process and I'm uncertain as to how documented the process is. Has anyone explored this? Any suggestions or pointers in the right direction would be great.
    Cheers,
    Jeremy

    Hello Jeremy,
    yes you can .
    A good starting point is the video by Maria Gutierrez in the CS SDK Team blog.
    I've been using for some time the SDK only in Flash Builder, so I can assure you it's possible to accomplish the task - nevertheless, since I've got Extension Builder, it's *far* easier to code, test and debug.
    By the way, this documentation is good for you even if you don't own Extension Builder.
    Happy coding,
    Davide

  • FileFilter files without extension (*.)

    I want the file dialog to only show files without extension, so I set the filter to '*.', but the dialog shows no files at all.
    var legendFilter: FileFilter = new FileFilter("Legende", "*.");
    legendFileRef.browse([legendFilter]);
    These legend files are created by another application and don't include an extension.
    I cannot ask the user to rename the files prior to upload, I cannot change the output of the other application and I do want to filter to prevent selection of incompatible files as much as possible.
    Flex 4.6, Windows 7

    Would that be:
    new FileFilter("Legende", "null")
    or
    new FileFilter("Legende", null)
    If this is not correct, maybe you just use browse() without fileFilter,
    and then check the extension property of file() that selected from file browse

  • I find file without Extension after Download.

    In Firefox, when I am trying to download STL file from Email then it allows me to download such file without extension. That means I can't get file with Extension. . Why such thing happen ?

    Hi, Flash Player is a browser plug in, not a standalone player. It works thru your browser. Check in Safari and any other browser that you use for the Shockwave Flash plugin. Make sure it's Enabled.
    You can test each browser here and should be able to see the Flash Player logo(Red F) animate(spin). It will also display the version of Flash Player that you have Installed.
    http://www.adobe.com/software/flash/about/
    eidnolb

  • (SQLPlus) SPOOL

    (SQLPlus) SPOOL
    HI,
    can anyone help me on this? i want to create a csv file that will have a certain filename coming from a variable from a query. the ff codes does not work :( any help pls! THANKS in advance
    BROKEN
    select customer_name into v_name from demo_customers where cust_id = 1;
    SPOOL ..\data\order_&v_name&.csv
    SELECT
    order_id || ',' ||
    order_total || ',' ||
    order_datetime
    FROM
    demo_orders
    WHERE
    customer_id =1;
    SPOOL OFF;
    exit;
    ------------------------------------------------------------------------------------------------------------------

    to a bind variable yes, in plsql. To a "define" variable no.
    SQL> var n number
    SQL> set autopri on
    SQL> exec select 1+1 into :n from dual;
    PL/SQL procedure successfully completed.
             N
             2

Maybe you are looking for

  • Why can't I insert a 3D pdf file in an InDesign Document?

    I am working on a presentation for a client and need to insert some 3D pdf files to it but I always get an error message from OnDesing. What should I do?

  • Dark curtain descends over MacBook Pro screen

    While I was watching a TV show. Message in several languages said I needed to hold down power button and restart my computer. When I did and the light grey screen appeared, It started emitting a series of thee loud beeps. A small light on the front e

  • Can anyone help with a basic billing question? Verizon has shown they cannot.

    Duplicate discussion - please visit: https://community.verizonwireless.com/thread/808960 Message was edited by: Admin Moderator

  • OS System

    Hi, I have a Macbook with OS system Mac OS X 10.6.8 (10K549) and shall update to the new lion. This Mac OS X 10.6.8 is Snow Leopard or? It says I have to have this version so I just need to be sure.

  • Reduced Message App Functions

    So Mavericks reduced some of the Messages app functionality. Specifically, notifcations if my name is used in a chatroom or with direct messages. Now it simply reads "play sound effect when message is recieved." In a large chat room with many partici