Need a script to create Log-Shipping status reports
Hi All,
In my company log shipping is set up for 5,6 databases i n each server so i need a script that which can generate reports at time for all the databases and i can get the mail about the reports. Is any T-Sql script av liable for this so i can check when ever
the backup and restore files are update time of given latency.
Hi,
If you search online you get plenty of examples. I found below post interesting might help you as well.
http://www.sqlservercentral.com/Forums/Topic1259335-391-1.aspx
Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
Praveen Dsa | MCITP - Database Administrator 2008 |
My Blog | My Page
Similar Messages
-
Need an script to create some user account with increasing passwords
hi friends
i'm not expert in scripting.
manager gave me a list of about 50 users which i must create in my windows server 2008 R2 local users & groups snap-in (Lusrmgr.msc).
suppose i have this 5 users :
1-albert 2-Brian 3-calvin 4-carl 5-john
i need an script (maybe for /L ),so that it reads this 5 users from a text file or .csv file & create them & their password be so:
albert's password be abc1
Brian's password be abc2
calvin's password be abc3 & so on.
i mean their password be abc ending with increasing number which increases one unit
thanks in advancedThere should be some automatic user account generating scripts in the
repository.
You can request a script here:
http://gallery.technet.microsoft.com/scriptcenter/site/requests
This forum is for scripting questions, not script requests.
-- Bill Stewart [Bill_Stewart]
hi Bill
i wasn't familiar with scriptcenter
thanks for advice
regards -
How to do a left join to create a timesheet status report in Power View
I am trying to create a very simple report in power view for Project Online. It's a timesheet status report that should show a list of resources, and the current status of their timesheet (in progress, not started, etc).
In Excel, I created an odata connection with Resources and Timesheets, and set up the connection between them. So, I can now easily display a list of timesheets, and filter them by end date. Good. But this only displays rows where there is an existing timesheet.
So resources who have not started a timesheet are not displayed. So, I need a "left join" in power view to display all resources, whether or not they have a timesheet for the period. (and, for the ones that do, I need to display fields from the timesheet,
such as the status description.)
Any suggestions?
Mike G.Hi Mike,
I'm not sure of what I'm suggesting since I got no instance to test it, but I'm wondering if the OLAP Cube "MSP_Project_Timesheet" wouldn't contain all resources of the enterprise pool with assignments (and not only resources that already submitted
a timesheet) since it is a combination of the assignment timephased, resource timephased and EPM timesheet cubes.
Hope this helps.
Guillaume Rouyre - MBA, MCP, MCTS -
Need a script to Create Users and assign Responsibilty
Hi,
EBS R12
DB 10.0.2.4
I need to create 100 application users and assign a responsibilty with them.I do not want to create a single user everytime using sysadmin responsibilty.Give some idea about it.
ThanksUse FND_USER_PKG API.
Please see old threads for similar discussion -- http://forums.oracle.com/forums/search.jspa?threadID=&q=FND_USER_PKG&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Short dump while creating a new status report in webdynpro cprojects
Short dump details are
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
Exception CX_SY_REF_IS_INITIAL
Access via 'NULL' object reference not possible.
GET_AVAIL_CALID" "(METHOD)", of the class CL_DPR_BUPA_DISTRIBUTION failed to capture the Business partner details.
The dump analysis shows
You attempted to use a 'NULL' object reference (points to 'nothing') access a component variable: "LR_BUPA_LINK").
An object reference must point to an object (an instance of a class) before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
Can anyone throw some light on this?Hello Srikanth,
I have no issues in trying to help someone as polite as you! It is very nice to have questions answered in an intelligible manner - not unfortunately always the case.
Without being able to debug on your system it is quite difficult to say what might be causing this error - especially as you say this was working in a different system.
I'm sure you've already tried eliminating differences in your authorisations between the two systems? Are you registered as a developer in the new system?
Sorry I'm now just guessing as I've not come across the error myself - hopefully now that we have clearly documented the issue, someone else might be able to shed some light on what might cause it!
Chris -
I am getting the below alert in transaction log shipping status report.
I would like to remove the below alert.
here you can see that primary server
[Server01\Insta1].[DB01] is already have a good health status with secondary server --[Server02\InstaXa].[DB01]
Please let me know how can i remove this alert from transaction log shipping status report.Hi,
how do you expect to help you with just some screenshot. Did you tried yourself to find out why Logshipping is out of sync. Go and check LS backup and restore and copy job see which one is failing.
As per screenshot none of backup or copy job is executed which makes me think the Log shipping for this database is removed and you did not even tried asking within team who and when this was removed.
From my side you can just go to jobs and either
remove the Logshipping or disable the job
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Script for Checking the Server Status
Hi All,
I just need the script for monitoring the server status through the WLST.My scenario:I have 2 server in Running State.If any one of the server get failed or in not RUNNING state then i use the script for starting that server automatically.I tried some of the script but it is not working properly .If any one have the sample script please share with me.
Regards,
Ove.Hi Syed,
Replication state is very easy to see in 4.x and earlier. The last changenumber in the supplier changelog is visible (on the root DSE IIRC), and each consumer suffix has an operational attribute "copiedfrom" that tells you the name of the supplier, the database generation id, and the last change replayed from the supplier.
So a script that compares the results of
ldapsearch -h <supplier> -s base -b "" "objectclass=*" lastchangenumber
and
ldapsearch -h <consumer> -s base -b <base_suffix> "objectclass=*" copiedFrom
will show you if a replica has fallen out of sync. It won't tell you more than how many changes behind the replica is, though, because pre-5.x changenumbers are sequential integers, not timestamps.
However, the change that corresponds to the changenumber is clearly visible under the "cn=changelog" suffix. So if you look at the change itself you can see the timestamp on it.
For more info on the status of replication, you should be able to query the agreements on the supplier. Those live under the "Netscape Machine Data Suffix", which you can also find on the supplier's root DSE:
ldapsearch -h <supplier> -s base -b "" "objectclass=*" netscapemdsuffix
And of course the error logs will usually tell you if replication is failing outright.
I may be off on some of the attribute names, but if you do some investigating along these lines, you should be able to figure it out. -
Is there a script to create a button to set an activated frame to document size + bleed?
Please see my question above. Thanks in advance!
Here is a script that creates a script that creates a button that sets an activated frame to document size + bleed.
Why do you need a script to create a button that sets an activated frame to document size + bleed? You might as well have a script that sets an activated frame to document size + bleed, because you already need to double-click the script that sets an activated frame to document size + bleed and so there is no need to show another button that you can click to set an activated frame to document size + bleed in that.
theScript = 'var w = new Window("dialog", "Reframe");\n'+
'w.b = w.add("button", undefined, "Click me!");\n'+
'w.b.onClick = function(){ w.close(3); };\n'+
'if (w.show() == 3)\n'+
'{\n'+
'dp = app.activeDocument.documentPreferences;\n'+
'app.selection[0].geometricBounds = [\n'+
'app.layoutWindows[0].activePage.bounds[0]-dp.documentBleedTopOffset,\n'+
'app.layoutWindows[0].activePage.bounds[1]-dp.documentBleedBottomOffset,\n'+
'app.layoutWindows[0].activePage.bounds[2]+dp.documentBleedInsideOrLeftOffset,\n'+
'app.layoutWindows[0].activePage.bounds[3]+dp.documentBleedOutsideOrRightOffset];\n'+
writeFile = new File (app.activeScript.parent+'/new script.jsx');
writeFile = writeFile.saveDlg( 'Save script', File.fs == "Windows" ? "Script:*.jsx,All files:*.*" : function(file) { return file instanceof Folder || (!(file.hidden) && file.name.match(/\.jsx$/i)); } );
if (writeFile != null && writeFile.open("w"))
writeFile.encoding = "utf8";
writeFile.write (theScript);
writeFile.close(); -
Script to create tables from an existing database
I need a script to create tables without storage parameters from existing database
Please repost your question in the database forum, General Database Discussions
-
hi
i want to create sales order status report.
i want to know the all tables and fileds required for this report.
pls help me asap.
thank u**& Report ZBAPI_SALESORDER_GETSTATUS **
Read and Display the Sales Order Items and Status of the Order
REPORT zbapi_salesorder_getstatus NO STANDARD PAGE HEADING LINE-SIZE 200 LINE-COUNT 33(3).
TABLES: vbap. "Sales Document Item Data.
DATA: wa_bapireturn TYPE bapireturn,
wa_bapisdstat TYPE bapisdstat,
it_bapisdstat LIKE STANDARD TABLE OF wa_bapisdstat.
TYPES: BEGIN OF ty_mat_name,
matnr TYPE makt-matnr,
maktx TYPE makt-maktx,
END OF ty_mat_name.
DATA: wa_mat_name TYPE ty_mat_name,
it_mat_name LIKE TABLE OF wa_mat_name WITH KEY matnr .
PARAMETERS: p_vbeln LIKE vbap-vbeln DEFAULT 5573.
START-OF-SELECTION.
SELECT matnr maktx FROM makt INTO TABLE it_mat_name.
CALL FUNCTION 'BAPI_SALESORDER_GETSTATUS'
EXPORTING
salesdocument = p_vbeln
IMPORTING
return = wa_bapireturn
TABLES
statusinfo = it_bapisdstat.
IF wa_bapireturn IS INITIAL. " Successful Execution.
WRITE: / 'Document No: ' COLOR 1, 20 'PO Number : ', 40 'Status' , 50 'Delv.Stat',60 'Item No', 80 'Material', 90 'Material Description', 130 'Net Price' COLOR 2.
ULINE.
LOOP AT it_bapisdstat INTO wa_bapisdstat.
WRITE: / wa_bapisdstat-doc_number. " Sales Document Number.
READ TABLE it_mat_name INTO wa_mat_name WITH KEY matnr = wa_bapisdstat-material.
WRITE: /20 wa_bapisdstat-purch_no, " Customer Purchase Order Number
40 wa_bapisdstat-prc_stat_h, " Processing Status
50 wa_bapisdstat-dlv_stat_h, " Delivery Status
60 wa_bapisdstat-itm_number, " Item Number
80 wa_bapisdstat-material, " Material
90 wa_mat_name-maktx, " Material Description
130(10) wa_bapisdstat-net_price. " Net Price
CLEAR wa_bapisdstat.
ENDLOOP.
REFRESH it_bapisdstat[].
ELSE.
WRITE: wa_bapireturn-message.
ENDIF. -
Rman consolidated backup status report
Hi,
I am trying to write a script which collects the backup status report from all specified servers and all databases in each server. So if i run from one server, it should log on to all servers and get database reports.
I think, i need select from rman view's.....
sample output
"DB INCR 0" dbname_server Compl: 2010-12-04 12:56 Length: 0 hr Age: .77 days
"ARCHIVELOG" dbname_server Compl: 2010-12-05 03:04 Length: 0 hr Age: .18 days
Any help is apprecieated
Edited by: 812261 on Dec 8, 2010 12:44 PM992762 wrote:
hi 812261,
I'm also in need of a similar report, can u pls share the script that you have(perl). this would be highly helpful for me.Did you notice that you were responding to a two year old thread?
Did you read Dan's comments regarding a catlog?
>
u can email that to <snip>
thanks,I've snipped out your email address in my reply. I suggest you do the same in your own post. That is unless you actually enjoy the offers to help move money out of Nigeria, and to purchase certain, umh, "enhancement" products. Putting your email address on a public forum does nothing but expose it to every spambot crawler on the planet.
Edited by: EdStevens on Mar 22, 2013 3:20 PM -
Cannot save status report in cProjects
Hi,
I cannot save project status report in cProjects. When I click the save button, it just shows the timer showing saving icon but never comes out of it.
Could anyone please help and guide me where the problem lies?Hi ,
There may be mainly two reasons
1) As neil say check your ADS Installation
2) Check the IMG setting as follow
Collaboration Project --> Basic Settings --> Form for printing and project Status Report
in that use Activate forms per Project type .
Select your project and click on right hand side PDF print form
you will find the list of status report , check there status report print form is active or not.
if you standard
then DPR_STATUS_REPORT_AIF Is activated or not.
3) Collaboration Project --> Basic Settings --> Form for printing and project Status Report
in that check the BADI
DPR_STATUSREPORT_PDF AND
DPR_STATUSREPORT_AIF
Is ACTIVATE OR NOT
if you create your own status report form you need to create BADI .
thanks
sunil -
Weekly status report in SharePoint 2013
Hi
guys.
I
recently found a link that showed how to create a weekly status report in SharePoint 2010 using wikis: http://blogs.c5insight.com/Home/tabid/40/entryid/200/Creating-a-Weekly-Team-Status-Report-in-SharePoint-2010-Using-Wikis.aspx
I
am new to sharepoint and currently I am using sharepoint 2013.
I
created a wiki page library and the library contains wiki pages for every team member so
that each member can enter their own status information in it.
Now I would like to create a form inside the wiki page in which users
can submit their status reports on a weekly basis and then submit that.
The submitted information must be stored in a way (may be a document)
so that it can be reviewed by senior management. Also, I need a way to archive past
weekly status reports.
Can
someone guide me on this?
Thanks,
AnkitYou need to create a custom list with appropriate fields. Set up security so people can only see the items they have created. You can create a workflow in SharePoint Designer that alerts the appropriate people who need to approve it. Then, you can
edit a Wiki page and drop the list's web part on to the page. -
Hi All,
I am using cProjects 4.0. I have tried to create a "New Status Report" using Template "Project Status Report" on the Status Reports Tab page. Then clicked on the Preview button. Now I am getting a blank page with "Save", "Save and Send" and Cancel button at the top. But when I try to save it, its not saving the Status report also no message is generated.
Therefore I could not generate status report.
Again if I want to "Save and Send" then it it asking for the Recipients Email Id assigned to the User address. But should merely maintaining the Email id in the user address be sufficient enough to send Email to external Ids ? What are the additional configs we need to do ?
I have done the PDF form assignment to the project type and also activated it.
Pls help me out.
Warm regards
PurnenduHi all, i resolved the problem ....
you have to check those notes...Note 944221 .. Note736902..Note 702438.
and then check all the ADS config because it´s very easy to have problems with the User and passwords config of the ADSUSER ( Note 894009 ).
Hope this will be usefull.
Regards,
Diego. -
Project Status Report in MS Power Point
Hi Experts!
I am very new to Project Systems. Our requirement is to create a Project Status Report. This report should be generated in MS Power Point which should be editable.
Do we have any standard reports or test reports for the same? Can someone give some pointers for the same? Your help is highly appreciable.
Thanks a lot.Try convincing your client saying that this is absolutely not possible in standard SAP. However also let the client know about other alternative stating that standard SAP reports can be downloaded to Excel which then can be used as a reference to create a power point presentation. This, though, can be done manually only.
Maybe you are looking for
-
Can I publish a calendar twice -or- can I put a cal in two groups
I have two intertwined challenges. If I can solve both, fantastic. Help in solving even one would be appreciated. 1. I want my assistant to have read-only access to my calendar, so he can see when I'm free and when not. However, he doesn't need to se
-
Acrobat 9.5.5 Update Problem
Hi, I updated Acrobat 9 Pro (on Windows 7) today. Now I cannot print a pdf from the web browser (IE 10). If I disable the "view pdf in web browser" feature and open online pdf files in Acrobat instead of IE, it works fine. Something with the update b
-
JTree Nodes with the same name
What do I have to do to get the JTree to render nodes with the same name? These Nodes user objects are completely different object types and each has a unique hashcode. + Root Node +-- node1 (this is a folder) +-- node1 (this is a file) The problem i
-
Help with mapping a particular process
I have 3 tables in this mapping process. a. I have a dimension table which consists of customer information. b. The 2nd table is a dimension table which is customer address information. This table is a child to customer information table. c. The last
-
adobe application manager was not allowing me to launch photoshop cs6, i am using windows and recently purchased CS6 as a single application from creative cloud, I have been unable to use this product and as a web designer this is costing me both tim