User Interface in SAS - user-interface

I want to build an user interface on SAS for logistic regression in which we provide the data - or upload the data with the variables and the dependent variable and it gives an output which gives us the Regression table and a few other desire metrices.
What should be the most efficient way of doing this? Does SAS have such a provision of doing it?

To add, if you know some HTML / JavaScript and have access to a SAS Stored Process Web Application (licensed with the Integration Technologies component linked to by DomPazz), we maintain a GPL licensed library that lets you very easily build modern, standard HTML5 user interfaces to your SAS analytical routines.
Have a look at the H54s library on GitHub.

There is an old SAS package called SAS/AF that allowed you to build UIs. That package is rarely used for a number of reasons.
I have built numerous UIs for SAS in .NET connecting to SAS via a Workspace Server. There are also libraries in Java to do the same. Take a look at SAS Integration Technologies (http://support.sas.com/documentation/onlinedoc/inttech/index.html)

If you use SAS EG or SAS Studio they both provide a GUI interface for various procedures. SAS Studio is relatively new, and you can write your own custom tasks for it as well.
Here's the the link to logistic regression analysis in SAS Studio. Even if you don't use it the options should give you an idea of the options that you may want to include in your GUI.
http://support.sas.com/documentation/cdl/en/webeditorug/67434/HTML/default/viewer.htm#n1sahl3jgs8b2qn11jcr7n9vr1qd.htm

Related

Developing Performance Automation Framework

I want to develop automated performance framework for performing load/stress testing on web application.I tried using Jmeter webdriver and also reusing selenium existing scripts for performance testing. But the concern is, i do not want to use any performance tool(Jmeter/Loadrunner) for writing or executing the scripts.
For eg: Selenium IDE can record the browser action in script format and later it can be executed. But the other way is, functional scripts can be created using eclipse after configuring selenium JAR files and while running those scripts test data can be read from any xls/txt file.
Does similar kind of thing is possible for creating performance testing framework i.e performance scripts can be written using some editor(eclipse/visual studio...etc)other than performance tool and the required data can be read from external file(xls/txt)?? Please let me know.
Since you didn't mention nothing about the language - I could advice you to take a look at the VisualStudio Ultimate. It has everything you need and is build-in. You can record web tests, extend those with specific web requests, add data-driven approach and manage all that from a single MS MSQL DB (even the free Express edition). But the thing that is more likely to help you with the
the required data can be read from external file(xls)
is that not only you can read, but also export vast number of metrics in such format. So the reporting is in business friendly view.

Portable Frontend Data input interface for SQL Server Database

I have a SQL Server Database, I want a front-end graphical user interface for data input, which can be either web or desktop. But it has to be portable I mean it should be used without additional installation of any program. That front-end interface will be used by many users for input data into Database. Can you please help and suggest me?
Please see the link to the similar question. I find it quite helpful.
Which tool to build a simple web front-end to my database
and this
http://community.spiceworks.com/topic/195850-does-anyone-have-a-quick-and-dirty-way-to-access-ms-sql-data-from-a-web-app
and if you have some free time also this
http://www.academia.edu/4948292/Design_and_Implementation_of_Graphical_User_Interface_for_Relational_Database_Management_System
and potentially this
https://ask.sqlservercentral.com/questions/89751/is-there-a-front-end-application-development-tool.html
I hope it helps (at least a bit!)
Not sure if anyone is still looking for this, but https://beekeeperstudio.io is an open source database gui with a portable build.
Windows has a portable exe
Linux has appimage

How to create PDF reports using PL/SQL

Is there PL/SQL package or engine available which would enable the creation of PDF reports from stored procedures?
If your looking for a freeware or open source package, their is this. I've not used it, but it has good reviews. lPL_FPDF If you have a budget, then this, which enterprise class product, meaning excellent documentation, is available. plpdf.
The commercial package is written in native Pl/SQL so will be very easy to use. The open source package I don't know.
If your running in an Oracle environment, with any of the reports servers, then all of then support PDF being emitted both to the printer and stored in the db as blobs.
Its a fairly tedious task to configure it, from what I remember.
Hope that gets you started.
B
PL_FPDF has many problems, such as 32k page limitations and many bugs. I've modified the code and renamed it to wpdf. You can get wpdf here: http://databaseknowledge.com/services.htm
You may want to look into Oracle Application Express to create PDF reports, but depending on how the output is coming out from your stored procedure, it may not be an easy tool to use.
You can find directions here:
http://www.oracle.com/technology/obe/apex/apex31nf/apex31rpt.htm#t1
Oracle Application Express - printing features not to be forgotten. You can use interactive reporting from browser and decide what you need to print. You can apply XSLT also and decide the printing format.

What is the perfect toolbox for PL/SQL development?

I work on two projects with a lot of PL/SQL code since few months.
However, I didn't find any really interesting tools to develop on this langage.
For the moment, my configuration includes the following tools:
Eclipse (the rest of the application is developed in Java), with PL/SQL Editor plugin
As I really don't like and trust the PL/SQL Editor plugin for Eclipse, I use mainly PsPad for editing my PL/SQL files.
SQL Developer (I have also TOAD, but I don't really know/like this tool).
So what is your "perfect" toolbox for developing PL/SQL applications?
I've also read that SQL Developer 2.1 introduces a PL/SQL unit testing feature. Does anybody has a feedback about this feature and this version of SQL Developer (I still use 1.5) ?
Being an old-fashioned sort of chap I still mainly get along with SQL*Plus and the TextPad IDE. TextPad is nagware, but the licence is cheap and the tool has some fantastic features. Also people have written PLSQL syntax libraries for it, which give you keyword highlighting. It is also possible to hook TextPad into other desktop tools such as Subversion.
SQL^Developer is written in java, which means it is a voracious consumer of memory. Still there is undoubted merit in having a data browser. Also the upcoming version 2.1 features built-in unit test, which could be very tasty.
Useful utilities:
pldoc :: generate Javadoc-style
documentation from the comments in
your package spec
utplplsql :: unit test harness;
old but it still works
QUTO :: another, more
sophisticated unit test harness
(which I don't use for the same
reason I'm still hacking with
SQL*Plus and TextPad)
QGCU :: PL/SQL code generator
(previously QNXO)
In defence of Luddism
The danger with tools like TOAD and SQL*Developer is that they allow us to execute DML and DDL directly against the database, including editing PL/SQL source. This is fine and dandy and awfully in the spirit of Getting Things Done. Until we need to revert our changes. Or the production DBA demands a script....
Of course it is possible to use TOAD or SQL Developer in a safe fashion - I know SQL Developer can hook into source control as well - if just requires more self-discipline.
I always liked the PL/SQL Developer by Allround Automations - an excellent, quick and easy to use, and totally affordable tool!
For an interactive query shell - much better than SQL*Plus - I used to use "Golden" - a nice and powerful shareware tool, highly recommended.
Much better than anything else I ever tried with Oracle.
Marc
Might be a slightly different answer than you were expecting but I feel the Oracle documentation and in particular this book should be essential for any PL/SQL toolbox.
My primary editor for PL/SQL packages is SlickEdit.
SlickEdit offers good support for PL/SQL development, though you might miss the direct connection to the database that tools like TOAD or SQLDeveloper offer.
On the other hand, working on PL/SQL files (instead of directly working on database objects, like many TOAD users do) is IMO a good practice for any non-trivial project.
In addition to SlickEdit, I use a few self-made helper programs, e.g. one that loads source code from the database and creates a source file, and another one that compiles the source and calculates the correct line numbers for errors in a file that contains multible objects, e.g. both package specification and body.
For direct database access, I prefer SQLDeveloper, mostly because it's free and works well on Linux.
I use:
Eclipse as the IDE
Toby's PLSQL Editor as the PLSQL Eclipse plugin
TOAD as the database tool
utplsql and OUnit as the unit test framework
Ant as the build tool
CVS as the source control tool
pldoc as the documentation tool
CruiseControl as the continuous integration tool
Toby's PLSQL Editor can do:
Syntax highlighting
Code completion
Load to database
Header generation
F3 jump to code

Conversion tool for MS-Excel spreadsheets with macros and VB to Oracle?

Our users have created MS-Excel spreadsheets which over time have evolved into fairly complex applications. They run their part of the business with them. But, never having been exposed to software development discipline, these spreadsheets are brittle, single point of failure, solutions.
Our development group uses Oracle primarily with Java and some other technologies. Is there a tools for conversion from MS-Excel to Oracle? At least part way so we can get a head start and not just have to reverse engineer and rewrite?
There are tools that could convert the data, but trying to converting the formulas would cause the design to be inefficient at best and unusable at worst. The difference between spreadsheets and an Oracle database are similar to the differences between a home gardener and a farmer. Both are useful on their level and some of the same principles apply, but the techniques employed are entirely different.
I suggest you examine the spreadsheets until you understand the goals they are trying to meet and then architect a system in Oracle that meets those goals using the best techniques available in Oracle. The processing will end up being quite different, but the product will be significantly better for it.
You can suck a spreadsheet into MS Access, then push it directly into Oracle as a table (or append it to an existing table). I'm sure you could write an MS Access macro to do it.
It also appears to be possible using SQL Loader from Oracle, but I've never tried that myself.
No there aren't any tools that will covert the formulas or logic. You will have to do that the hard way. You can get the data into Oracle by exporting it as a CSV and using SQL Loader to import it into the database.
You can find tools to migrate the data, but other than that you wouldn't find a tool to automatically do this, you would have to do it all manually.
Even directly copying what was there would not make sense, you were using very limited tools (Excel), you would need to re-analyze the requirements, and possibly modify them before doing anything else.

Resources