Extract cab file contents

I have a large number of .cab files used in custom application installs. I need to extract a .ini file from each .cab file and then read several specific lines from each .ini file. I have not been able to find way to open and extract the contents of a .cab file with LabView, any ideas? 

rythm9 wrote:
I have a large number
of .cab files used in custom application installs. I need to extract a
.ini file from each .cab file and then read several specific lines
from each .ini file. I have not been able to find way to open
and extract the contents of a .cab file with LabView, any
ideas? 
CAB file is a proprietary file
format from Microsoft. LabVIEW does not have any built in functionality
to deal with cab files. However you created them somehow apparently so
then you should know how to extract something from them too.
The simplest solution is to use the system utility extract.exe. It
comes with every Windows install and does know how to deal with CAB
files. Check out http://www.modem-help.co.uk/help/cab.html for an
explanation of the extract.exe command line. You can call that
extract.exe command with System Exec.vi.
Rolf Kalbermatter
Message Edited by rolfk on 10-20-2005 03:41 PM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • How to extract original file contents from content server

    Hi,
    1)How can we extract original file contents from the content server (which in our case is SAP database itself)...
    2)What exactly is PHIO_ID and LOIO_ID?
    Thanks and regards,
    Santhosh Kumar U.P

    Hi,
    concerning your first question - please decribe, what you are trying to do.
    Question 2:
    LOIO_ID is the ID of the Logical Information Object. A LOIO is not a real document, but kind of a virtual document, a containerfor all "real" versions of a document. A PHIO (physical info object) is a real document.
    you can read more at http://sercie.sap.com/Kpro
    Kind regards,
    Carl

  • An error occurred while attempting to install the BizTalk application: Failed extracting CAB files.

    Ok I have a BizTalk Application that's called :
    FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200
    I know that is a long name but why should I be punisched when I create an installer for that. I also have a WebService that exposes this schema. And this webservice is stored inside the MSI cab files. So far so good.
    But now when I try to install this MSI alongside all my other MSI's I get the following message :
    Failed to extract file "C:\Program Files\Generated by BizTalk\FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200\36FAA7B1-99DE-4AF6-A910-ED56D02D84EF\WebDirectory\-FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200.WES\App_Data\FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200.Schemas.FinancieleOpdrachtLogistiekMiddel_v0200.xsd".
    (Length=306)
    The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters., (NULL), (NULL), (NULL).
    If i could install in C:\Program Files\Generated by BizTalk\FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200 but the extraction would take place in d:\temp or whatever, I would not have a problem. But unfortunately it extracts in a subdir of an already
    very long path......
    Is there anybody who knows how to solve this... (can I tell the MSI to use D:\TEMP\ as an extract folder).
    And using shorter names is not an option.
    Well0549, Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread

    You can control the destination path of resources in your MSI by modifying them in the Resources folder of a BizTalk application.
    %BTAD_InstallDir% defaults to C:\Program Files\Generated by BizTalk\... etc etc.  You can put in whatever you like here.
    You can get more granular control over the resources by using the
    BTSTask.exe tool.
    If you can tell me how to make the extract process of he cabs point to c:\temp i will be happy to use BTSTASK (wich i am already doing). But the problem is with the extraction oft he web service. It will extract to :
    C:\Program Files\Generated by BizTalk\FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200\36FAA7B1-99DE-4AF6-A910-ED56D02D84EF\WebDirectory\-FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200.WES\App_Data\FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200.Schemas.FinancieleOpdrachtLogistiekMiddel_v0200.xsd
    Wich is just to long. I want the cabs to extract to c:\temp or something like that.....
    Well0549, Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread

  • Error occurred in deployment step 'Add Solution': Failed to extract the cab file in the solution.

    I have received the follwoing error when I depoly the custom masterpage with css, images, javascript files:
    Error occurred in deployment step 'Add Solution': Failed to extract the cab file in the solution.
    Any help will soon is appreciated.

    Hi Bagalur,
    Thanks for your sharing. It will help others who stuck will the same issue.
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jerry Guo
    TechNet Community Support

  • Data1.cab file not extracted when installing Acrobat X on windows under VMWare Fusion 4.0

    When extracting the files to the installation folder, the Data1.cab file is created but it is o kb value. Then when running the setup file, there is an error generated because the setup cannot see a valid data1.cab file

    Manish_1988,
    Thanks for the suggestion but after trying all of the suggestions, I still
    did not have any success.
    I ended up extracting the install files while I was in Oracle Virtual Box
    then used the install files when I was in VMWare Fusion. A bit convoluted
    but it worked.
    Again, thanks anyway.
    Greg Lewins

  • Error occured in deployment step "retract solution".Failed to extract the cab file in the solution.

    Hi,
    I'm a sharepoint newbie.I'm getting this error (Error occured in deployment step "retract solution".Failed to extract the cab file in the solution. ) when i try to deploy the solution through visual studio 2012.I did some research and tried
    the following ways but nothing helped me.
    Checked all the file names for any special characters but could not find one.
    Recycled the application pool--no use
    Checked the wsp file--it doesnt have any duplicate files.
    If anyone can help me with this ,it would be great.Spent one whole day to fix this but couldn't achieve anything.
    Thanks !

    Hi,
    Any update?
    I suggest you provide some screenshots or your project structure for further research.
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Wsusscn2.cab file does not contain information of the Bulletins released in November.

    MS released 16 new bulletins this November on Patch Tuesday.
    However all our attempts to acquire any of the new patches failed.
    Our initial investigation shows that information for these bulletins has not been added to wsusscn2.cab . we are completely dependent on this file for all the bulletin information and at this moment it appears that this cab file
    has not been updated with the latest information. Extraction of the cab file shows that the last updated date if the internal files is 27th/28thOctober.
    There is a package.xml file in the cab and that file would normally contain URL’s for the new patches.
    I noticed the year and the month url’s only up until the last month. There are no entries for the month of November. Hence the patch acquisition cannot find information related
    to the new bulletins 

    Hello,
    The TechNet Wiki Forum is a place for the TechNet Wiki Community to engage, question, organize, debate, help, influence and foster the TechNet Wiki content, platform and Community.
    Please note that this forum exists to discuss TechNet Wiki as a technology/application.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Extracting additional files, where? (CS3)

    I am running AECS3 at work. We had to put in a new hard drive, which meant wiping out AE and installing it on the new HDD. However, I kept getting an error message that there were additional files that need to be installed, and all of my CC effects are gone. So, I had my IT guy download the file with all of the effects (837MB). However, I don't know where to extract the files. I tried both Support Files>Presets and Support Files>Plug-ins, but neither works. I looked on the Adobe site and couldn't find any info that would help. Could someone please tell me where to extract them to?
    Thanks in advance

    I'm running Windows XP. The software was correctly installed as an administrator (since this is a large corporation, the IT security requires that), however not all of the effects were installed due to some nonsensical decision on Adobe's part to make some of the effects a separate install then not provide adequate documentation.
    The exact error message I receive is "Additional File Formats and Effects Installation: After Effects was unable to install additional file formats and effects. Please reinstall from the original installer with a serial number."
    Note that it doesn't matter if we uninstall then reinstall or try another install over the top of the existing install. That's because the missing effects are NOT included with the original installer. This includes ALL of the CC effects as well as Keylight and probably some others. There is also content missing from Encore. This happened previously when we had to reformat the old drive about 6 months ago. However my IT guy doesn't remember where or how he installed the additional effects because he supports about 1000 people every day so remembering something like this after that period of time is next to impossible.
    I extracted the files to my desktop and here's the file structure (I'm not sure if it'll help, but maybe it's worth a shot) Desktop\Adobe CS3\After Effects\Adobe CS3\payloads\AdobeAfterEffects8All\AdobeAfterEffects8All1.cab and the .cab folder contains a whole bunch of files. If I hit Select All and right click on them I get an extract option. But where would I extract them to? There are so many that I really don't want to have go back in and try to figure out which ones to remove if I put them in the wrong place.
    Adobe documentation regarding this is either nonexistent or buried somewhere

  • How to install MSFT application security updates in cab file format using DISM

    Hi,
    I tried to install security updates for MS Office which are cab files like any other windows security updates cab file. It is giving an error called "file not found". But other windows security updates cab files are installing fine without any error.
    I tried to install these updates manually using DISM on commandline. It is not installing. I even tried using pkgmgr.exe, but that is not working either. I looked at DISM logs which is saying it failed opening the cab file. I tried different other commandline
    options of DISM to install this, but nothing else is suitable for a cab file install.
    Does anyone know how to install a cab file for application security updates via DISM.exe or other MSFT commandline tools?
    Thanks,
    ANSA
    DISM log:
    =======
    2015-02-25 14:42:59, Info                  DISM   PID=4916 Scratch directory set to 'C:\Windows\TEMP\'. - CDISMManager::put_ScratchDir
    2015-02-25 14:42:59, Info                  DISM   PID=4916 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadImageSession
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Failed to get and initialize the PE Provider.  Continuing by assuming that
    it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Provider has previously been initialized.  Returning the existing instance.
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Provider has previously been initialized.  Returning the existing instance.
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Manager: PID=4916 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Provider has previously been initialized.  Returning the existing instance.
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE:
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: <----- Starting Dism.exe session ----->
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE:
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Host machine information: OS Version=6.1.7601, Running architecture=amd64, Number of processors=4
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Executing command line: "C:\Windows\System32\Dism.exe" /online /add-package /packagepath:"C:\ProgramData\Application
    Data\Autonomic\ANSA Patch Manager\_Installs\mscomctlocx-x-none_8699d53bec82460b948612f4f35d2f6a0ad018f4.cab" /ignorecheck /norestart
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Getting Provider FolderManager - CDISMProviderStore::GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Provider has not previously been encountered.  Attempting to initialize the
    provider. - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Getting Provider FolderManager - CDISMProviderStore::GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=4916 Provider has previously been initialized.  Returning the existing instance.
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Manager: PID=4916 Successfully loaded the ImageSession at "C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B"
    - CDISMManager::LoadImageSession
    2015-02-25 14:42:59, Info                  DISM   DISM Image Session: PID=11836 Instantiating the Provider Store. - CDISMImageSession::get_ProviderStore
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Initializing a provider store for the IMAGE session type. - CDISMProviderStore::Final_OnConnect
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has not previously been encountered.  Attempting to initialize the
    provider. - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Loading Provider from location C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\OSProvider.dll
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Connecting to the provider located at C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\OSProvider.dll.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM OS Provider: PID=11836 Defaulting SystemPath to C:\ - CDISMOSServiceManager::Final_OnConnect
    2015-02-25 14:42:59, Info                  DISM   DISM OS Provider: PID=11836 Defaulting Windows folder to C:\Windows - CDISMOSServiceManager::Final_OnConnect
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Attempting to initialize the logger from the Image Session. - CDISMProviderStore::Final_OnConnect
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has not previously been encountered.  Attempting to initialize the
    provider. - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Loading Provider from location C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\LogProvider.dll
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Connecting to the provider located at C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\LogProvider.dll.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Getting Provider OSServices - CDISMProviderStore::GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has previously been initialized.  Returning the existing instance.
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has not previously been encountered.  Attempting to initialize the
    provider. - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Loading Provider from location C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\PEProvider.dll
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Warning               DISM   DISM Provider Store: PID=11836 Failed to Load the provider: C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\PEProvider.dll.
    - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e)
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Failed to get and initialize the PE Provider.  Continuing by assuming that
    it is not a WinPE image. - CDISMProviderStore::Final_OnConnect
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Getting Provider DISMLogger - CDISMProviderStore::GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has previously been initialized.  Returning the existing instance.
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Manager: PID=4916 Image session successfully loaded from the temporary location: C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B
    - CDISMManager::CreateImageSession
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Getting Provider OSServices - CDISMProviderStore::GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has previously been initialized.  Returning the existing instance.
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe"
    : got STATUS_OBJECT_PATH_NOT_FOUND
    2015-02-25 14:42:59, Info                  CSI    00000002 Shim considered [l:250{125}]"\??\C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe"
    : got STATUS_SUCCESS
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Target image information: OS Version=6.1.7601.17592, Image architecture=amd64
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Getting the collection of providers from an image provider store type. - CDISMProviderStore::GetProviderCollection
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has not previously been encountered.  Attempting to initialize the
    provider. - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Loading Provider from location C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\CbsProvider.dll
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Connecting to the provider located at C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\CbsProvider.dll.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Encountered a servicing provider, performing additional servicing initializations.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe"
    : got STATUS_OBJECT_PATH_NOT_FOUND
    2015-02-25 14:42:59, Info                  CSI    00000002 Shim considered [l:250{125}]"\??\C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe"
    : got STATUS_SUCCESS
    2015-02-25 14:42:59, Info                  DISM   DISM Package Manager: PID=11836 Finished initializing the CbsConUI Handler. - CCbsConUIHandler::Initialize
    2015-02-25 14:42:59, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe"
    : got STATUS_OBJECT_PATH_NOT_FOUND
    2015-02-25 14:42:59, Info                  CSI    00000002 Shim considered [l:250{125}]"\??\C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe"
    : got STATUS_SUCCESS
    2015-02-25 14:42:59, Info                  DISM   DISM Package Manager: PID=11836 CBS is being initialized for online use. More information about CBS actions can
    be located at: %windir%\logs\cbs\cbs.log - CDISMPackageManager::Initialize
    2015-02-25 14:42:59, Info                  DISM   DISM Package Manager: PID=11836 Loaded servicing stack for online use only. - CDISMPackageManager::RefreshInstanceAndLock
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has not previously been encountered.  Attempting to initialize the
    provider. - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Loading Provider from location C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\MsiProvider.dll
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Connecting to the provider located at C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\MsiProvider.dll.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Encountered a servicing provider, performing additional servicing initializations.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has not previously been encountered.  Attempting to initialize the
    provider. - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Loading Provider from location C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\IntlProvider.dll
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Connecting to the provider located at C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\IntlProvider.dll.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Encountered a servicing provider, performing additional servicing initializations.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has not previously been encountered.  Attempting to initialize the
    provider. - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Loading Provider from location C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\DmiProvider.dll
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Connecting to the provider located at C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\DmiProvider.dll.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Encountered a servicing provider, performing additional servicing initializations.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  CSI    00000001 Shim considered [l:256{128}]"\??\C:\Windows\Servicing\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe"
    : got STATUS_OBJECT_PATH_NOT_FOUND
    2015-02-25 14:42:59, Info                  CSI    00000002 Shim considered [l:250{125}]"\??\C:\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7601.17592_none_672ce6c3de2cb17f\pkgmgr.exe"
    : got STATUS_SUCCESS
    2015-02-25 14:42:59, Info                  DISM   DISM OS Provider: PID=11836 Successfully loaded the hive. - CDISMOSServiceManager::DetermineBootDrive
    2015-02-25 14:42:59, Info                  DISM   DISM Driver Manager: PID=11836 Further logs for driver related operations can be found in the target operating
    system at %WINDIR%\inf\setupapi.offline.log - CDriverManager::Initialize
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has not previously been encountered.  Attempting to initialize the
    provider. - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Loading Provider from location C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\UnattendProvider.dll
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Connecting to the provider located at C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\UnattendProvider.dll.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Encountered a servicing provider, performing additional servicing initializations.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has not previously been encountered.  Attempting to initialize the
    provider. - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Loading Provider from location C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\SmiProvider.dll
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Connecting to the provider located at C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\SmiProvider.dll.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Encountered a servicing provider, performing additional servicing initializations.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has not previously been encountered.  Attempting to initialize the
    provider. - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Loading Provider from location C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\TransmogProvider.dll
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Connecting to the provider located at C:\Windows\TEMP\7D6E845E-B72B-4EAC-B1F4-E853B46FBB3B\TransmogProvider.dll.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Encountered a servicing provider, performing additional servicing initializations.
    - CDISMProviderStore::Internal_LoadProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Getting Provider DISM Package Manager - CDISMProviderStore::GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has previously been initialized.  Returning the existing instance.
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Getting Provider DISM Unattend Manager - CDISMProviderStore::GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has previously been initialized.  Returning the existing instance.
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Package Manager
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: DISM Package Manager.
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: OSServices
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: MsiManager
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: MsiManager.
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: IntlManager
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: IntlManager.
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DriverManager
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: DriverManager.
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Unattend Manager
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: DISM Unattend Manager.
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: SmiManager
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Attempting to add the commands from provider: Edition Manager
    2015-02-25 14:42:59, Info                  DISM   DISM Transmog Provider: PID=11836 Current image session is [ONLINE] - CTransmogManager::GetMode
    2015-02-25 14:42:59, Info                  DISM   DISM.EXE: Succesfully registered commands for the provider: Edition Manager.
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Getting Provider DISM Package Manager - CDISMProviderStore::GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Provider has previously been initialized.  Returning the existing instance.
    - CDISMProviderStore::Internal_GetProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Package Manager: PID=11836 Processing the top level command token(add-package). - CPackageManagerCLIHandler::Private_ValidateCmdLine
    2015-02-25 14:42:59, Info                  DISM   DISM Package Manager: PID=11836 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine
    2015-02-25 14:42:59, Info                  DISM   DISM Package Manager: PID=11836 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
    2015-02-25 14:42:59, Info                  DISM   DISM Package Manager: PID=11836 Encountered the option "packagepath" with value "C:\ProgramData\Application
    Data\Autonomic\ANSA Patch Manager\_Installs\mscomctlocx-x-none_8699d53bec82460b948612f4f35d2f6a0ad018f4.cab" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
    2015-02-25 14:42:59, Error                 DISM   DISM Package Manager: PID=11836 Failed opening package. - CDISMPackageManager::Internal_CreatePackageByPath(hr:0x80070002)
    2015-02-25 14:42:59, Error                 DISM   DISM Package Manager: PID=11836 Failed to get the underlying CBS package. - CDISMPackageManager::OpenPackageByPath(hr:0x80070002)
    2015-02-25 14:42:59, Error                 DISM   DISM Package Manager: PID=11836 Failed to open the package at location: "C:\ProgramData\Application Data\Autonomic\ANSA
    Patch Manager\_Installs\mscomctlocx-x-none_8699d53bec82460b948612f4f35d2f6a0ad018f4.cab" - CPackageManagerCLIHandler::ProcessPackagePath(hr:0x80070002)
    2015-02-25 14:42:59, Error                 DISM   DISM Package Manager: PID=11836 Failed while processing command add-package. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070002)
    2015-02-25 14:42:59, Info                  DISM   DISM Package Manager: PID=11836 Further logs for online package and feature related operations can be found at
    %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
    2015-02-25 14:42:59, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=80070002
    2015-02-25 14:42:59, Info                  DISM   DISM Image Session: PID=11836 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Finalizing the servicing provider(DISM Package Manager) - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Package Manager: PID=11836 Finalizing CBS core. - CDISMPackageManager::Finalize
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Disconnecting Provider: DISM Package Manager - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Found the OSServices.  Waiting to finalize it until all other providers are
    unloaded. - CDISMProviderStore::Final_OnDisconnect
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Finalizing the servicing provider(MsiManager) - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Disconnecting Provider: MsiManager - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Finalizing the servicing provider(IntlManager) - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Disconnecting Provider: IntlManager - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Found the PE Provider.  Waiting to finalize it until all other providers
    are unloaded. - CDISMProviderStore::Final_OnDisconnect
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Finalizing the servicing provider(DriverManager) - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Disconnecting Provider: DriverManager - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Finalizing the servicing provider(DISM Unattend Manager) - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Disconnecting Provider: DISM Unattend Manager - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Found the OSServices.  Waiting to finalize it until all other providers are
    unloaded. - CDISMProviderStore::Final_OnDisconnect
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Finalizing the servicing provider(SmiManager) - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Disconnecting Provider: SmiManager - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Finalizing the servicing provider(Edition Manager) - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Disconnecting Provider: Edition Manager - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Releasing the local reference to OSServices. - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Disconnecting Provider: OSServices - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:42:59, Info                  DISM   DISM Provider Store: PID=11836 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:43:00, Info                  DISM   DISM.EXE: Image session has been closed. Reboot required=no.
    2015-02-25 14:43:00, Info                  DISM   DISM.EXE:
    2015-02-25 14:43:00, Info                  DISM   DISM.EXE: <----- Ending Dism.exe session ----->
    2015-02-25 14:43:00, Info                  DISM   DISM.EXE:
    2015-02-25 14:43:00, Info                  DISM   DISM Image Session: PID=4916 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect
    2015-02-25 14:43:00, Info                  DISM   DISM Provider Store: PID=4916 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider
    2015-02-25 14:43:00, Info                  DISM   DISM Provider Store: PID=4916 Found the OSServices.  Waiting to finalize it until all other providers are
    unloaded. - CDISMProviderStore::Final_OnDisconnect
    2015-02-25 14:43:00, Info                  DISM   DISM Provider Store: PID=4916 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider

    You need to extract and install it - Refer this link
    http://blogs.technet.com/b/askcore/archive/2011/02/15/how-to-use-dism-to-install-a-hotfix-from-within-windows.aspx
    Regards Chen V [MCTS SharePoint 2010]

  • How to view the file content from the directory? getting Error:ORA-21560

    SQL> create directory READ_LOB_DIR as 'D:\Prj\Comm\Data';
    CREATE OR REPLACE Procedure READ_FILE_LOB IS
    -- Input Directory as specified in create directory
    l_dir CONSTANT VARCHAR2(30) := 'READ_LOB_DIR';
    -- Input File which is read word by word
    l_fil CONSTANT VARCHAR2(30) := 'testfile.txt';
    -- Separator Character between words is a BLANK (ascii = 32)
    l_seb CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(32));
    -- Character at the end of the file is NEWLINE (ascii = 10)
    l_sen CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(10));
    -- Pointer to the BFILE
    l_loc BFILE;
    -- Current position in the file (file begins at position 1)
    l_pos NUMBER := 1;
    -- Amount of characters have been read
    l_sum BINARY_INTEGER := 0;
    -- Read Buffer
    l_buf VARCHAR2(500);
    -- End of the current word which will be read
    l_end NUMBER;
    -- Return value
    l_ret BOOLEAN := FALSE;
    BEGIN
    -- Mapping the physical file with the pointer to the BFILE
    l_loc := BFILENAME(l_dir, l_fil);
    -- Check if the file exists
    l_ret := DBMS_LOB.FILEEXISTS(l_loc) = 1;
    IF (l_ret) THEN
    dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
    ' exists');
    -- Open the file in READ_ONLY mode
    DBMS_LOB.OPEN(l_loc, DBMS_LOB.LOB_READONLY);
    LOOP
    -- Calculate the end of the current word
    l_end := DBMS_LOB.INSTR(l_loc, l_seb, l_pos, 1);
    -- Process end-of-file
    IF (l_end = 0) THEN
    l_end := DBMS_LOB.INSTR(l_loc, l_sen, l_pos, 1);
    l_sum := l_end - l_pos - 1;
    DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
    dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
    EXIT;
    END IF;
    -- Read until end-of-file
    l_sum := l_end - l_pos;
    DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
    dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
    l_pos := l_pos + l_sum + 1;
    END LOOP;
    DBMS_LOB.CLOSE(l_loc);
    ELSE
    dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
    ' does not exist');
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line('Error:' || SQLERRM);
    DBMS_LOB.CLOSE(l_loc);
    END;
    The Text file content is...
    Copyright 1996,2001 Oracle Corporation.     All Rights Reserved
    This file contains installation instructions for installing the
    Oracle8 ODBC Driver software.
    It is divided into four parts:
    o Part I: Summary of systems supported by Oracle8 ODBC client
    software
    Lists the platforms on which the Oracle8 ODBC Client software can
    be installed.
    o Part II: Oracle8 ODBC Driver software.
    Describes the files, and installation prerequisites for the Oracle8
    ODBC driver software.
    o Part III: Exploding the kit onto your system
    Describes how to explode the kit onto your system hard drive.
    o Part IV: Installation Instructions
    Describes how to install the Oracle8 ODBC driver.
    Part I: Systems supported by the Oracle8 client software
    You can install the ODBC client software on any of the following systems:
    o Windows 2000
    o Windows NT X86
    o Windows 95
    o Windows 98
    The Oracle8 ODBC Driver provides support for ODBC connections
    from Windows 2000, Windows NT, Windows 95, and Windows 98 systems
    to Oracle databases.
    o Part II: Oracle8 ODBC Driver software.
    Refer to the following files for information about the Oracle8 ODBC Driver:
    LICENSE.TXT - Oracle8 ODBC Driver License Agreement. Read carefully
    before installing and/or using this product. Enclosed in
    your software distribution kit.
    SQORA.HLP - A Window's Help file which is the primary reference
              manual for the Oracle8 ODBC Driver.
    ODBCRelnotes.WRI - The release notes for the Oracle8 ODBC Driver
    which contains information which may have not been
    included in the Help file.
    Installation Prerequisites
    See the Oracle8 ODBC Driver release notes (ODBCRelnotes.WRI),
    for a complete list of software products required and their versions.
    Time Required
    The installation of the Oracle8 ODBC Driver takes approximately 5
    minutes. The actual time may be shorter or longer, depending upon
    your hardware configuration.
    Disk Space Required
    The Oracle8 ODBC driver installation requires approximately 2
    megabytes of available storage space. The space required depends upon
    what files you already have installed. The installation procedure
    checks to see if you have enough available disk space. If you do not,
    the installation fails.
    Part III: Exploding the Kit onto your system
    Expand the self-extracting archive file onto your hard drive.
    C:\> ORA8174.EXE
    Part IV: Installation Instructions
    Oracle8 ODBC Driver 8.1.7.4.0
    This section assumes the following:
    1. MS Windows 2000, Windows NT, Windows 95 or Windows 98 is running.
    2. Oracle Universal Installer shipping with 8.1.7 has already been
    installed on your system.
    3. Part III has been completed.
    Software fixes:
    Refer to release notes (ODBCRelnotes.wri) for a complete list of
    Software fixes.
    Installation Instructions
    Once the self-extracting archive file ORA8174.EXE has been
    exploded it will create an installable directory structure
    onto your hard drive. Run the Oracle Universal Installer from
    your local drive.
    1. On the screen "File Locations" use the "Browse" button of
    the source path to choose the file 'products.jar' from the
    folder that ORA8174.EXE was extracted to. Choose 'Next'.
    2. You will receive a warning that some of the dependencies of
    this product are not found in the staging area. This warning
    is OK. The ODBC driver depends on the Net8 Client being already
    installed on the system. Answer 'Yes' to continue.
    Oracle is a registered trademark of Oracle Corporation.
    Microsoft, MS are registered trademarks of Microsoft Corporation.
    Microsoft Windows, Windows NT, Windows 95, Windows 98 and Open Database
    Connectivity are trademarks of Microsoft Corporation.
    All other trademarks and registered trademarks are the property
    of their respective owners.
    The output was...
    File testfile.txt in Directory READ_LOB_DIR exists
    Copyright
    1996,2001
    Oracle
    Corporation.     
    All
    Rights
    Reserved
    This
    file
    contains
    installation
    instructions
    for
    installing
    the
    Oracle8
    ODBC
    Driver
    software.
    It
    is
    divided
    into
    four
    parts:
    o
    Part
    I:
    Summary
    of
    systems
    supported
    by
    Oracle8
    ODBC
    client
    Error:ORA-21560: argument 2 is null, invalid, or out of range
    I want to diplay/view as per file content format from the file under that specified directory.
    Have any other method / any help or suggestions would be really appreciated.

    I changed the code like...
    CREATE OR REPLACE Procedure READ_FILE_LOB_tmp IS
    -- Input Directory as specified in create directory
    l_dir CONSTANT VARCHAR2(30) := 'READ_LOB_DIR';
    -- Input File which is read word by word
    l_fil CONSTANT VARCHAR2(30) := 'testfile.txt';
    -- Separator Character between words is a BLANK (ascii = 32)
    l_seb CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(32));
    -- Character at the end of the file is NEWLINE (ascii = 10)
    l_sen CONSTANT RAW(100) := UTL_RAW.CAST_TO_RAW(CHR(10));
    -- Pointer to the BFILE
    l_loc BFILE;
    -- Current position in the file (file begins at position 1)
    l_pos NUMBER := 1;
    -- Amount of characters have been read
    l_sum BINARY_INTEGER := 0;
    -- Read Buffer
    l_buf VARCHAR2(4000);
    -- End of the current word which will be read
    l_end NUMBER;
    -- Return value
    l_ret BOOLEAN := FALSE;
    BEGIN
    -- Mapping the physical file with the pointer to the BFILE
    l_loc := BFILENAME(l_dir, l_fil);
    -- Check if the file exists
    l_ret := DBMS_LOB.FILEEXISTS(l_loc) = 1;
    IF (l_ret) THEN
    dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
    ' exists');
    -- Open the file in READ_ONLY mode
    DBMS_LOB.OPEN(l_loc, DBMS_LOB.LOB_READONLY);
    LOOP
    -- Calculate the end of the current word
    l_end := DBMS_LOB.INSTR(l_loc, l_sen, l_pos, 1);
    -- Process end-of-file
    IF (l_end = 0) THEN
    EXIT;
    END IF;
    -- Read until end-of-file
    l_sum := l_end - l_pos;
    DBMS_LOB.READ(l_loc, l_sum, l_pos, l_buf);
    dbms_output.put_line(UTL_RAW.CAST_TO_VARCHAR2(l_buf));
    l_pos := l_pos + l_sum + 1;
    END LOOP;
    DBMS_LOB.CLOSE(l_loc);
    ELSE
    dbms_output.put_line('File ' || l_fil || ' in Directory ' || l_dir ||
    ' does not exist');
    END IF;
    EXCEPTION
    WHEN OTHERS THEN
    dbms_output.put_line('Error:' || SQLERRM);
    DBMS_LOB.CLOSE(l_loc);
    END;
    Now its working fine with one addtional line...
    The file content is...
    This is My Content
    This is My Content
    This is My Content
    This is My Content
    This is My Content
    But The output was...
    File testfile.txt in Directory READ_LOB_DIR exists
    This is My Content
    This is My Content
    This is My Content
    This is My Content
    This is My Content
    here, i want to delete that additonal line...?

  • New HDD, purchased recovery material, recovery Faliure, CAB file HP_SSRD_LOG.CAB is corrupt

    Hello,
    The Hard Drive failed and I purchased a new one. Purchaed recovery (DVD) disks. Have tried twice to recover and in each occuance recieved the error recoevery Failed.
    How do I create a PIN-log
    [13:18:01.07] ------------------------------------------------------------------------------------------
    ***CTO Error condition has been dtected in [Factory Update] phase !! ***
    [13:18:01.07] Suggest to create PIN-log and send to TWN PDC NB-PreinPM for further analysis ...
    [13:18:01.08] ------------------------------------------------------------------------------------------
    [12:14:51.87] Start BBOffline.cmd...
    UPDrv=[C:]
    [12:14:51.87] Set UIA Error Code to 951
    [12:14:52.17] Delete [FBI] folder.
    [12:14:52.19] WinPE is 64bit.
    [12:15:16.65] Starts [FixUps].
    [12:15:16.69] ---------------------------------------------------------------------
    [12:15:16.69] FixUps.cmd...
    [12:15:35.03] FixUps.cmd completed...
    [12:15:35.05] ---------------------------------------------------------------------
    [12:15:35.05] Starts [Tweaks for SSRD].
    [12:15:35.07] ---------------------------------------------------------------------
    [12:15:35.07] SSRD Tweaks to change user default locale...
    [12:15:35.07] Copy C:\System.sav\Util\TDC\MCPP\FBIRES\FBIUSRES.DLL.
    [12:15:35.25] Run "Dism.exe /image:C:\ /Set-SKUIntlDefaults:en-US ".
    [12:15:49.73] ---------------------------------------------------------------------
    [12:15:49.74] Launch PININST.exe for Offline ...
    [12:17:10.23] Starts [Sleep 10 sec].
    [12:17:20.31] Starts [Create RStoneFUpdate.INI].
    [12:17:21.41] Starts [create 1GB Pagefile for offline].
     Volume in drive C has no label.
     Volume Serial Number is AE90-CC9C
     Directory of C:\System.sav\bbv
    01/23/2015  12:17 PM     1,073,741,824 pagefile.sys
                   1 File(s)  1,073,741,824 bytes
                   0 Dir(s)  35,020,972,032 bytes free
    [12:17:21.64] Brand detection.
    [12:17:21.86] Customize error handling for Specialize ~ BBV1.
            0 file(s) copied.
    [12:17:21.88] ---------------------------------------------------------------------
    [12:20:21.77] Check Win 8 configuration...
    [12:20:22.78] Check system ID...
    [12:20:23.82] Check OS SKU...
    [12:20:24.83] Check option code...
    [12:20:25.92] Check brand name...
    SKU_DEF_COUNTRY=[244]
    SKU_DEF_SYS_LOC=[en-US]
     Reset country in administrator...
     Reset country in Default user...
     Reset System locale
    Deployment Image Servicing and Management tool
    Version: 6.2.9200.16384
    Image Version: 6.2.9200.16384
    Reporting offline international settings.
    Default system UI language : en-US
    System locale : en-US
    Default time zone : Pacific Standard Time
    User locale for default user : en-US
    Location : United States (GEOID = 244)
    Active keyboard(s) : 0409:00000409
    Keyboard layered driver : PC/AT Enhanced Keyboard (101/102-Key)
    Installed language(s): en-US
      Type : Fully localized language.
    The operation completed successfully.
     Updated System Locale info...
    [12:20:43.98] Start PIN Tweaks...
    [12:20:45.00] ---------------------------------------------------------------------
    [12:20:45.02] PIN Tweaks to hide All for BurnBoot BBV and BBV2 on restored image...
    [12:20:45.02] ----------------------------------------
    [12:20:45.02] Tweaks for OOBE's Unattend.xml
    [12:20:45.02]  to pick up the proper file...
    [12:20:45.02] ----------------------------------------
    [12:20:45.02] rename unattend.org to unattend.or_
    [12:20:45.06] ----------------------------------------
    [12:20:45.06] without Light Sensor..
    [12:20:45.09] ----------------------------------------
    [12:20:45.10] This is Restored image by SSRD [SSRD.flg]...
    [12:20:45.12] ---------------------------------------------------------------------
    [12:20:45.99] Start MIR Tweaks...
    [12:20:47.03] ---------------------------------------------------------------------
    [12:20:47.03] [MIR Tweaks] ...
    [12:20:47.03] ---------------------------------------------------------------------
    [12:20:48.00] Start Factory Update(s)...
    [12:21:55.10] Start QFE Offline installation...
    [13:18:00.80] PININST_OFF: PASSED...
    [13:18:00.88] Type C:\System.sav\Logs\BBFindEr.log...
    [13:18:00.89] Type C:\System.sav\Logs\BBFindE0.log...
    ---------- C:\SYSTEM.SAV\LOGS\PININST_OFF.LOG
    Result=PASSED
    [13:18:01.05] Found some error at QFE Offline installation...
    [13:18:01.05] Check C:\System.sav\Logs\BBFind4QFE.LOG to see which QFE got the issue...
    [13:18:01.07] Check C:\System.sav\Logs\QFEOff\KBxxxxx.log.txt to see the detail...
    upon further investigation
    Extracting to "C:\Users\dwalke\AppData\Local\Temp\wz876d\"
    Use Path: yes   Overlay Files: yes
    The operation completed successfully.
    Extracting CTOERROR.flg
    The operation completed successfully.
    CAB file HP_SSRD_LOG.CAB is corrupt

    @Oregondeere 
    I have brought your issue to the attention of an appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact. Additionally, keep in mind not to publicly post ( serial numbers and case details).
    If you are unfamiliar with how the Forum's private message capability works, you can learn about that here.
    http://h30434.www3.hp.com/t5/First-Time-Here-Learn-How-to-Post-and-More/bd-p/Hello
    Cheers,
     KarolB
    I work for HP

  • Problem with file content conversion in receiver file adapter

    Hi All
    I have a problem with file content conversion in receiver file adapter.
    This is my recordset structure: Header_Record,1,Claim_Record,*,Check_Rec,1
    These are the content conversion parameters:
    Header_Record.fieldSeparator = ,
    Header_Record.endSeparator = 'nl'
    Claim_Record.fieldSeparator = ,
    Claim_Record.endSeparator = 'nl'
    Check_Rec.fieldSeparator = ,
    Check_Rec.endSeparator = 'nl'
    In SXMB_MONI, i can see that the data is correctly extracted from proxy, and correctly mapped to receiver message, and i see a checkered flag (success).
    But, Adapter status is RED with the following error message:
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter '1.fieldFixedLengths' or '1.fieldSeparator' is missing
    In communication channel monitoring, i get the following error message:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
    What is going wrong here? Can anyone please tell me?
    Thanks
    Chandra

    Posted in Incorrect forum.
    Posted again in Process Integration forum

  • Data1.cab file is present but empty after download for Acrobat Pro XI

    I am trying to upgrade to Acrobat Pro XI and have downloaded the files. The extraction process took quote a few attempts before it worked on my PC and I'm now doing the install. It get to a point where 'Error 1311 Source file not found' appears and asks me to check on the data1.cab file and retry. The file is present but is empty (0kb) so when I hit 'retry' the same message just appears again.I am downloading from Adobe direct, not from a disc and am downloading onto a PC.

    there's only one self-extracting file you need to download.  make sure your dl is complete.
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Batch file extracting all files from nested archives

    I have managed to leverage a powerful
    forfiles command line utility with the mighty
    7z compression program.
    Below is a simple batch file extracting all files from nested archives hidden at any depth inside other archives and/or folders. After the extraction each archive file turns into a folder having the archive file name. If, for example, there was an "outer.rar"
    archive file containing nothing but an "inner.zip" archive with only "afile.txt" inside, "outer.rar" becomes "...\outer.rar\inner.zip\afile.txt" file system path.
    @echo off
    rem extract_nested_archives.bat
    move %1 "%TMP%"\%2
    md %2
    7z x -o%1 -y %TMP%\%2
    del "%TMP%"\%2
    for %%a in (zip rar jar z bz2 gz gzip tgz tar lha iso wim cab rpm deb) do forfiles /P %1 /S /M *.%%a /C "cmd /c if @isdir==FALSE extract_nested_archives.bat @path @file"
    ARCHIVES ARE DELETED DURING THE EXTRACTION! Make a copy before running the script!
    "7z.exe" and "extract_nested_archives.bat" should be in folders available via the %PATH% environment variable.
    The first parameter of extract_nested_archives.bat is the full path name of the archive or folder that should be fully expanded; the second parameter is just the archive or folder name without the path. So you should run "c:\temp\extract_nested_archives.bat
    c:\temp\outer.rar outer.rar" from the command line to completely expand "outer.rar". "c:\temp" must be the current folder.
    Best regards, 0x000000AF

    Incredibly useful!  Thank you so much.  I did make a couple of small changes to make the script a little easier to use from the end-user perspective.
    First - I don't like making the user input the redundant second parameter, so I added this snippet which extracts it from the first parameter.  The first line of the snippet enables delayed expansion so that special characters in our file name don't
    break anything.  The second line pulls the parameter into a variable, and the 3rd line uses delayed expansion on that new variable.  Before implementing delayed expansion I had problems with file paths which included parentheses.
    SetLocal EnableDelayedExpansion
    Set SOURCE=%1
    For %%Z in (!source!) do (
    set FILENAME=%%~nxZ
    set FILENAME=%FILENAME:"=%
    Anyway once that was done, I just used %FILENAME% everywhere in the script instead of
    %2 (making sure to correct quotes as needed)
    This way, to run my script all you need to run is:
    C:\temp\extract_nested_archives.bat C:\temp\Archive.zip
    Second - I didn't want to modify the Windows environment variable.  So I replaced
    7z with "%PROGRAMFILES%\7-zip\7z.exe"
    I also replaced extract_nested_archives.bat with "%~f0" (which represents the full path+filename of the current script).
    Here is my full script now.  Tested on Windows 8 with the 64-bit version of 7-zip installed:
    @echo off
    Setlocal EnableDelayedExpansion
    Set source=%1
    For %%Z in (!source!) do (
    set FILENAME=%%~nxZ
    set FILENAME=%FILENAME:"=%
    move /Y %1 "%TMP%\%FILENAME%"
    md "%FILENAME%"
    "%PROGRAMFILES%\7-zip\7z.exe" x -o%1 -y "%TMP%\%FILENAME%"
    DEL "%TMP%\%FILENAME%"
    for %%a in (zip rar jar z bz2 gz gzip tgz tar lha iso wim cab rpm deb) do (
    forfiles /P %1 /S /M *.%%a /C "cmd /c if @isdir==FALSE "%~f0" @path @file"

  • How to extract SDA file..........

    Hi All
        how do we extract SDA files.......
        we started adapter development by testing sample code in 'sample_ra.jar'  file,  available in sample_ra.sda, and deployed on XI server. now we want to see all jar files available in 'sample_ra.sda'.
    if any one already gone through adapter development have any idea, how to extract SDA file, help me out Pls .......... very urgent.
    Regards
    Rajesh

    HI,
    In general SDA files are to be deployed into Server using SDM.
    see the below link , how to deploy
    http://help.sap.com/saphelp_webas630/helpdata/en/05/4fac3e00c8b014e10000000a114084/content.htm
    Also
    you can unzip the file with WinZip or WinRar edit the xml configuration file and zip it back together (in ZIP format and not RAR!).
    Also
    how to deploy ear files from command line
    Tools like zipgenius http://www.zipgenius.it/intweb/features.htm#Innovazione, Private encryptor http://www.filesweb.com/private-encryptor/ and securefile http://www.devsolutions.net/htmlpages/securefile.html should help you further.
    Regards
    Chilla

Maybe you are looking for

  • Can I convert an iPhoto hardback book to a paperback book for a new order?

    I've just ordered a hardback book through iPhoto. I'd like to now order a paperback version of the same book but can't work out how to do this. I can duplicate my book, but I can't find a way of changing it to paperback. Is this possible?

  • Error during sync integrated configuration - incoming payload missed

    Hi guys, we are suing PI 7.11 and trying to use the new feature integrated configuration wherever possible. Now I test a sync szeanrio where sender is SOAP and receiver is RFC. The messages fails in SOAP Sender channel with the error that there is no

  • There is no admin in my users

    There is no admin in users & groups. I got switched from admin to standard in users and groups and it does not recognize my password in the little icon lock screen, the box just shakes back and forth. How do I restore my information? Help

  • Mac Mini as node in Final Cut?

    This is an odd question maybe, but I was thinking about picking up a Mac Mini to use as extra processing power in Logic 8. This would be in the far future, unless one cheap shows up on eBay. But my question is does Final Cut have the same ability to

  • Forgot my password,email has been recently deactivated because it was hacked and used for spam

    Hi, I recently had my email shut down because i was a victim of spam hacks and I just found out that I actually dont remember my password correctly. I know my secret questions answer because it sends the passord to the email succesfully,but its usele