Create a Collection of machines missing a single patch MS07-042

Good Morning All,
   I am trying to create a collection for all machines missing a single patch.  MS07-042.  This patch has multiple KB numbers. 
I noticed a couple of odd occurances.
1) Console query builder does not expose the Updates classes.
2) Console query builder does expose all the ITMU classes.  I am not sure if these are populated with the WSUS information gathered by the WUA.
I did create the following query
select * 
from  SMS_R_System inner join SMS_UpdateComplianceStatus on SMS_UpdateComplianceStatus.MachineID = SMS_R_System.ResourceId
   inner join SMS_Softwareupdate on  SMS_Softwareupdate.CI_ID = SMS_UpdateComplianceStatus.CI_ID
where SMS_Softwareupdate.BulletinID = "MS07-042"
However, I am unable to locate any documentation on what the Status Fields indicate in SMS_UpdateComplianceStatus.
My Questions
1) Is there an easier way to do this?
2) Is there any documentation on what the fields mean in SQL?
I look forward to blogging about this as soon as I am sure of an answer.
Best
Shaun Cassells
http://myitforum.com/cs2/blogs/scassells/default.aspx

Torsten, do you have a refrence for the SMS_UpdateComplianceStatus table?  I want to know what the Status Field values represent.
I realize this is an old thread, but I just wanted to put in my $0.02 in case someone else stumbles upon it looking for info.
So, the SMS_UpdateComplianceStatus class (cuz we're talking collections here, which is WQL and pulls from WMI classes) is really the equivalent of the v_UpdateComplianceStatus view.  So if you want to see what's in that, go to SQL and query it.
Also, if you want to know what the Status field values are, you can find those by looking at the v_StateNames view from SQL too where TopicType = 400 I believe.
State 0 = Unknown
State 1 = Not Required (meaning doesn't have patch and doesn't need it)
State 2 = Not Detected (meaning it doesn't have patch but needs it)
State 3 = Detected (meaning it has this patch)
So, if you want to create a collection of machines that are missing a patch, you could do something like this:
SELECT
  SMS_R_SYSTEM.ResourceID,
  SMS_R_SYSTEM.ResourceType,
  SMS_R_SYSTEM.Name,
  SMS_R_SYSTEM.SMSUniqueIdentifier,
  SMS_R_SYSTEM.ResourceDomainORWorkgroup,
  SMS_R_SYSTEM.Client
FROM
  SMS_R_System
  JOIN SMS_UpdateComplianceStatus
    ON SMS_R_System.ResourceID = SMS_UpdateComplianceStatus.MachineID
    AND SMS_UpdateComplianceStatus.Status = 2
  JOIN SMS_SoftwareUpdate
    ON SMS_UpdateComplianceStatus.CI_ID = SMS_SoftwareUpdate.CI_ID
    AND SMS_SoftwareUpdate.ArticleID = 832671
Number2 - (John Nelson)
Microsoft MVP (2009) - System Center Configuration Manager
http://number2blog.com

Similar Messages

  • How to create a all virtual machines collection.

    I need to create a collection of all virtual machines. There are only hyper-v VMs. I thought it would be an Attribute of the System Resource attribute class, but I don't see anything there.
    TechNetX

    May be you can try the below query. More details
    http://marckean.wordpress.com/2010/12/21/sccm-2007-r2-collection-queries/
    select SMS_R_System.Name, SMS_G_System_COMPUTER_SYSTEM.Manufacturer, SMS_R_System.SMSAssignedSites, SMS_R_System.IPAddresses, SMS_R_System.IPSubnets, SMS_R_System.OperatingSystemNameandVersion, SMS_R_System.ResourceDomainORWorkgroup,
    SMS_R_System.LastLogonUserDomain, SMS_R_System.LastLogonUserName, SMS_R_System.SMSUniqueIdentifier, SMS_R_System.ResourceId, SMS_R_System.ResourceType, SMS_R_System.NetbiosName from SMS_R_System inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID
    = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYSTEM.Manufacturer in ("VMware, Inc.","Microsoft Corporation","Apple Inc.")
    Anoop C Nair -
    @anoopmannur
    MY BLOG:
     http://anoopmannur.wordpress.com
    User Group:
     ConfigMgr Professionals
    This posting is provided AS-IS with no warranties/guarantees and confers no rights.

  • Create a Collection that populate with machines that failed on a TS deployment.

    Hi Everyone,
    I would like to create a Device Collection containing all machines that failed on a TS deployment. Is there a way? What would be the WQL for this? 
    Thank you in advance.

    You can do something like this:
    http://myitforum.com/cs2/blogs/gramsey/archive/2006/10/20/How-To_3A00_-Create-a-Collection-Based-on-an-Advertisement-Status.aspx
    Both classes SMS_R_System and SMS_ClientAdvertisementStatus
    still exist in the same form and format.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Escape '  ' while creating a collection in Oracle APEX

    Hi all
    I am creating a collection where I am using substr and instr functions and it does give an error message as below
    • ORA-06550: line 14, column 79: PLS-00103: Encountered the symbol ", -1)) OWSR, null PRIM_ADD , null PRIMA" when expecting one of the following: ) , * & = - + < / > at in is mod remainder not rem <an exponent (**)> <> or != or ~= >= <= <> and or like like2 like4 likec between || multiset member submultiset
    Relevant Portion where the error pops up:
    APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY(
    p_collection_name => 'RANGE_COLLECTION',
    p_query => 'SELECT
              :P999_LOC_TYPE ADD_TYPE_ID
              , TRIM(:P999_OWSR) PRIM_ST
              , SUBSTR(TRIM(:P999_OWSR),1,1) PRIM_DIR
              , SUBSTR(TRIM(:P999_OWSR),INSTR(TRIM(:P999_OWSR), ' ', -1)) PRIM_SUF
    ......... on the line below
    SUBSTR(TRIM(:P999_OWSR),INSTR(TRIM(:P999_OWSR), ' ', -1)) PRIM_SUF
    Does anyone have any solution how to escape the single quotes in Oracle APEX 4.2. - like \' or something? I already tried using backslash but had no luck.
    Would really appreciate your help ASAP.
    Thanks,
    Rads

    Rads wrote:
    Does anyone have any solution how to escape the single quotes in Oracle APEX 4.2. - like \' or something? I already tried using backslash but had no luck.Quotes in string liberals in Oracle are escaped by doubling them up:
    execute immediate 'update emp set sal = sal * 1.2 where ename = ''SCOTT''';However a better approach when dealing with SQL strings is to use the alternative quoting mechanism:
    execute immediate q'{update emp set sal = sal * 1.2 where ename = 'SCOTT'}';as this allows the original string to be left unaltered.

  • Create a collection based on an exisiting collection

    I have a collection that has a install with a deadline running for the last week. I see that there are still machines pending installation. The current collection has a maintenance window set which includes over 1500 machines. Since 95 % of them completed
    I need to remove the completed from the collection and leave the exisiting machine behind to continue the installation. 
    So either create a way to move completed machine to a completed collection or just remove them from the existing collection or
    Create a limiting collection that contain machines in progress and unknown machines from the original collection. 

    Hi,
    You could try to create a Configuration Baseline to detect the installation. Right click the Baseline deployment to create a collection according to the Baseline evaluation results. Is this possible?
    How to Create Windows Configuration Items for Compliance Settings in Configuration Manager
    http://technet.microsoft.com/en-us/library/gg712331.aspx
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SCCM 2012 - Creating a Collection with Limiting memebers to 5 or 10 Computers even the Memebership Query can pull 1000 members

    Dear Brothers,
    I am deploying a huge application (requires 45 Minutes to Install, 3 to 5 Restarts), and I need to limit the deployment to 5 computers at a time. Limiting my Network Load and also the availability of the computers in operation as it requires a successive
    Restart.
    My aim is to "Create" a "Collection" to focus on deploying the software to
    5 computers at a time. The collection that limits to 5 computers can help our production environment to focus on the total deployment time without disturbing other computers.
    Regards,

    I would use powershell to do this. Create a Collection with all the computers that should get the application.
    Then in powershell - get all the members of that Collection into a variable. Use that variable as a basis for creating new Collection and create some logic that takes 5-10 machines and put those into a new Collection and then takes the next 5-10 machines
    and so on.
    I guess you could also do it using a combination of Query and Exclude Collections membership rules, but you would have to do it manually.

  • Could not create the Java virtual machine What happen?

    all,good day!
    i use tomcat7 and JRockit JVM;
    tomcat7 version info:
    Server version: Apache Tomcat/7.0.27
    Server built: Mar 31 2012 03:43:36
    Server number: 7.0.27.0
    OS Name: Linux
    OS Version: 2.6.32-220.el6.x86_64
    Architecture: amd64
    JVM Version: 1.6.0_02-b05
    JVM Vendor: BEA Systems, Inc.
    JRockit JVM version info:
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Oracle JRockit(R) (build R28.2.2-7-148152-1.6.0_29-20111221-2104-linux-x86_64, compiled mode)
    in R28 jrdoc ,The -XgcPrio option is deprecated in Oracle JRockit R28. The option works in R28, but Oracle recommends that you use -Xgc instead. For more information, see -Xgc;
    in -Xgc option info lists the garbage collection modes that i can specify with the -Xgc option. pausetime mode in which the option;
    but,but,i use -Xgc:pausetime in my tomcat7;tomcat startup error:
    The configuration of the JVM attributes in Tomcat in catalina.sh
    export JAVA_OPTS="-server -Xms25G -Xmx25G -XgcPrio:pausetime -XpauseTarget=200"
    the error info:
    [ERROR] Argument error: -Xgc:pausetime
    [ERROR] pausetime is not a valid garbage collector name for -Xgc.
    Valid options are: singlecon, gencon, genpar or parallel (singlepar).
    [WARN ] No unit entered for pause time target, assuming ms.
    Could not create the Java virtual machine.
    what's wrong in my configuration ?
    Edited by: 944618 on 2012-7-5 上午4:26

    I would add the jvm flag -showversion next to the -Xgc:pausetime flag, so you will see which JVM you're actually running.
    Also, the following part of your post is a bit inconsistent, which jvm flag are you actally using?
    "but,but,i use -Xgc:pausetime in my tomcat7;tomcat startup error:
    The configuration of the JVM attributes in Tomcat in catalina.sh
    export JAVA_OPTS="-server -Xms25G -Xmx25G -XgcPrio:pausetime -XpauseTarget=200"
    the error info:
    [ERROR] Argument error: -Xgc:pausetime"
    The error output you posted looks like the error you would get from a R27 version of JRockit.

  • Problem with creating a collection from query

    This is driving me nuts. What I am trying to do is create a collection but the sql to create it is produced dynamically. The query I want to end up with in this example is -
    select pr.code,pr.description, max(decode(pe.period_beginning,'01-NOV-08',fe.effort,0)) NOV_08,1 NOV_08_PERIOD_ID, max(decode(pe.period_beginning,'01-DEC-08',fe.effort,0)) DEC_08,21 DEC_08_PERIOD_ID, max(decode(pe.period_beginning,'01-JAN-09',fe.effort,0)) JAN_09,22 JAN_09_PERIOD_ID, max(decode(pe.period_beginning,'01-FEB-09',fe.effort,0)) FEB_09,41 FEB_09_PERIOD_ID, max(decode(pe.period_beginning,'01-MAR-09',fe.effort,0)) MAR_09,81 MAR_09_PERIOD_ID from forecast_projects pr,forecast_periods pe,forecast_effort fe
    where pr.id=fe.project_id(+)
    and pe.id(+)=fe.period_id group by pr.code,pr.description order by pr.code
    but the list of dates within single quotes are derived from some pl/sql which pulls them from a table.
    So my pl/sql looks like this -
    begin
    if apex_collection.collection_exists(p_collection_name=>'KEANEFORECAST') then
    apex_collection.delete_collection(p_collection_name=>'KEANEFORECAST');
    end if;
    declare
    l_period date;
    l_period_id number := 0;
    l_query varchar2(1400) := '';
    l_query_start varchar2(1400) := 'select pr.code,pr.description,';
    l_query_part1 varchar2(1400) := ' max(decode(pe.period_beginning,''';
    l_query_part2 varchar2(1400) := ''',fe.effort,0)) ';
    l_query_end varchar2(1400) := ' from forecast_projects pr,forecast_periods pe,forecast_effort fe
    where pr.id=fe.project_id(+)
    and pe.id(+)=fe.period_id group by pr.code,pr.description order by pr.code';
    begin
    for c1 in (
    select id,period_beginning into l_period_id,l_period
    from forecast_periods order by 1) loop
    l_query := l_query || l_query_part1 || c1.period_beginning || l_query_part2 ||
    replace(substr(c1.period_beginning,4),'-','_') || ',' || c1.id || ' ' ||
    replace(substr(c1.period_beginning,4),'-','_') || '_PERIOD_ID,';
    end loop;
    l_query := substr(l_query,0,length(l_query)-1);
    l_query := l_query_start || l_query || l_query_end;
    dbms_output.put_line(l_query);
    apex_collection.create_collection_from_query(
    p_collection_name=>'KEANEFORECAST',
    p_query=> l_query);
    end;
    end;
    Now what happens is that the query is produced perfectly - the dbms_output.put_line gives me the exact query as quoted at the top of my posting, and if I run it I get the desired results. If I run this whole block of pl/sql it also works absolutely fine and my collection is created - great.
    However if I put this pl/sql into an onLoad Before Header block then when I try to run the page I get the following -
    ORA-20104: create_collection_from_query Error:ORA-20104: create_collection_from_query ParseErr:ORA-00923: FROM keyword not found where expected
    I think it is getting in a mess with the quotes in the query, but I do not know why and I have been racking my brains to think of a workaround. It's odd that it works fine if I run it standalone in the SQL Commands tab but not as a page process.
    I'd be really grateful for any advice/pointers here.
    Thanks in advance.

    You are an absolute star - thank you! What this enabled me to do was to see the query being produced - which was showing it different to that which dbms_output.put_line reported - no idea why this should be. Anyway this allowed me to correct a couple of things which then enabled it all to work.
    The thing that showed as different was the representation of a date field - dbms_output.put_Line was showing this in DD-MON-YYYY format whereas the debug showed it with a timestamp portion.
    Thank you again.

  • Create Desktop Collection Fails

    I have been able to create desktop collections from Win7 VM templates.    I created a new template and now when I attempt to create a collection the template export finishes and the creation process errors out with the following message:
    On the back end in the event log I see these errors:
    Remote Desktop Virtualization Host could not load metadata for the virtual machine named
    Windows 7 Enterprise Production Template.
    Remote Desktop Virtualization Host could not retrieve a section in the virtual machine
    metadata XML file for the virtual machine with the GUID of
    0387662E-2EAC-4090-9FA7-AA5D561737D3.
    Virtual machine GUID: 0387662E-2EAC-4090-9FA7-AA5D561737D3
    Hresult: 0x80070490
    Can someone point me in the right direction to what is wrong with my template?

    Hi,
    Thank you for posting in Windows Server Forum.
    From the error description it seems that RD Virtualization host can’t load the data for virtual machine template. Apart If you're using Windows 7 as the template VM, it needs to be Windows 7 SP1 and you should update the integration components on the VM before
    you sysprep it. However for a try if possible then try to reinstall and verify. 
    You can refer this article to reconfigure and check the result.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • "Could not create the Java Virtual Machine" while running javaw -p

    Hi All,
    I have installed the JDK in system. After installing when I run javaw -p i am getting below error.
    "Could not create the Java Virtual Machine"?. Can any one please help me?. I tried two or three times?. Due to that I am not able to use tools to write Java Code?
    Please provide your helps.
    Thanks
    Thamayanthi

    Windows XP, I have checked the path variable also, see
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;%JAVA_HOME%\bin;%ANT_HOME%\bin;C:\Program Files\QuickTime\QTSystem\;
    JAVA_HOME = C:\Program Files\Java
    Eclipse : Eclipse with Jboss
    Any other thing I missing?
    Where I can check from where eclipse is taking Java?
    Thanks

  • Error creating site collection - Could not load file or assembly 'Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0

    Hi,
    When creating a Site collection using Central admin, i am getting the error "One or more types failed to load. Please refer to the upgrade log for more details." . Microsoft.ApplicationServer.Caching.Core dll version on my machine is 1.0.4632 (App
    Fabric 1.1). 
    Stack Trace
    SharePoint Foundation Upgrade SPSiteWssSequence ajywy ERROR Exception: Could not load file or assembly 'Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot
    find the file specified. dd64ad9c-0f90-e07d-aaaa-13533e0e9e4f
    Thanks,
    Thomas

    Hi Thomas,
    According to your description, my understanding is that you got an error when you created a site collection in SharePoint 2013.
    I found a similar thread with yours, maybe it also was created by you. Anyway ,in the thread, the workaround is Changing the virtual directory web config of CA (Option 1 and 2 mentioned at
    http://technet.microsoft.com/en-us/library/dn473937.aspx ) and it worked.
    More information, please take a look at:
    http://sharepoint.stackexchange.com/questions/111439/error-creating-site-collection-could-not-load-file-or-assembly-microsoft-appl
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Is there a way to create a collection based on the "previous import"?

    is there a way to create a collection based on the "previous import"? that would make it easy to mobile sync the last import to my ipad, and do further picking/rejecting while away from my laptop.

    well, yes, of course i could do it that way. i guess i wasn't specific enough. is there a way to create a smart collection, with the photos in the "previous import" as members of the smart collection.  earlier i mentioned about using this smart collection to mobile sync with my ipad, to do further flagging.
    so my intention, use a smart collection to mobile sync with my ipad, and the smart collection to include the photos from my previous import.
    i guess another way to ask the question, is there a way to create a smart collection, by using some rule or condition in the smart collection, to automatically include previous import photos.
    the documentation says that "previous import" is a collection, even though it shows up in the catalogue side bar section. but i see no way to choose that collection when making a smart collection.
    jd

  • How do I create a 1d array that takes a single calculation and insert the result into the first row and then the next calculation the next time the loop passes that point and puts the results in thsecond row and so on until the loop is exited.

    The attached file is work inprogress, with some dummy data sp that I can test it out without having to connect to equipment.
    The second tab is the one that I am having the problem with. the output array from the replace element appears to be starting at the index position of 1 rather than 0 but that is ok it is still show that the new data is placed in incrementing element locations. However the main array that I am trying to build that is suppose to take each new calculation and place it in the next index(row) does not ap
    pear to be working or at least I am not getting any indication on the inidcator.
    Basically what I am attempting to do is is gather some pulses from adevice for a minute, place the results for a calculation, so that it displays then do the same again the next minute, but put these result in the next row and so on until the specifiied time has expired and the loop exits. I need to have all results displayed and keep building the array(display until, the end of the test)Eventually I will have to include a min max section that displays the min and max values calculated, but that should be easy with the min max function.Actually I thought this should have been easy but, I gues I can not see the forest through the trees. Can any one help to slear this up for me.
    Attachments:
    regulation_tester_7_loops.vi ‏244 KB

    I didn't really have time to dig in and understand your program in depth,
    but I have a few tips for you that might things a bit easier:
    - You use local variables excessively which really complicates things. Try
    not to use them and it will make your life easier.
    - If you flowchart the design (very similar to a dataflow diagram, keep in
    mind!) you want to gather data, calculate a value from that data, store the
    calculation in an array, and loop while the time is in a certain range. So
    theres really not much need for a sequence as long as you get rid of the
    local variables (sequences also complicate things)
    - You loop again if timepassed+1 is still less than some constant. Rather
    than messing with locals it seems so much easier to use a shiftregister (if
    absolutely necessary) or in this case base it upon the number of iterations
    of the loop. In this case it looks like "time passed" is the same thing as
    the number of loop iterations, but I didn't check closely. There's an i
    terminal in your whileloop to read for the number of iterations.
    - After having simplified your design by eliminating unnecessary sequence
    and local variables, you should be able to draw out the labview diagram.
    Don't try to use the "insert into array" vis since theres no need. Each
    iteration of your loop calculates a number which goes into the next position
    of the array right? Pass your result outside the loop, and enable indexing
    on the terminal so Labview automatically generates the array for you. If
    your calculation is a function of previous data, then use a shift register
    to keep previous values around.
    I wish you luck. Post again if you have any questions. Without a more
    detailed understanding of your task at hand it's kind of hard to post actual
    code suggestions for you.
    -joey
    "nelsons" wrote in message
    news:[email protected]...
    > how do I create a 1d array that takes a single calculation and insert
    > the result into the first row and then the next calculation the next
    > time the loop passes that point and puts the results in thsecond row
    > and so on until the loop is exited.
    >
    > The attached file is work inprogress, with some dummy data sp that I
    > can test it out without having to connect to equipment.
    > The second tab is the one that I am having the problem with. the
    > output array from the replace element appears to be starting at the
    > index position of 1 rather than 0 but that is ok it is still show that
    > the new data is placed in incrementing element locations. However the
    > main array that I am trying to build that is suppose to take each new
    > calculation and place it in the next index(row) does not appear to be
    > working or at least I am not getting any indication on the inidcator.
    >
    > Basically what I am attempting to do is is gather some pulses from
    > adevice for a minute, place the results for a calculation, so that it
    > displays then do the same again the next minute, but put these result
    > in the next row and so on until the specifiied time has expired and
    > the loop exits. I need to have all results displayed and keep building
    > the array(display until, the end of the test)Eventually I will have to
    > include a min max section that displays the min and max values
    > calculated, but that should be easy with the min max function.Actually
    > I thought this should have been easy but, I gues I can not see the
    > forest through the trees. Can any one help to slear this up for me.

  • Creating a collection from a query in Apex 4.2 is not populating the data into the collection.

    I have a process that creates a collection with data from multiple tables. The query returns multiple rows in 'Sql commands' tab. The same query is used to create the collection in 'Before Header' and when i create a region with Region source as
    Select * From apex_collections Where collection_name = 'load_dashboard';
    At the time of rendering the page shows me 'no data found'.
    what could be the problem? Are there any prerequisites before creating the collection?
    Thanks in Advance,
    Sriram

    Hi Denes,
    Below is my code for creating and saving data into the collection.
    if apex_collection.collection_exists(p_collection_name =>'load_dashboard') then
       apex_collection.delete_collection(
             p_collection_name =>'load_dashboard');
    end if;
    apex_collection.create_collection_from_query(
        p_collection_name => 'load_dashboard',
        p_query => 'select a.rowid
                   ,b.first_name
                   ,b.last_name
                   ,c.job_title
                   ,d.parent
                   ,d.child_level_1
                   ,d.child_level_2
                   ,a.resource_allocation
                   ,a.person_id
                   ,a.month_id
                   ,a.oracom_project_id    ,wwv_flow_item.md5(a.rowid,b.first_name,b.last_name,c.job_title,d.parent,d.child_level_1,d.child_level_2,a.resource_allocation,a.person_id,a.month_id,a.oracom_project_id)
    from oracom_resource_management a, oracom_people b,oracom_job c ,oracom_project d where a.supervisor_id=886302415 and a.month_id=201312 and a.oracom_job_id=c.job_id and a.person_id=b.person_id and a.oracom_project_id=d.oracom_project_id',
       p_generate_md5 => 'YES'
    Sriram.

  • Problem in creating file on local machine

    Hello everbody...
    i m using forms and reports 6i
    i m creating file out_file := Text_IO.Fopen(:filepath || '.csv', 'a'); using this command in before_report trigger. And closing file in after_report trigger.
    here filepath is = \\IP address of local machine\d$\file name
    now problem is that if i m giving IP address of local machine then its giving error ORA-39856.
    And if i m giving IP address of server machine then it is going to create file on server machine from local machine.
    Why its not creating file on client machine?
    i think there r problems related to rights
    can anyone has solution then please tell me

    yes in report there is report output and with that it also creating file in coding by
    out_file := Text_IO.Fopen(:filepath || '.csv', 'w');
    this open stmt is written in before report trigger
    Below lines r written for each row thats fetch by report main query.
    str := rpad(:apt_bil_no,8,' ') || ',' || lpad(:apt_bil_dt,10,' ') || ',"' ||
                   rpad(:supl_name,30,' ') || '",' || rpad(:supl_tin_no,11,' ') || ',' ||
                   rpad(:aptvat_hsn_no,10,' ') || ',' ||
                   lpad(ltrim(to_char((apt_amt2 - apt_vat_amt2),'999999990.00')),12,' ') || ',' ||
                   lpad(apt_vat_amt2,12,' ') || ',' ||
                   lpad(ltrim(to_char(apt_amt2,'999999990.00')),12,' ');
    Text_IO.Put(out_file, str);
    Text_IO.New_Line(out_file);
    file is closing in after report trigger.
    text_io.fclose(out_file);
    now i wants to create this file on local machine.
    yes using report server and its started window service.
    can u have any idea?

Maybe you are looking for

  • In PI-7.0 Which Modules are included in Netweaver

    give me the detail about in PI-7.0 Which Modules are Included in Netweaver(XI,EP etc)

  • Sql loader and Store Prrocedures

    Hi!! I ned load text files with sql loader first at temporal tables,later on put this in tables with Stored Procedures in one data base Oracle 8.1.5. My sqlldr version is 8.1.6 and not4s compatible with 8.1.5 of the data base server. How can i load t

  • How to control email account for iCal confirmations/invitations?

    I have seen some older discussions on this, but nothing recent and there seemed to be some confusion over whether the email account used by iCal was set in Address Book or in the Apple ID.  In Mountain Lion (or Mavericks, which I'm bound to get soon)

  • I cannot access iTunes in my phone

    When I try to access iTunes the screen goes white the back to homepage

  • TS4268 Face time or iMessage will not activate

    I have done everything the support page says but I keep getting the grey box that says no network connection when I try to activate my Face Time.  Yet I have not changed any settings and Face Time was working fine last week.  The only thing that I ha