Need help on how to find unused variables and intialization blocks in rpd
Hi ,
I have to remove used initialization blocks and variables.
Could suggest me the wayt to find the unused variables and intialization blocks.
Thnx
1.For the ones used in the RPD, you can right click on the presentation catalog and say Display related variable, init blocks etc.
2. The ones used in Presentation layer only could be identified when they get fired. refresh your dashboards and from the admin tool in online mode you can find which init blocks and variables are fired... eliminate by that way.
3. to know all the variables and init blocks present create the Metadata dictionary of the RPD and you will get a folder named Init blocks... identify and explore there....
Similar Messages
-
How to find unused variable through sequence
Hi,
I would like to know if it is possible to find unused variable through sequence in order to suppress them ?
Thank youHi,
If you're fixed on that version of TestStand for a while (for whatever reason) and you see this situation coming up again, you could always build a small tool to automate the process.
From the current sequence file's handle, you could traverse all the locals and file globals to make a list of all variables and then search the sequences step by step to see if they're in use.
What this won't tell you is if any code modules or custom step types are directly accessing those variables through the sequencecontext handle so removing them can cause issues.
A secondary approach is to cut all the locals (or whatever the variable scope is) in to a new sequence file (or work with a backup version of your sequence file) and delete them from the existing file and see what errors get thrown up.
Finally, as Doug suggests, to get a latest copy of TestStand on to another machine, you could download a trial version and work with that if it's a one off. After all - if you find the sequence analyser feature that useful, it's a great reason to consider your upgrade policy / timing in the future anyway!
Thanks
Sacha
// it takes almost no time to rate an answer -
Need Help ! how can I Pass Variable from JApplet to PHP?
I think I post to the wrong forum and I don't know how to change.
Sorry for messing thing.
I try to send variable for applet to php but the result is no data was recorded in my database.
I think the data did not transfer to php.
I am familiar with php but new to java.
Actually, I don't know how to send the variable for applet.
For example, in PHP will receive $_POST['score'] so in applet, I need to send the variable name "score".
In the book that I use for self-study, mention about servlet but I think PHP is much easier to me.
So I need to know how set this request data to my applet.
In internet, I still not get what is clear for me to understand.
Or I may search with worng keyword or way.....
Can someone please help me?
public class test extends JApplet { public test(){ JButton myButton = new JButton("sendData"); myButton.setFont(new Font("Sansserif", Font.PLAIN, 14)); myButton.setSize(15, 10); myButton.addActionListener(new button()); add(myButton); } private class button implements ActionListener { public void actionPerformed(ActionEvent e) { PostMsg(10,"hello"); } } public void PostMsg(int score, String name){ try { String data = "name=" + name + "score=" + score; byte[] parameterAsBytes = data.getBytes(); // Send data URL url = new URL("http://localhost/addtest.php"); URLConnection con = url.openConnection(); ((HttpURLConnection) con).setRequestMethod("POST"); con.setDoOutput(true); con.setDoInput(true); con.setUseCaches(false); OutputStream wr = con.getOutputStream(); wr.write(parameterAsBytes); wr.flush(); // Get the response BufferedReader rd = new BufferedReader(new InputStreamReader(con.getInputStream())); wr.close(); rd.close(); } catch (Exception e) { System.out.println("ERROR"+e.getMessage()); } } }
<html> <title>Untitled Document</title> </head> <body> include("../connectionJAVA/connect.php"); $name = $_POST['name']; $score =$_POST['score']; //insert data $sql = "insert into java values(null,'$name','$score')"; mysql_query($sql) or die("error=$sql"); </body> </html>rinJava wrote:
I think I post to the wrong forum and I don't know how to change.Yep wrong forum. This is probably a html/applet/web service sort of question. -
How to find Unused variables in procedure,function or package
Hi all,
I want find out unused variables in procedure, function and package.
I have written below script for doing this ,but i am not getting the expected result.
Kindly help me to improve the below code ,so that it works as expected.
{code}
version details
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
"CORE 11.2.0.3.0 Production"
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
{code}
{code}
What i Have tried is This.
DECLARE
V_OBJECT_NAME VARCHAR2(30) :='PR_PRINT';
V_OBJECT_TYPE VARCHAR2(30) :='PROCEDURE';
CURSOR C1(CP_OBJECT_NAME VARCHAR2,CP_OBJECT_TYPE VARCHAR2)
IS
SELECT US.NAME,
US.TYPE,
US.LINE,
REGEXP_SUBSTR(US.TEXT,'.* ') AS var_name
FROM user_source US
WHERE name=CP_OBJECT_NAME
AND type =CP_OBJECT_TYPE
AND REGEXP_LIKE (TEXT,'(v_|g_|c_)','i')
AND REGEXP_LIKE (TEXT,'^[^ ]')
AND REGEXP_LIKE (TEXT,'^[^--]') ;
v_count NUMBER ;
BEGIN
FOR i IN C1(V_OBJECT_NAME,V_OBJECT_TYPE)
LOOP
SELECT COUNT( *)
INTO V_COUNT
FROM USER_SOURCE US
WHERE US.NAME=I.NAME
AND REGEXP_LIKE(US.TEXT,i.var_name,'i' )
AND US.LINE<>I.LINE;
IF V_COUNT =0 THEN
DBMS_OUTPUT.PUT_LINE('variable '||I.VAR_NAME||'Is declared at line#'||I.LINE||' But no where used');
END IF ;
END LOOP;
EXCEPTION
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE('p_err_code := '||SQLCODE||dbms_utility.format_Error_backtrace());
DBMS_OUTPUT.PUT_LINE('p_err_msg := '||sqlerrm);
END ;
{code}
Thanks,
P PrakashHello,
as suggested by padders you can use PL/Scope, an example:
ALTER SESSION SET PLSCOPE_SETTINGS='IDENTIFIERS:ALL';
CREATE OR REPLACE PACKAGE ui_test1 AS
global_number NUMBER := 9;
FUNCTION get_number
RETURN NUMBER;
END ui_test1;
CREATE OR REPLACE PACKAGE BODY ui_test1 AS
PROCEDURE setNull
p_varchar IN OUT VARCHAR2
IS
BEGIN
p_varchar := NVL(p_varchar,'NULL');
END setNull;
FUNCTION get_number
RETURN NUMBER
IS
FUNCTION setZero
p_number IN NUMBER
RETURN NUMBER
IS
BEGIN
RETURN NVL(p_number,0);
END setZero;
BEGIN
RETURN global_number;
END get_number;
END ui_test1;
SELECT DISTINCT
object_name
,object_type
,name
,type
,line
,col
FROM all_identifiers obj
WHERE obj.owner = USER
AND obj.usage = 'DECLARATION'
AND obj.object_name = 'UI_TEST1'
AND NOT EXISTS (
SELECT 1
FROM all_identifiers with_rh
WHERE obj.signature = with_rh.signature
AND with_rh.usage IN ('REFERENCE','CALL','ASSIGNMENT')
ORDER BY TYPE
,object_name
,object_type
,name;
OBJECT_NAME OBJECT_TYPE NAME TYPE LINE COL
UI_TEST1 PACKAGE GET_NUMBER FUNCTION 11 10
UI_TEST1 PACKAGE BODY SETZERO FUNCTION 35 14
UI_TEST1 PACKAGE UI_TEST1 PACKAGE 1 9
UI_TEST1 PACKAGE BODY SETNULL PROCEDURE 12 11
Regards
Marcus -
Can i use wifi to transfer contacts, photos, messages etc- how??
Try this one and see if it helps:
Close your iTunes,
Go to command Prompt -
(Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
(Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
In the "Command Prompt" screen, type in
netsh winsock reset
Hit "ENTER" key
Restart your computer.
If you do get a prompt after restart windows to remap LSP, just click NO.
Now launch your iTunes, Sync and see if it is working now.
If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/TS4123?viewlocale=en_US -
OBIEE 11g, BI Apps EBS: What are default security variables and Init Block
Hi,
We are implementing BI Apps 7.9.6.3 [OBIEE 11.1.1.1.5 with EBS modules]. Out of the box RPD and mappings.
There are many VARIABLES and INIT BLOCKS in the RPD. Some of them are mainly for Siebel, Jd Edwards etc.
I need to know what are the default variables and Init Block configures in RPD. Also it will be highly appreciated if anyone can point out what segments we should configure if we need to implement security with simple database table authentication with SSO?
Thanks in advance.You should review this doc for the options for EBS/OBIA security:
http://docs.oracle.com/cd/E20490_01/bia.7963/e19042.pdf
If helpful, pls mark as correct or helpful. -
How to find unused queries in BWD?
How to find unused queries in BWD?
Please let me know the process after finding unused queries to delete them,and what are the various possibilities we need check before deleting??Hi Bharani,
You can use Transaction RSZDELETE for deletion of query objects with respect to many selections.
In that you have one selection as 'Last Used'. So you can deleted these queries which are very old and not used for long time.
In case if you want to see these queries you can check in the table RSZCOMPDIR using SE16 giving the technical name of the query and here also you can find the field called 'Last Used'.
Based on this you will be able to decide which query you can delete.
Reward points if helpful.
Kind Regards,
Raghu -
I need to know how many downloads individual albums and songs had off of iTunes for a project, how do I find these numbers?
Ed...maybe a little less time gaming and a bit more time in English class? They got this thing called punctuation and sentences now. Last things first; there is no amount of money that can change your GPU so you can scratch that expense off the list. So you need a battery and a fan? Where do you live? USA? We can help you find a battery but where did you plan to have the new fan put in?
-
How to find unused logins?
Hi All,
We have one urgent requirment.How to find unused logins in SQL server 2008? Is there any script to remove unused logins?
Please help me to complete the task.
Thanks,
Siva G
SivaG:Please Marked as Answered, if it resolves your issue.Hello Siva,
How do you define "unused logins", such who have never logged in or ...? Anyway, by default login activities are not logged by SQL Server, you have to implement a logging on your own. Even
LOGINPROPERTY (Transact-SQL) don't return such information.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
I need help understanding how the Apple components connect to create a whole system across all my devices?
Is there a resource that describes current system and associated functionality?
For example:
Buy A, B, C to achieve "X"
You will need:
an internet provider which supports <specs>
add D to achieve "Y"
You will need:
an internet provider which supports <specs>
add "E" to achieve "Z"
You will need:
an internet provider which supports <specs>
For example, I am looking at the Gen 6 Airport extreme. For intended performance do I need broadband? if so what are the specs, or will basic internet service suffice? Do I need the internet provider's modem or does the Airport extreme replace that? And then I think, if I am doing this, I should also look at Apple TV....What do I need and Why? Then I look at the New Desk top coming out in the fall, and I think well, if I wait and get this, what does this component do for the system, and what becomes redundant? What does this awesome desktop do for my ability to sit and use a new macbook air when I travel or sit on the couch in my PJs?
If there was a place that plainly stated "if you buy the new dektop you can configure a system including only these components and achieve <this result> and by adding <additional components> you will achieve this result.
I have been to the genius store a few times, but I come out of there more confused unless I have SPECIFIC questions or already know what to buy.
A "System Configuration App" would be a really great sales tool--Just saying.I have no idea what "fully optimized" means.
No Apple device will let you watch broadcast TV. The Apple TV is a good option for watching streaming TV from iTunes, NetFlix and Hulu. If you want to watch from other sources, you may need to look at other devices.
Any Mac computer or iPad will allow you to surf the web.
What business software?
Time Capsule is a good option for back ups.
Update what across all devices?
For accessing documents from all devices, a service like Dropbox is your best bet.
I have no idea what "step as far away from an internet provider as possible" means. If you want Internet access, you need an Internet provider.
Lighting fast speed for what? Processor? The specs are listed for all devices in the Online Store. Internet? We're back to the service provider.
Technology changes. The only way to keep pace with it beyond a couple of years is to buy new stuff.
The bottom line is you need to look at the specs for devices availble and at your budget and decide what best meets your needs. If you are unable to do that on your own, there are lot of technology consultants out there who will, for a fee, look at your exact situation, make recommendations and even handle the purchase and set up. Perhaps that would be the best route for you.
Best of luck. -
Hi all, I bought one iphone and 3 ipads, i set up all on one apple ID. Now i have a problem when using messages: when sending message from one device it appears again on screen from the other 3 devices. I need help on how to set up messages on each device separately and to start using messages app on each device independently. Thanks
search google for "iphone remove picture from contact"
-
I have changed my Apple ID name and I want to change it on iCloud, however I am not able to delete the previous account because I need to turn off the Find my iPhone - and for that I need to log in with the old name and that is not working. Help anyone?
Hey tulgan,
This link will provide information on what to do after you change your Apple ID:
Apple ID: What to do after you change your Apple ID
http://support.apple.com/kb/HT5796
Welcome to Apple Support Communities!
Take care,
Delgadoh -
need help with how to reset bios and admin password to reformat hard drive in 8440p elitebook? removal of cmos, resetting laptop, using cccleaner, windows password recovery and hiren's was noneffective, any help is appreciated. thanks
Hi,
As your notebook is a business class machine, security is more stringent - the password is stored in non-volatile memory and there are no 'backdoor' passwords. Your best option would be to contact HP regarding this.
Regards,
DP-K
****Click the White thumb to say thanks****
****Please mark Accept As Solution if it solves your problem****
****I don't work for HP****
Microsoft MVP - Windows Experience -
I'm new to SQL Server Integration Services and I need help on how to begin learning SSIS. Is there any training for it besides msdn?
Check this thread where people have already given their suggestion on learning SSIS
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/f2cc1cf3-204d-454a-a189-47df87a3aa23/i-want-to-learn-ssis?forum=sqlintegrationservices
I would suggest to go for You tube videos (type learn SSIS or begin SSIS step by step) you will get lot of good tutorials to start with.
Happy Learning!!
If this post answers your query, please click "Mark As Answer" or "Vote as Helpful". -
please i need help to how to recorver my cameral roll photos from my ipod in a easy FREE way as soon as possible
Restore from backup if they are in a backup. Otherweise I know of no free way. These are paid and no one has said that they worked.
iPhone Recovery Stick - recover deleted text messages & more
Recover files from iPod Touch | Restore data iPod | iPod touch undelete, unformat
Maybe you are looking for
-
How do i transfer data from one Time Capsule to another?
We ran out of space on our old Time Capsule, so I purchased the 2TB model. Problem is that there are no direction (that I can locate) on how to switch over from one device to the other! Can anyone direct me to some online instructions?
-
"An error occurred while updating the configuration"
I recieved an Apple Airport Base Station in the mail today. I got it second hand, and I performed a hard-reset since I didn't have the password and stuff. I wanted to update it properly before I started using it. I have followed the guides in here po
-
I dropped my ipod now it says "very low battery"!!
I dropped my old ipod from 2006 and now it says "very low battery" and "www.apple./support/ipod !!! and also a picture of an weird looking iPod with X as eyes and sometimes sounds come out of the ipod. Please I´m in desperate need of help! Message wa
-
I am running 32 bit Vista. I downloaded and saved itunes to a temporary file. When I tried to run the .exe file that I downloaded, I get a message saying "Not a valid win 32 application". I made certain that it was not the 64 bit version I downloaded
-
ALL_TAB_SUBPARTITIONS desc
In the ALL_TAB_SUBPARTITIONS description (Reference doc) http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_2104.htm#sthref1290 it seems some columns are missing : Connected to: Oracle Database 10g Enterprise Edition Release 10.