Scripts for availability reports
Hello,
I am looking for scripts to check if my databases meet the Uptime of our Service Level Agreement.
With the GUI i select Reports, but i can only select a period of days, not between hours in a day.
For example: out criteria is to have the db available between 7:00 and 19:00 hours.
Hope anyone can help me
Thanks in advance.
carl
Smartforms for Invoice-- LB_BIL_INVOICE
Delivery Note-- LE_SHP_DELNOTE
Purchase Order MEDRUCK
Sales Order RVORDER01
Standard form for PO Smartforms is /SMB40/MMPO_L
Also,
Goto NACE tcode-> choose the application u want( like billing for invoice, PO)->output type->output type->processing routineon left side
Here u will find the standard program name and smartform .
Also chec k this thread for field addition.
SmartForms - output field of type Quan
Regards
Similar Messages
-
Standar progarms and scripts for SD reports
hi experts,
Can any one list all the standard driver programs,output types ,scripts,smartforms for SD reports like deliveery order ,sales order,invoice etc
maniSmartforms for Invoice-- LB_BIL_INVOICE
Delivery Note-- LE_SHP_DELNOTE
Purchase Order MEDRUCK
Sales Order RVORDER01
Standard form for PO Smartforms is /SMB40/MMPO_L
Also,
Goto NACE tcode-> choose the application u want( like billing for invoice, PO)->output type->output type->processing routineon left side
Here u will find the standard program name and smartform .
Also chec k this thread for field addition.
SmartForms - output field of type Quan
Regards -
Script for filesystem- report on windows
Hello experts,
i have to create every week a filesystem- Report (Excel- Sheet) of several Windows- Server. Now I'm looking for a method how i can automate this task.
It is possible to create a report from Central- Monitoring system for all this systems?
I have the following ideas to do this:
Using function module like GET_FSYS_SINGLE and integrate this in a java- program ... Export data of ccms- Monitoring data into a report...
I appreciate any hint!
Thanks in advance!
Regards
Lutzok
-
Shell script for Automatic Awr Report
Hi Good Morning,
I have a requirement to generate the AWR report daily between (10AM - 06PM , 10AM - 01PM , 01PM - 10PM) . I have the below script for this . But the issue is this script is working only when i run it two times and before running i have to delete snap_list.lst file. Please let me know what is the problem in this script and how to resolve it.
Script :
dt=`date +%d%m%Y`
cd /orabkp/awr_report
chmod 777 *
rm -rf snap_list.lst
touch snap_list.lst
#rm -rf snap_list.lst
#rm -rf snap_list.lst
sqlplus -s " /as sysdba " <<EOF > snap_list.lst
host sleep 10
@/oracle/scripts/cron_scripts/rpt1.sql;
@?/rdbms/admin/awrrpt.sql
HTML
1
`cat snap_list.lst | grep "10:0" | awk '{print $1}'`
`cat snap_list.lst | grep "13:0" | awk '{print $1}'`
awrrpt\_$dt\_10AM\-01PM.html
prompt 2
@?/rdbms/admin/awrrpt.sql
HTML
1
`cat snap_list.lst | grep "13:0" | awk '{print $1}'`
`cat snap_list.lst | grep "18:0" | awk '{print $1}'`
awrrpt\_$dt\_01PM\-06PM.html
@?/rdbms/admin/awrrpt.sql
HTML
1
`cat snap_list.lst | grep "10:0" | awk '{print $1}'`
`cat snap_list.lst | grep "18:0" | awk '{print $1}'`
awrrpt\_$dt\_10AM\-06PM.html
@?/rdbms/admin/addmrpt.sql
`cat snap_list.lst | grep "06:0" | awk '{print $1}'`
`cat snap_list.lst | grep "12:0" | awk '{print $1}'`
ADDM_REPORT\_$dt\_10AM\-06PM.txt
EOF
exit
cat /oracle/scripts/cron_scripts/rpt1.sql
host echo 1
host sleep 10
@?/rdbms/admin/awrrpt.sql
HTML
1
`cat snap_list.lst | grep "10:0" | awk '{print $1}'`
`cat snap_list.lst | grep "13:0" | awk '{print $1}'`
awrrpt\_$dt\_10AM\-01PM.html
Regards
RajasekarHi,
Modify & Try this script used for rac awr ..
#!/bin/ksh
set -x
ORACLE_SID=DBSID
ORACLE_HOME=/u01/app/ora11g/product/11.2.0/db_1
export ORACLE_HOME
TERM=vt100
export TERM
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/local/bin:/usr/bin/X11:/bin:/sbin:.
PATH=$ORACLE_HOME/bin:$PATH
export DT=`date '+%d_%b_%Y_%HH_%MM'`
export ORACLE_BASE ORACLE_SID ORACLE_HOME PATH DT
echo $DT
MAIL="[email protected]"
CMAIL="[email protected]"
AWRR="/u01/DBA_Scripts/AWR_REPO"
sqlplus -s "/ as sysdba"<<EOFSQL
set head off
set feed off
spool /tmp/bsnap.lst
select max(SNAP_ID)- 3 from dba_hist_snapshot;
spool off
spool /tmp/esnap.lst
select max(SNAP_ID) from dba_hist_snapshot;
spool off
spool /tmp/iname.lst
select instance_name from v\$instance;
spool off
spool /tmp/dname.lst
select database_name from v\$database;
spool off
spool /tmp/inum.lst
select instance_number from v\$instance;
spool off
spool /tmp/dbid.lst
select dbid from v\$database;
spool off
EOFSQL
BSNAP=`cat /tmp/bsnap.lst | tail -1 | awk '{ print $1}'`;export BSNAP
ESNAP=`cat /tmp/esnap.lst | tail -1 | awk '{ print $1}'`;export ESNAP
INAME=`cat /tmp/iname.lst | tail -1 | awk '{ print $1}'`;export INAME
DNAME=`cat /tmp/dname.lst | tail -1 | awk '{ print $1}'`;export DNAME
INUM=`cat /tmp/inum.lst | tail -1 | awk '{ print $1}'`;export INUM
DID=`cat /tmp/dbid.lst| tail -1 | awk '{ print $1}'`;export DID
echo "Begin Snap : $BSNAP"
echo "End Snap : $ESNAP"
#echo "InstanceName: $INAME"
echo "DB Name : $DNAME"
#echo "InstanceId : $INUM"
echo "DB ID : $DID"
sqlplus -s "/ as sysdba"<<EOFSQL
define inst_num = $INUM;
define num_days = 12;
define inst_name = 'ALL';
define db_name = '$DNAME';
define dbid = $DID;
define begin_snap = $BSNAP;
define end_snap = $ESNAP;
define report_type = 'html';
define report_name = $AWRR/Awr_report_$DT.html
@@?/rdbms/admin/awrgrpti
EOFSQL
cat /u01/DBA_Scripts/mail_body.txt | mailx -a $AWRR/Awr_report_$DT.html -c $CMAIL -s "DB Report - DB " $MAILThanks,
Ajay More
http://www.moreajays.com -
Standard driver programs,output type ,scripts,smartforms for SD reports
hi experts,
Can any one list all the standard driver programs,output types ,scripts,smartforms for SD reports.
maniHi,
Check this out
NACE
You can track the form and the print program used for that form
The Tcode NACE is used to link the Standard SAP forms (SCRIPTFORM or SMARTFORM) or the customized form or the new form to its respective print programs. Also the output types, Form entry are linked with their forms and print programs. In short term, i can tell u that configuration or customization of forms to print programs, assigning output types, form entry to the forms are done using this Tcode.
NACE is used to create output type while creating the output type you will mention forms, and driver program.
that will be maintained in the table TNAPR.if you create the output type using NACE then it will be automatically visible in table NAST and TNAPR.
so check in NAST, TNAPR table
http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm
Condition records in NACE?
and
NACE is used for message control customizing.
Take a look at the following link
http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm
and also
NACE is used for message control customizing.
Take a look at the following link
http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm
If it helps reward with points.. -
FIM Reporting ETLScript PowerShell Script for SCSM 2012?
Hi,
The FIM Reporting Deployment Guide is great, however on a few occasions it forgets to mention where you meant to execute things (http://technet.microsoft.com/en-us/library/jj133855(v=ws.10).aspx) .
For example, if it wasn't for the screenshot in the article, we would not have known that we need to run the ETLScript from the FIM Service/Portal server.
Everything until the ETLScript has thus far worked; and we have deployed the Service Manager 2012 console on the FIM Service/Portal server (since we are using SCSM 2012 for FIM Reporting).
However, it appears that the ETLScript (in the deployment guide) has been written for SCSM 2010.
So, has Microsoft or anyone published an updated SCSM 2012 ETLScript script?
Thanks,
SKCould this be it?
http://gallery.technet.microsoft.com/PowerShell-Script-to-Run-a4a2081c -
Is there an availability script for dreamweaver?
Hi for my site i like to build an avalabilty page. Its a Site where you can rent a house.
I have something like this in mind:
http://www.vakantievillamydream.com/en/availability.html
I hope its possible?
Regards Brianthank you snake eyez,
I found one. But the problem ive got now is confusing. I see a lot of text and i dont know why that is.
Hope you can help
http://www.hureninparamaribo.nl/contact.htm
regards Brian
Date: Thu, 17 May 2012 09:46:45 -0600
From: [email protected]
To: [email protected]
Subject: Is there an availability script for dreamweaver?
Re: Is there an availability script for dreamweaver?
created by SnakEyez02 in Dreamweaver - View the full discussion
It's possible as long as you know how to program. DW has nothing built in to make these. If you don't have the knowledge I would recommend outsourcing it or going to a place like Hotscripts.com and look for one in your server language. None really come to mind or jump out at me, but many are free or have free trials so that you can see what works best for you.
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4416249#4416249
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4416249#4416249. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Dreamweaver by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Monitoring scripts for AlwaysOn Availability Group
Does anyone have any any monitoring scripts for AlwaysOn AG using Transact SQL or stored procedures? I'm not a strong coder and don't know Powershell at all. But if there are some Powershell scripts we may be able to use them. I've
seen the dashboard but that's only good if you're logged onto it.
I'm looking for things like monitoring when a database is suspended, send an alert to us but also tries to do the resume.
Thanks for any info.Start with this list
http://technet.microsoft.com/en-us/library/ff877954.aspx
Automating the issue resolution has to conform to your operational standards. For example, if you use a file share witness for your quorum configuration and your monitoring tells you that it is offline, do you automate bringing it online or do you escalate
to your infrastructure team so that they can look into it? If the database is suspended or the Availability Group in offline state, do you just bring it online or do you check other dependencies like the quorum configuration and instead perform a forced quorum?
I'm a big fan of automation but make sure you define your process first so that you don't cause more issues as a result.
Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
Blog |
Twitter | LinkedIn
SQL Server High Availability and Disaster Recover Deep Dive Course -
Hi,
I would like to get certified for the SAP Crystal Reports. So, I would like to get some info about the currently available Certification Exams for Crystal Reports (2011/2013). Also, would greatly appreciate if you have any suggestions for this Certification Exam preparation materials from another 3rd party or from SAP directly . I would like to prepare or get trained well before taking the exam as I see it costs around $500.
Thanks in advance for your help in this regard!
Sincerely,
JPlease search here.. Training and Certification Shop for your desired certification or training. Don't forget to set your location.
Please use some summarized title for your query. -
Looking for privilege reporting script
Some time back (quite some time back, actually!) I had a script that would report all the privileges granted to or inherited by a user or role. It recursed through all of the nested roles to develop the list. I seem to have lost that but hoped someone would know of it or something like it. It seems like it originally came from Pete Finnigan, but I can't find it on his site.
jgarry wrote:
[This one?|http://www.petefinnigan.com/find_all_privs.sql]
That would be the one!
Thanks. -
How can I set default copies for specific report?
I'm trying to set a default of one copy on a specific concurrent request. In this particular case, the NACHA request that produces the NACHA magnetic file. I have a dummy custom printer driver, style, etc. setup and attached to the NACHA concurrent program so that when it executes (as long as the user remembers to put 1 in the Copies field on the concurrent request screen) it will execute the Unix shell script (it grabs the file and FTP's it somewhere).
The problem is, if the user forgets to put 1 in Copies, the Unix shell script won't execute. I'd like to make it so this one request comes up with a default of 1 in Copies. The only way I know of to set copies is in the site profile, application profile (like HR, AP, etc.) or user profile. I really don't want any of these because then the default will be set for all reports within those respective profiles. I was hoping there was a way to set the number of copies in the printer control file, but thus far I can't find any current documentation that shows the syntax of the available commands for the printer control file. Found something on the Internet, but it looked like it was for Oracle 7, perhaps. We're on 11i. On that page, I saw nothing about setting copies, so I don't know if it was just missed, isn't possible or is possible in the new version.Looks like I may have found my answer.
Create a report set
Add the concurrent program to the report set
set copies in the options zone of the report set to 1
Run the report set instead of the concurrent program itself and the copies will always be defaulted to 1. -
Are there any information gathering tools or scripts for Sun VDI 3.1.1?
Hi,
Are there any information gathering tools or scripts for Sun VDI 3.1.1?
for problem reporting or service supportting , such as
ut_gather, a ksh based tool to collect all Sun Ray related information from a Sun Ray server.
http://www.sun.com/bigadmin/jsp/descFile.jsp?url=descAll/ut_gather_1_4_6
http://www.sun.com/service/gdd/index.xml
Sun Explorer Data Collector in The Sun Services Tools Bundle (STB)
http://www.sun.com/service/stb/index.jsp
http://www.unix-consultants.co.uk/examples/scripts/linux/linux-explorer/
http://www.slideshare.net/Aeroplane23/information-gathering-2
Windows MPSreports, msinfo32
Redhat sysreport
Suse Siga reportconfig
Any advice would be appreciated.
Thanks,ut_gather versions are available on MOS under reference #1260464.1
-
Project Online - Cube script for building files
Hi
We have to use Project Online for our solution and we need to build a reporting database in SQL.
Instead of building the schema manually,are there any pre built 2013 ones for use?
Also, would there be any ETL scripts for building the cubes available or are all of these only developed through paid services - ie Project Hosts, Agorain?
Regards
SeanHello,
There are some SSIS package examples / blog posts you can start with but each organisation would have different requirements so it would be difficult to have a pre-built production SSIS package that suited all. The links below might help get you started
with creating your custom SQL Reporting database / data warehouse:
http://pwmather.wordpress.com/2014/03/26/projectonline-data-via-odata-and-ssis-in-sql-database-table-on-premise-msproject-sharepointonline-bi-ssrs-office365-cloud/
http://nearbaseline.com/blog/2014/04/project-site-custom-list-reporting-using-ssis-odata-connector/
http://msdn.microsoft.com/en-us/library/office/dn794163(v=office.15).aspx &
http://www.microsoft.com/en-us/download/details.aspx?id=43736
To create an OLAP cube from you custom data warehouse would required you to create the code to do that. You could look at using one of the Microsoft partners to do all of this for you as a paid service.
http://office.microsoft.com/en-gb/project/microsoft-project-partner-resources-ms-project-FX103802119.aspx
Paul
Paul Mather | Twitter |
http://pwmather.wordpress.com | CPS -
I have a situation, where i need to write expression Period to date(PTD). i want to know how to get the period date. i want you to help in writing Period date or else is there any function to get period date for a given date(the date is given
from the parameter dynamically) in MDX for SSRS report
ramHi ram,
Per my understanding that you want to get the period date based on the month selected and the given date, right?
Could you please provide details information below to help us better understanding your requirements, thus we will be more effective to provide an solution:
What is the format of the period date you want to get, is this date in the DB and you want to filter it based on the month and the given Date?
Did the month and given date are two parameters in the report? if possible, could you please provide some sample data in the DB and also the snapshot of the report structure
I assume you want to get the period date(mm/dd/yyy) between the select month(e.g:Feb) and the given date (10/1/2014) and you should get the date between(02/01/2014-10/1/2014).
If so,and you also have two parameter "Month","EndDate"(EndDate is the given date), please reference to details information below:
You can create an new parameter "BeginDate" (Date/Time) which is the begin date of the period, you can use the expression to get the value based on the value of the month and the year value from the given date,finally hide this parameter:
Specify the available value:
Label:=Parameters!Month.Value &"/01/"& DatePart("yyyy",Parameters!EndDate.Value)
Value:=CDate(=Parameters!Month.Value &"/01/"& DatePart("yyyy",Parameters!EndDate.Value))
Specify the default Value:
Value:=CDate(=Parameters!Month.Value &"/01/"& DatePart("yyyy",Parameters!EndDate.Value))
Add filter to the dataset as below:
Preview you will get all the date in the given Period:
If you still have any problem, please feel free to ask.
Regards
Vicky Liu -
IF Condition in a PL/SQL Script give a report error.
Hello, Im German and I hope you can unterstand my Question.
First, I work with the HTML DB Version 1.6.0.0.0.87 and the Oracle Version 9.2.0.6.
I create a SQL Report, where a PL/SQL Script return the SQL Statement for the Report. This is my source-code, I have short it...:
Declare
sql_str varchar(2000);
sql_str_select varchar(1000) :=' select dim_sparte ... ';
sql_str_from varchar(1000) := ' from faktentabelle,dim_sparte ';
sql_str_where varchar(1000):= ' where and faktentabelle.zeit_id = :POPUP_ZEIT ';
sql_str_groupby varchar(1000):= ' group by dim_sparte.name, faktentabelle.zeit_id ';
Begin
If ( (V('POPUP_NETZGEBIET') is not NULL) and (V('POPUP_NETZGEBIET') <>
'Alle Netzgebiete')) THEN
sql_str_select := sql_str_select || ' ,dim_organisationseinheit.netzgebiet_name ';
sql_str_from := sql_str_from || ' , dim_organisationseinheit ';
sql_str_where := sql_str_where || ' and faktentabelle ... and
dim_organisationseinheit.netzgebiet_name = :POPUP_NETZGEBIET';
sql_str_groupby := sql_str_groupby || ' , dim_orga .... ';
End IF;
sql_str:= sql_str_select || sql_str_from || sql_str_where || sql_str_groupby;
htp.print(sql_str);
Return sql_str;
End;
This Script include a IF-THEN condition. The Condition is true and the sql-String-Variables are updatet.
I can get the string with htp.print() and the Statement is OK.
The report get a Error report error: ORA-1403: no data found. If I copy the printet sql String in a new Report Region with SQL String, the Report is OK. When I write IF(true) instead of IF( Condition) the Report is OK, too.
I try ist with Varibalen V(name) and with :name. Its always the same problem. I cant use IF-THEN-Else Conditions in a Script.
Please help me and say me what is the problem???
Thanks,
SimonaHi Simona,
In the sql region below the region source see that you have " Use Generic Column Names (parse query at runtime only)" check and not " Use Query-Specific Column Names and Validate Query".
This error you usually get when you have a mismatch in your report heading.
Vivek
[email protected]
Maybe you are looking for
-
Unable to create tickt in service desk - Solution manage.
Hello, I have implemented service desk ( Solution manager) and It is working fine for most of the system but i am getting error while creating a ticket in service desk for one system. Due to some RFC connection problem i have regenerated the RFC ( tr
-
Edit Pictures.cr2 in Photoshop Elements 6.0
I can't open files CR2 for editing in photoshop element 6.0. The pictures are made with CANON EOS 50D. The message is :
-
Why is firefox slow in loading?
Have to wait 2 mins for firefox to open and when it finaly opens have to wait 10 mins for a link to open. Firefox is the only browser I have as I have deleted everything on my computer. Have also cleared my history etc and the problem still exsists
-
BTE For CJ37. CJ34, CJ38 - Budget document post
What is the BTE for CJ37. CJ34, CJ38 - Budget document post. How to find BTE for those transaction in PS.
-
How do I stop the Flex View po-up message from opening EVERY TIME I log into My Verizon Home? The "do not show again" box does not help. Tech support is helpless. This makes my want to drop FIOS. Appreciate any help. Solved! Go to Solution.