RSCRMBW_REPORT and pathname

Hi gurus,
does anybody know how to define a path (logical? phisical?) for RSCRMBW_REPORT? I tried with I_PATH parameter but, altough report execution goes fine, it seems that path is ignored.
Can you help me?
Thanks in advance,
M.

Hi Friend,
I think you mean RSCRM_REPORT and not RSCRMBW_REPORT.
I think you want to store the some BW query extract into a file.
If yes, then select your query in RSCRM_REPORT -> Click on Extract -> Select Extract Type as File (Fixed Length) or File (CSV) which ever you want -> Give some technical name of the extract (this is nothing but the file name you want) -> Give File Parameters where you can give the File path to Application Server directory say for example "/usr/sap/DBC/DVEBMGS03/data/" (you can use F4 and select) and File Separator (if necessary).
After this you can give Start conditions and schedule it to run whenever you want.
Hope this helps.
Regards
Hemant Khemani

Similar Messages

  • How to find out the filename of javascript and pathname of javascript?

    I got the filename of javascript and pathname of javascript(not the active document file name) using the below code in illustrator cs3.
    var path = $.fileName;
    But my problem was if i run the javascript through "extendscript toolkit" i got it correctly. But if i run my script through illustrator cs3 application(File->Scripts->test.jsx) i got some integer value only(did not get the javascript filepath and filename). Kindly advice how to get the javascript file name and file path in windows platform through illustrator cs3 javascript. Please help me.

    I already have that extension, but I'm not sure which idx I need to look at. Also, I suppose that the numbers I'm looking for depend on places.history.expiration.transient_current_max_pages and therefore there is no way to get them relative to the installation of Firefox. My point is, I can see my history only up to 1 year, even though I have Firefox installed for 3 years. Correct me if I'm wrong.

  • Inserting filenames and pathnames into headers

    According to Pages '08 help:
    "Using Headers and Footers
    Add headers and footers to give your documents page-by-page identity by showing the date and time, page number, or filename and pathname."
    OK, I wish to add automatically updating filenames and pathnames in my headers.
    Except there appears to be no way to do it?
    Can you help?
    Thanks

    Hello
    Here it is:
    -- [SCRIPT]
    tell application "Pages" to set u to path of document 1
    (* "/Volumes/AluIce2504vide/autour d'iWork'08/documents_Pages/La cigale et la fourmi.pages" *)
    set ky to "/Volumes/"
    if u starts with ky then
    set u to text (1 + (count of ky)) thru -1 of u
    (* "AluIce2504vide/autour d'iWork'08/documents_Pages/La cigale et la fourmi.pages" *)
    else
    if character 2 of (0.5 as text) is "," then
    error "Impossible de recoder le chemin" & return & "«" & u & "»" number 701
    else
    error "Can't parse the path" & return & "“" & u & "”" number 701
    end if
    end if
    set u to POSIX path of u
    (* "/AluIce2504vide:autour d'iWork'08:documents_Pages:La cigale et la fourmi.pages" *)
    set u to text 2 thru -1 of u
    set the clipboard to u
    (* "AluIce2504vide:autour d'iWork'08:documents_Pages:La cigale et la fourmi.pages" *)
    -- [/SCRIPT]
    Save it as an application.
    yourStartupDisk:Users:yourAccount:Library:Scripts:Applications:Pages:
    maybe you will have to create the Pages folder and even the Applications one.
    Select the document in which you want to paste its pathname
    Execute the script from the System's Scripts menu
    Paste where you want.
    Yvan KOENIG (from FRANCE mercredi 28 novembre 2007 18:40:01)

  • Inserting current pathname and filename into Pages documents?????

    Pages help explicitly says you can put "filenames" and "pathnames" into formatted text fields just as you can put in page numbers and the date. It does NOT tell you how to do this!!! What do I type so that my current pathname appears in pages? Or the current filename of my document?? I am trying to create a template so that filename, pathname, date, and number of pages always appears in the header.

    Well, it is possible to automatically insert the document's filename into the header as I routinely do it in (dare I say) Microsoft Word and Microsoft Excel. I write many documents long and short. For each of them I start with the same template, one that includes the filename and the date "last saved" in the header.
    Those who have an ironclad hierarchy where every file is unambiguously filed into one folder might easily be able to retrieve every file. For me, it is very useful to know the filename of the document I am searching for (as it is on my hardcopy) and to know that it is "sept-mon-rpt-final" and not "sept-mon-rpt-mikes-edits". As my example suggests, the greatest utility of this is for version control.
    I do not want to type my filename into every draft document, I want them to insert themselves in the header in the same manner that Pages inserts the current date. This information, filename and pathname, is in the Mac system. Indeed, there is a reference to it in the Pages documentation.
    In Pages'08 Help - the page titled: "Working with Document Parts" under "using Headers and Footers" it says, "Add headers and footers to give your documents page-by-page identity by showing the date and time, page number, or filename and pathname."
    When you click on the link that says "Using Headers and Footers" you are taken to that page, where it says, "you can put your own text or graphics in a header or footer, and you can use formatted text fields. Formatted text fields allow you to insert text that is automatically updated. For example, inserting the date field shows the current date whenever you open the document. Similarly, page number fields keep track of page numbers as you add or delete pages."
    After this you hit a dead end.

  • Finder pathname display cluttered due to triangles and folder icons.

    For many years now I have been perturbed by the pathnames displayed at the bottom of the finder window.  Instead of following standard Unix conventions and seperating each pathname component with a slash, each is separated by a GUI-like representation of an office type folder.
    There have been more than a few times that a long pathname becomes so jumbled that I cannot make it out!  Spotlight is somewhat better as it has small flyout like triangles instead of file folders, but then the pathname goes away as soon as one lets loose of the keystrokes necessary to force spotlight to display the pathname. 
    This makes more difficult than it should be when a developer needs to navigate Terminal to a file buried deeply in the file hierarchy.
    Temporary fix?   Determine location of the the gif/png/jpg's used by 'folder' .  Move it aside and then link in a picture of a slash?
    Gowing forward, include a preference items which would allow users to select their own seperators and pathname display font.  Perhaps spotlight could always display the pathname, and CMD+OPTION-whatever would copy pathname into a paste buffer.   Of course, the pathname would be a 100% genuine Unix style pathname (at this point) so that users could  paste it into terminal and go directly to the file of interest.  It would be nice if a keyboard shortcut existed to do the same thing with the finder pathname.
    Can anybody help me with the names and locations of the jpegs / gifs used by folder and spotlight?  Would a file monitor be usefull in tracking down these two items?
    ps  A copy of this was originally posted in the Imac forum.  I meant to post it here. Forgive the duplicate post.

    I found it several years ago (Leopard time frame); back then I started making a list any time I found a terminal command that changed something you couldn't access directly thru a Preference menu. They just appear to pop up randomly from Mac related support sites, usually right after a new OS release.
    So the quick answer to your question is No, I don't think it is documented anywhere (by Apple, at least). It may be available documentation if you're a registered Apple Developer - I don't know...
    Here is one site that has some tips (this POSIX one is not in there, btw, so it's hit and miss)
    http://secrets.blacktree.com/?show=all
    If you're really fealing masochistic, you can search a domain for the types of arguments available by turning that around and doing "defaults read <domain>", but for a domain like 'com.apple.finder', you'll get a HUGE amount of data returned, and there are a fairly large number of domains. I think that must be how some people find out what can be modified, but I don't have that kind of patience  Good luck!

  • How to find out javascript application pathname?

    Hi all,
    I need to find out the javascript(.js) fileName and pathName via scripting. For example if i run the script from the outside of the illustrator location (c:\script\sample.js).  I need to find out the location of the scripting file(application path). Kindly share with me the possibilities. This is for "illustrator cs3".
    Thanks for looking into this...

    Hi,
    I am not aware of any spec defined way of finding out such info. There may be vendor specific APIs or mechanisms.
    But you can use environment entries in your deployment descriptors to specify the information and make use of the entries inside your j2ee component. That will make your code platform neutral.
    Sahoo

  • How to get the script pathname?

    I got the filename of javascript and pathname of javascript(not the active document file name) using the below javascript code in illustrator cs3.
    var path = $.fileName;
    But my problem was if i run the javascript through "extendscript toolkit" i got it correctly. But if i run my script through illustrator cs3 application(File->Scripts->test.jsx) i got some integer value only(did not get the javascript filepath and filename). Kindly advice how to get the javascript file name and file path in windows platform through illustrator cs3 javascript. Please help me.

    1. Although the team might put a lot of effort in keeping track on the forum, a lot of posts still go by without answer.
    2. If you have an enhancement request, log it at the announced SQL Developer Exchange, so others can vote to add weight on the issue. Be clear and detailed in the explanation.
    3. Given the structure of the application, I guess it won't be easy (maybe impossible) to add the functionality you are asking. Do you have a suggestion on how to access the info?
    4. If your request gets accepted, still another year or two may go by until the functionality gets added. For sure you'll be better off writing a user defined extension or report (querying DBMS_METADATA.GET_DDL).
    Hope that helps,
    K.
    Edited by: -K- on 12/01/2009 09:37

  • Search for folder-/pathname  -  PSE 8

    Hi!
    I have organized my pictures in folders on my hard-drive (e.g. c:\users\martin\pictures\2009\09-08_dublin).
    When I use the search in PS Elements and for example search for dublin it won't find anything. Is there an option to be turned on, so that Elements also searches for folder- and pathnames? Thanks in advance for your help!
    Martin

    This is a limitation of PSE 6, 7, and 8 -- FInd > By Filename, and in 7 and 8, the Search text box, only search through the filename, not the folder name.  The only way to "search" by folder name is to use Folder Location view, which is slow and buggy.

  • Not working properly Computer Browser service in Windows Server 2012

    Good afternoon.
    Migrated from 2003 to 2012 Active Directory, all is good, but the service Computer Browser in Windows Server 2012 is not working properly.
    Online, there are several hundred computers, one network, no segments. PDC is the Master Browser, it is in my list of all the computers, but gives customers or Backup Browser computers only part, and in alphabetical order, giving the first 70 computers and
    all.
    Looked packet sniffer:
    Microsoft Windows Lanman Remote API Protocol 
    Entry Count: 70 
    Available Entries: 251
    So on Master Browser shows 251 computer, and the client 70.
    If disabled on Windows Server 2012 Service Computer Browser, Master Browser is a computer running Windows Server 2003. He gives all computers.
    What is the problem, how to get Windows Server 2012 to work correctly as a Master Browser?

    More info. I have high lighted in bold where the issue is. This is a massive headache for me at the moment
      Frame: Number = 377, Captured Frame Length = 182, MediaType = ETHERNET
    - Ethernet: Etype = Internet IP (IPv4),DestinationAddress:[00-13-72-52-6E-A1],SourceAddress:[00-1E-0B-2B-68-DD]
      - DestinationAddress: Dell Inc. 526EA1 [00-13-72-52-6E-A1]
         Rsv: (000000..)
         UL:  (......0.) Universally Administered Address
         IG:  (.......0) Individual address (unicast)
      - SourceAddress: 001E0B 2B68DD [00-1E-0B-2B-68-DD]
         Rsv: (000000..)
         UL:  (......0.) Universally Administered Address
         IG:  (.......0) Individual address (unicast)
        EthernetType: Internet IP (IPv4), 2048(0x800)
    - Ipv4: Src = 10.44.46.101, Dest = 10.44.44.14, Next Protocol = TCP, Packet ID = 14025, Total IP Length = 168
      - Versions: IPv4, Internet Protocol; Header Length = 20
         Version:      (0100....) IPv4, Internet Protocol
         HeaderLength: (....0101) 20 bytes (0x5)
      - DifferentiatedServicesField: DSCP: 0, ECN: 0
         DSCP: (000000..) Differentiated services codepoint 0
         ECT:  (......0.) ECN-Capable Transport not set
         CE:   (.......0) ECN-CE not set
        TotalLength: 168 (0xA8)
        Identification: 14025 (0x36C9)
      - FragmentFlags: 16384 (0x4000)
         Reserved: (0...............)
         DF:       (.1..............) Do not fragment
         MF:       (..0.............) This is the last fragment
         Offset:   (...0000000000000) 0
        TimeToLive: 128 (0x80)
        NextProtocol: TCP, 6(0x6)
        Checksum: 0 (0x0)
        SourceAddress: 10.44.46.101
        DestinationAddress: 10.44.44.14
    - Tcp: Flags=...AP..., SrcPort=65372, DstPort=NETBIOS Session Service(139), PayloadLen=128, Seq=1910965363 - 1910965491, Ack=580319796, Win=252 (scale factor 0x8) = 64512
        SrcPort: 65372
        DstPort: NETBIOS Session Service(139)
        SequenceNumber: 1910965363 (0x71E70473)
        AcknowledgementNumber: 580319796 (0x2296FA34)
      - DataOffset: 80 (0x50)
         DataOffset: (0101....) 20 bytes
         Reserved:   (....000.)
         NS:         (.......0) Nonce Sum not significant
      - Flags: ...AP...
         CWR:    (0.......) CWR not significant
         ECE:    (.0......) ECN-Echo not significant
         Urgent: (..0.....) Not Urgent Data
         Ack:    (...1....) Acknowledgement field significant
         Push:   (....1...) Push Function
         Reset:  (.....0..) No Reset
         Syn:    (......0.) Not Synchronize sequence numbers
         Fin:    (.......0) Not End of data
        Window: 252 (scale factor 0x8) = 64512
        Checksum: 0x6F65, Disregarded
        UrgentPointer: 0 (0x0)
        TCPPayload: SourcePort = 65372, DestinationPort = 139
    - Nbtss: SESSION MESSAGE, Length =124
        PacketType: SESSION MESSAGE, 0(0x00)
      - Flags: Add 0 to Length
         Reserved: (0000000.)
         Extension: (.......0)Add 0 to Length
        Length: 124(0x7C)
    - SMB: C; Transaction, Remote Administration Protocol, FileName = \PIPE\LANMAN
        Protocol: SMB
        Command: Transaction 37(0x25)
      - NTStatus: 0x0, Facility = FACILITY_SYSTEM, Severity = STATUS_SEVERITY_SUCCESS, Code = (0) STATUS_SUCCESS
         Code:     (................0000000000000000) (0) STATUS_SUCCESS
         Facility: (...0000000000000................) FACILITY_SYSTEM
         Customer: (..0.............................) NOT Customer Defined
         Severity: (00..............................) STATUS_SEVERITY_SUCCESS
      - SMBHeader: Command, TID: 0x2001, PID: 0x276C, UID: 0x3801, MID: 0x0140
       - Flags: 24 (0x18)
          LockAndRead:     (.......0) LOCK_AND_READ and WRITE_AND_UNLOCK NOT supported (Obsolete) (SMB_FLAGS_LOCK_AND_READ_OK)
          NoAck:           (......0.) An ACK response is needed (SMB_FLAGS_SEND_NO_ACK[only applicable when SMB transport is NetBIOS over IPX])
          Reserved_bit2:   (.....0..) Reserved (Must Be Zero)
          CaseInsensitive: (....1...) SMB paths are case-insensitive (SMB_FLAGS_CASE_INSENSITIVE)
          Canonicalized:   (...1....) Canonicalized File and pathnames (Obsolete) (SMB_FLAGS_CANONICALIZED_PATHS)
          Oplock:          (..0.....) Oplocks NOT supported for OPEN, CREATE & CREATE_NEW (Obsolete) (SMB_FLAGS_OPLOCK)
          OplockNotify:    (.0......) Notifications NOT supported for OPEN, CREATE & CREATE_NEW (Obsolete) (SMB_FLAGS_OPLOCK_NOTIFY_ANY)
          FromServer:      (0.......) Command - SMB is being sent from the client (SMB_FLAGS_SERVER_TO_REDIR)
       - Flags2: 51207 (0xC807)
          KnowsLongFiles:            (...............1) Understands Long File Names (SMB_FLAGS2_KNOWS_LONG_NAMES)
          KnowsEas:                  (..............1.) Understands extended attributes (SMB_FLAGS2_KNOWS_EAS)
          SmbSecuritySignature:      (.............1..) Security signatures enabled (SMB_FLAGS2_SMB_SECURITY_SIGNATURE)
          Compressed:                (............0...) Compression Disabled for REQ_NT_WRITE_ANDX and RESP_READ_ANDX (SMB_FLAGS2_COMPRESSED)
          SecuritySignatureRequired: (...........0....) Security Signatures are NOT required (SMB_FLAGS2_SMB_SECURITY_SIGNATURE_REQUIRED)
          Reserved_bit5:             (..........0.....) Reserved (Must Be Zero)
          IsLongName:                (.........0......) DO NOT use Long File Names (SMB_FLAGS2_IS_LONG_NAME)
          Reserved_bits7_9:          (......000.......) Reserved (Must Be Zero)
          ReparsePath:               (.....0..........) NOT a Reparse path (SMB_FLAGS2_REPARSE_PATH)
          ExtendedSecurity:          (....1...........) Aware of extended security (SMB_FLAGS2_EXTENDED_SECURITY)
          Dfs:                       (...0............) NO DFS namespace (SMB_FLAGS2_DFS)
          Paging:                    (..0.............) Read operation will NOT be permitted unless user has permission (NO Paging IO) (SMB_FLAGS2_PAGING_IO)
          NTStatus:                  (.1..............) Using 32-bit NT status error codes (SMB_FLAGS2_NT_STATUS)
          Unicode:                   (1...............) Using UNICODE strings (SMB_FLAGS2_UNICODE)
         PIDHigh: 0 (0x0)
         SecuritySignature: 0x0
         Unused: 0 (0x0)
         TreeID: 8193 (0x2001)
         ProcessID: 10092 (0x276C)
         UserID: 14337 (0x3801)
         MultiplexID: 320 (0x140)
      - CTransaction:
         WordCount: 14 (0xE)
         TotalParameterCount: 32 (0x20)
         TotalDataCount: 0 (0x0)
         MaxParameterCount: 8 (0x8)
         MaxDataCount: 4200 (0x1068)
         MaxSetupCount: 0 (0x0)
         Reserved: 0 (0x0)
       - Flags: Do NOT disconnect TID
          Disconnect: (...............0) Do NOT disconnect TID
          NoResponse: (..............0.) Server response to the client
          Reserved:   (00000000000000..) Reserved
         Timeout: 5000 milli sec(s)
         Reserved2: 0 (0x0)
         ParameterCount: 32 (0x20)
         ParameterOffset: 92 (0x5C)
         DataCount: 0 (0x0)
         DataOffset: 0 (0x0)
         SetupCount: 0 (0x0)
         Reserved3: 0 (0x0)
         ByteCount: 61 (0x3D)
       - RemoteAPIBuffer:
        - FileName: \PIPE\LANMAN
         - Align: 1 Bytes
            AlignBytes: Binary Large Object (1 Bytes)
           Name: \PIPE\LANMAN
          Pad1: Binary Large Object (2 Bytes)
    - RAPRequest: NetServerEnum2 Request, InfoLevel = 1, SV_TYPE_ALL: All in NSNET
        RAPOpcode: NetServerEnum2
      - ParameterDescriptor: WrLehDz; 4 send, 1 receive parameter
         Param: (W) WORD (send parameter, 16 bit integer)
         Param: (r) Receive buffer (format in data descriptor) (receive data, 0 bit integer)
         Param: (L) Receive buffer length (send/receive parameter, 16/16 bit integer)
         Param: (e) Entries read (receive data, 0 bit integer)
         Param: (h) WORD (receive parameter, 16 bit integer)
         Param: (D) DWORD (send parameter, 32 bit integer)
         Param: (z) ASCIIZ (send parameter, 8 bit integer)
         Param: ASCII NUL (string terminator)
      - DataDescriptor: B16BBDz; data bytes send: 0, receive: 34
       - Datum: (B) BYTE[16] (receive data, 8 bit integer)
          Datum: (B) BYTE (receive data, 8 bit integer)
          Digit: 1
          Digit: 6
         Datum: (B) BYTE (receive data, 8 bit integer)
         Datum: (B) BYTE (receive data, 8 bit integer)
         Datum: (D) DWORD (receive data, 32 bit integer)
         Datum: (z) ASCIIZ* (receive data offset, 32 bit integer)
         Datum: ASCII NUL (string terminator)
      - NetServerEnum2: SV_TYPE_ALL: All in NSNET
         InfoLevel: (1) SERVER_INFO_1
         ReceiveBufferSize: 4200 (0x1068)
       - ServerType: SV_TYPE_ALL: All
          Workstation:      (...............................1) All workstations
          Server:           (..............................1.) All computers with the server service running
          Sqlserver:        (.............................1..) All running Microsoft SQL Server
          DomainCtrl:       (............................1...) All primary domain controllers
          DomainBakctrl:    (...........................1....) All backup domain controllers
          TimeSource:       (..........................1.....) All Time servers
          AFP:              (.........................1......) All Apple File Protocol servers
          Novell:           (........................1.......) All Novell servers
          DomainMember:     (.......................1........) All LAN Manager 2.x domain members
          PrintqServer:     (......................1.........) All print servers
          DialinServer:     (.....................1..........) All dial-in servers
          ServerUnix:       (....................1...........) All Unix/Xenix servers
          NT:               (...................1............) All Windows NT workstations or servers
          WFW:              (..................1.............) All Windows for Workgroups servers
          ServerMFPN:       (.................1..............) All Microsoft File and Print for NetWare servers
          ServerNT:         (................1...............) All non-domain controller servers
          PotentialBrowser: (...............1................) All servers that can run the browser service
          BackupBrowser:    (..............1.................) All backup browsers
          MasterBrowser:    (.............1..................) All master browsers
          DomainMaster:     (............1...................)  All domain master browsers
          Reserved1:        (..........11....................)
          Windows:          (.........1......................) All Windows 95 or later
          DFS:              (........1.......................) All DFS root servers
          ClusterNT:        (.......1........................) All NT Clusters
          Terminalserver:   (......1.........................) All Terminal Servers
          ClusterVSNT:      (.....1..........................) All NT Cluster Virtual Server Names
          DCE:              (....1...........................) AllIBM DSS (Directory & Security Services)
          Reserved2:        (...1............................)
          AlternateXport:   (..1.............................) Return list for alternate transport
          LocalListOnly:    (.1..............................) Return local list only
          DomainEnum:       (1...............................) Enumerate primary domain
         Domain: NSNET
    Then the reply;
        Frame: Number = 378, Captured Frame Length = 1514, MediaType = ETHERNET
    + Ethernet: Etype = Internet IP (IPv4),DestinationAddress:[00-1E-0B-2B-68-DD],SourceAddress:[00-13-72-52-6E-A1]
    + Ipv4: Src = 10.44.44.14, Dest = 10.44.46.101, Next Protocol = TCP, Packet ID = 27036, Total IP Length = 1500
    + Tcp: Flags=...A...., SrcPort=NETBIOS Session Service(139), DstPort=65372, PayloadLen=1460, Seq=580319796 - 580321256, Ack=1910965491, Win=253 (scale factor 0x8) = 64768
    + Nbtss: SESSION MESSAGE, Length =2013
    + SMB: R; Transaction, Remote Administration Protocol
    - RAPResponse: NetServerEnum2 Response, Count = 31
        Win32ErrorCode: 0x00000000 - ERROR_SUCCESS - The operation completed successfully.
        Converter: 2251 (0x8CB)
      - NetServerEnum2: Count = 31
         EntriesReturned: 31 (0x1F)
         EntriesAvailable: 31 (0x1F)
       + NetServerInfo1: APOLLO
       + NetServerInfo1: ARTEMIS
       + NetServerInfo1: ASKLEPIOS
       + NetServerInfo1: CASTOR
       + NetServerInfo1: DCC4503-131L
       + NetServerInfo1: DCC4503-155L
       + NetServerInfo1: DCC4503-157L
       + NetServerInfo1: DCC4503-161L
       + NetServerInfo1: DCC4503-171L
       + NetServerInfo1: DCC4503-172L
       + NetServerInfo1: DCC4503-175L
       + NetServerInfo1: DCC4503-177L
       + NetServerInfo1: DCC4503-183L
       + NetServerInfo1: DCC4503-184L
       + NetServerInfo1: DCC4503-185L
       + NetServerInfo1: DCC4503-188L
       + NetServerInfo1: DCC4503-196L
       + NetServerInfo1: DCC4503-197L
       + NetServerInfo1: DCC4503-199L
       + NetServerInfo1: DCC4503-202L
       + NetServerInfo1: DCC4503-203L
       + NetServerInfo1: DCC4503-205L
       + NetServerInfo1: DCC4503-210L
       + NetServerInfo1: DCC4503-213L
       + NetServerInfo1: DCC4503-219L
       + NetServerInfo1: DCC4503-220L
       + NetServerInfo1: DCC4503-228L
       + NetServerInfo1: DCC4503-233L
       + NetServerInfo1: DCC4503-234L
       + NetServerInfo1: DCC4503-236L
       + NetServerInfo1: DCC4503-241L
        StringData: Binary Large Object (586 Bytes)

  • How to get tomcat installtion path, java path n documents path in a servlet

    may someone help me get the folder and pathname for tomcat, java path and library path and also the pathname where the jsp documents are stored.
    Thanks in advance
    null

    Have a look at System.getEnv(String) and System.getProperties();
    String tomcatHome = System.getEnv("CATALINA_HOME");
    Properties props = System.getProperties();
              Enumeration<Object> keys =  props.keys();
              while(keys.hasMoreElements())
                   String key = (String) keys.nextElement();
                   String prop = System.getProperty(key);
                   System.out.println(key +" : " + prop);
              }

  • Indexing files in multiple folders

    Dear all,
    I would like to ask is it possible to index files in multiple folders. To my understanding, Oracle Text seems can only create an index for files in a single folder. if this is true , then i think it will restrict us to search for files that have same file name. So I would like to ask if there are any work around to solve this problem.
    Thanks in advance,
    Edward

    Yes you can index files in multiple folders. Either you enter multiple paths in the path variable seperated by colon (:) under UNIX or semicolon(;) under NT.
    The other possibility is to leave the path variable blank but then the column you build the index on needs to store the whole file and pathname.
    Hope this helps
    Joerg

  • Microsoft Windows Unquoted Service Path Enumeration.

    I seek for your advice in a security issue and how to mitigate this high risk vulnerability.
    Microsoft Windows Unquoted Service Path Enumeration.
    Microsoft Windows Unquoted Service Path EnumerationMicrosoft Windows Unquoted Service Path Enumeration
    Synopsis
    The remote Windows host has at least one service installed that uses an unquoted service path.
    Description
    The remote Windows host has at least one service installed that uses an unquoted service path, which contains at least one whitespace. A local attacker could
    gain elevated privileges by inserting an executable file in the path of the affected service.

    As long as we are piling on late responses, here is the script one of our talented SCCM engineers wrote to fix affected systems.  The first code snippet is used in SCCM 2007 to fix clients.  Further down are the detection and remediation scripts
    used in SCCM 2012 as part of Desired Configuration Management (DCM).
    Const HKEY_LOCAL_MACHINE = &H80000002
    const REGKEYPATH = "System\CurrentControlSet\Services\"
    Dim arrValues, Results, arrReturn()
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    Set objListOfServices = objWMIService.ExecQuery("Select * from Win32_Service Where Name IS NOT NULL and PathName LIKE '% %.exe%' and NOT PathName Like '""%'")
    For Each objService in objListOfServices
    Results = ReadRegExpandStr (HKEY_LOCAL_MACHINE,REGKEYPATH & objService.name,"ImagePath",32)
    ' Results = ReadRegStr(HKEY_LOCAL_MACHINE,REGKEYPATH & objService.name,"ImagePath",32)
    Results = Chr(34) & Replace(Results,".exe",".exe" & Chr(34),1,1,1)
    Wscript.Echo objService.name & " ; " & Results
    SetRegExpandStr HKEY_LOCAL_MACHINE,REGKEYPATH & objService.name,"ImagePath",Results,32
    Next
    'Reads a REG_EXPAND_SZ value from the local computer's registry using WMI
    Function ReadRegExpandStr (RootKey, Key, ValueName, RegType)
    Dim oCtx, oLocator, oReg, oInParams, oOutParams,strComputer,strValue
    Set oCtx = CreateObject("WbemScripting.SWbemNamedValueSet")
    oCtx.Add "__ProviderArchitecture", RegType
    Set oLocator = CreateObject("Wbemscripting.SWbemLocator")
    strComputer = "."
    Set oReg = oLocator.ConnectServer(strComputer, "root\default", "", "", , , , oCtx).Get("StdRegProv")
    Set oInParams = oReg.Methods_("GetExpandedStringValue").InParameters.SpawnInstance_()
    oInParams.hDefKey = RootKey
    oInParams.sSubKeyName = Key
    oInParams.sValueName = ValueName
    Set oOutParams = oReg.ExecMethod_("GetExpandedStringValue", oInParams, , oCtx)
    If IsNull(oOutParams.sValue) Then
    ReadRegExpandStr = "Unknown"
    Else
    Wscript.Echo Cstr(oOutParams.sValue)
    ReadRegExpandStr = Cstr(oOutParams.sValue)
    End If
    End Function
    'Creates a REG_EXPAND_SZ value in the local computer's registry using WMI
    Function SetRegExpandStr (RootKey, Key, ValueName, Value, RegType)
    Dim oCtx, oLocator, oReg, oInParams, oOutParams,strComputer
    Set oCtx = CreateObject("WbemScripting.SWbemNamedValueSet")
    oCtx.Add "__ProviderArchitecture", RegType
    Set oLocator = CreateObject("Wbemscripting.SWbemLocator")
    strComputer = "."
    Set oReg = oLocator.ConnectServer(strComputer, "root\default", "", "", , , , oCtx).Get("StdRegProv")
    Set oInParams = oReg.Methods_("SetExpandedStringValue").InParameters.SpawnInstance_()
    oInParams.hDefKey = RootKey
    oInParams.sSubKeyName = Key
    oInParams.sValueName = ValueName
    oInParams.sValue = Value
    Set oOutParams = oReg.ExecMethod_("SetExpandedStringValue", oInParams, , oCtx)
    End function
    'Reads a REG_SZ value from the local computer's registry using WMI
    Function ReadRegStr (RootKey, Key, Value, RegType)
    Dim oCtx, oLocator, oReg, oInParams, oOutParams,strComputer
    Set oCtx = CreateObject("WbemScripting.SWbemNamedValueSet")
    oCtx.Add "__ProviderArchitecture", RegType
    Set oLocator = CreateObject("Wbemscripting.SWbemLocator")
    strComputer="."
    Set oReg = oLocator.ConnectServer(strComputer, "root\default", "", "", , , , oCtx).Get("StdRegProv")
    Set oInParams = oReg.Methods_("GetStringValue").InParameters
    oInParams.hDefKey = RootKey
    oInParams.sSubKeyName = Key
    oInParams.sValueName = Value
    Set oOutParams = oReg.ExecMethod_("GetStringValue", oInParams, , oCtx)
    If IsNull(oOutParams.sValue) Then
    ReadRegStr = "Unknown"
    Else
    Wscript.Echo Cstr(oOutParams.sValue)
    ReadRegStr = Cstr(oOutParams.sValue)
    End If
    End Function
    SCCM 2012 DCM - Detection of unquoted services
    Dim strComputer, objWMIService, objListOfServices
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    Set objListOfServices = objWMIService.ExecQuery("Select * from Win32_Service Where Name IS NOT NULL and PathName LIKE '% %.exe%' and NOT PathName Like '""%'")
    If objListOfServices.Count = 0 Then
    WScript.Echo "No unquoted service path was found"
    Else
    Wscript.Echo "Found an unquoted Service Path"
    End If
    SCCM 2012 DCM remediation script
    Const HKEY_LOCAL_MACHINE = &H80000002
    const REGKEYPATH = "System\CurrentControlSet\Services\"
    Dim arrValues, Results, arrReturn(), sArgString
    Set objArgs = WScript.Arguments
    If objArgs.count > 0 then
    sArgString = wscript.arguments(0)
    If sArgString = "failed" Then
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
    Set objSystemItems = objWMIService.ExecQuery("Select * from Win32_ComputerSystem")
    For Each objItem in objSystemItems
    strSystemType = objItem.SystemType
    Next
    If strSystemType = "X86-based PC" then
    i = 32
    Else
    i = 64
    End If
    Set objListOfServices = objWMIService.ExecQuery("Select * from Win32_Service Where Name IS NOT NULL and PathName LIKE '% %.exe%' and NOT PathName Like '""%'")
    For Each objService in objListOfServices
    Results = ReadRegExpandStr (HKEY_LOCAL_MACHINE,REGKEYPATH & objService.name,"ImagePath",i)
    ' Results = ReadRegStr(HKEY_LOCAL_MACHINE,REGKEYPATH & objService.name,"ImagePath",i)
    Results = Chr(34) & Replace(Results,".exe",".exe" & Chr(34),1,1,1)
    Wscript.Echo objService.name & " ; " & Results & vbcrlf
    ' SetRegExpandStr HKEY_LOCAL_MACHINE,REGKEYPATH & objService.name,"ImagePath",Results,i
    Next
    End If
    End If
    'Reads a REG_EXPAND_SZ value from the local computer's registry using WMI
    Function ReadRegExpandStr (RootKey, Key, ValueName, RegType)
    Dim oCtx, oLocator, oReg, oInParams, oOutParams,strComputer,strValue
    Set oCtx = CreateObject("WbemScripting.SWbemNamedValueSet")
    oCtx.Add "__ProviderArchitecture", RegType
    Set oLocator = CreateObject("Wbemscripting.SWbemLocator")
    strComputer = "."
    Set oReg = oLocator.ConnectServer(strComputer, "root\default", "", "", , , , oCtx).Get("StdRegProv")
    Set oInParams = oReg.Methods_("GetExpandedStringValue").InParameters.SpawnInstance_()
    oInParams.hDefKey = RootKey
    oInParams.sSubKeyName = Key
    oInParams.sValueName = ValueName
    Set oOutParams = oReg.ExecMethod_("GetExpandedStringValue", oInParams, , oCtx)
    If IsNull(oOutParams.sValue) Then
    ReadRegExpandStr = "Unknown"
    Else
    Wscript.Echo Cstr(oOutParams.sValue)
    ReadRegExpandStr = Cstr(oOutParams.sValue)
    End If
    End Function
    'Creates a REG_EXPAND_SZ value in the local computer's registry using WMI
    Function SetRegExpandStr (RootKey, Key, ValueName, Value, RegType)
    Dim oCtx, oLocator, oReg, oInParams, oOutParams,strComputer
    Set oCtx = CreateObject("WbemScripting.SWbemNamedValueSet")
    oCtx.Add "__ProviderArchitecture", RegType
    Set oLocator = CreateObject("Wbemscripting.SWbemLocator")
    strComputer = "."
    Set oReg = oLocator.ConnectServer(strComputer, "root\default", "", "", , , , oCtx).Get("StdRegProv")
    Set oInParams = oReg.Methods_("SetExpandedStringValue").InParameters.SpawnInstance_()
    oInParams.hDefKey = RootKey
    oInParams.sSubKeyName = Key
    oInParams.sValueName = ValueName
    oInParams.sValue = Value
    Set oOutParams = oReg.ExecMethod_("SetExpandedStringValue", oInParams, , oCtx)
    End function
    'Reads a REG_SZ value from the local computer's registry using WMI
    Function ReadRegStr (RootKey, Key, Value, RegType)
    Dim oCtx, oLocator, oReg, oInParams, oOutParams,strComputer
    Set oCtx = CreateObject("WbemScripting.SWbemNamedValueSet")
    oCtx.Add "__ProviderArchitecture", RegType
    Set oLocator = CreateObject("Wbemscripting.SWbemLocator")
    strComputer="."
    Set oReg = oLocator.ConnectServer(strComputer, "root\default", "", "", , , , oCtx).Get("StdRegProv")
    Set oInParams = oReg.Methods_("GetStringValue").InParameters
    oInParams.hDefKey = RootKey
    oInParams.sSubKeyName = Key
    oInParams.sValueName = Value
    Set oOutParams = oReg.ExecMethod_("GetStringValue", oInParams, , oCtx)
    If IsNull(oOutParams.sValue) Then
    ReadRegStr = "Unknown"
    Else
    Wscript.Echo Cstr(oOutParams.sValue)
    ReadRegStr = Cstr(oOutParams.sValue)
    End If
    End Function

  • Edit iPhoto library from 2 computers ...

    Hi,
    I want to edit my iPhoto library from my 2 computers:  my iMac and my MacBook Air.  I have a Time Capsule that I use for backup purpose with Carbon Copy Cloner but not as Time Machine destination.
    I found this link that explains how to be able to edit my iPhoto library from 2 computers.  I wonder if I can use my Time Capsule to put my iPhoto library ?  I am not able to change the option to «Ignore Permissions on this volume» ... of my Time Capsule. 
    Can I use my Time Capsule to share my iPhoto library ?
    Thanks in advance.
    Robert Lespérance

    Is there any NAS drive that I can use with the «Ignore Permissions on this volume» selected for this purpose ?
    No.
    The NAS software will prevent this, and the file system will be wrong.
    You need the File System Mac OS Extended (Journaled) to prevent ambiguous filenames and pathnames.
    And iPhoto is not supported on network volumes. See http://support.apple.com/en-us/TS5168
    iPhoto libraries should be stored on a locally mounted Mac OS X Extended drive for best performance.
    You are risking data loss and poor performance on a network volume. iPhoto has not been designed as a network database.

  • In OPEN DATASET Statement Filenames are platform-specific How to specify MS

    In OPEN DATASET Statement
    Filenames are platform-specific. You must therefore use file- and pathnames that conform to the rules of the operating system under which your R/3 System is running. However, you can also use logical filenames to ensure that your programs are not operating system-specific. For further information, refer to Using Platform-Independent Filenames.
    DATA FNAME(60).
    FNAME = '/tmp/myfile'.
    OPEN DATASET 'myfile'.
    OPEN DATASET FNAME.
    This example works as long as your R/3 System is running under UNIX. The program opens the file "myfile" in the directory in which the R/3 System is running, and also opens the file "myfile" in directory "/tmp".
    FNAME = '[TMP]myfile.BIN'
    OPEN DATASET 'myfile.BIN'.
    question]]  How to specify an MS-file & how to go about?

    Hi,
    Just get the input file name from the application server through selection screen and keep it in parameter(p_inpfile).
    Then pass the parameter to OPEN DATASET statement.
    OPEN DATASET p_inpfile FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc NE 0.
        WRITE :/ text-004.                                   "'No such input file' COLOR 3.
        EXIT.
      ELSE.
        DO.
          CLEAR : wa_string,wa_0001.
    *Reading the file from application server and moving to work area*
          READ DATASET p_inpfile INTO wa_string.
          IF sy-subrc NE 0.
            EXIT.
          ELSE.
            CLEAR wa_0001.
    *Spliting fields in the file-
            REPLACE ALL OCCURRENCES OF '#' IN wa_string WITH ' '.
            SPLIT wa_string AT c_htab INTO wa_0001-pernr
                                           wa_0001-werks       "Personnel Area
                                           wa_0001-persk       "Employee Sub-Group
                                           wa_0001-vdsk1       "Org. Key
                                           wa_0001-abkrs       "Payroll area
                                           wa_0001-ansvh.      "Work contract
            wa_0001-begda = p_efdate.
            wa_0001-endda = '99991231'.
            APPEND wa_0001 TO int_0001.
          ENDIF.
        ENDDO.
        CLOSE DATASET p_inpfile.
    Use like this and pass all those values to internal table.
    Thanks,
    Sakthi C
    *Rewards if useful*

  • Guide to pentium Ms

    Hi, I recently put Arch on my Dell Inspiron 8600, and I was wondering if anyone had come across or writen any guides to getting the cpu frequency scaling to work reliably.  I am not concerned with acpi, but on getting my computer to scale back to 600 mhz from 1.5 ghz when I switch to batter power. 
    Thanks for your help.

    LB06 wrote:
    Or you just modprobe governor_ondemand and echo ondemand to /sys/devices/system/cpu/cpu0/scaling_governor. It's a much easier and cleaner way to get dynamic scaling working imo.
    I don't have my laptop with me, so I am not sure about the module name and pathname.
    I second this; no need for deamons doing the stepping for you this way. It works like a charm.
    I use ondemand when it's on AC and powersave when it switches to battery.

Maybe you are looking for