That is a pretty broad question. We would need to know more about the applicatoin or the environment. A good RAC installation is quite resilient but you have to remember that there are still single points of failure. ASM is a big one that has caught me out also CRS corruption is another. You lose [...]
Hi Dale In your CL program you can monitor for the message and then use the RCVMSG command to retrieve the key (if I remember correctly, it’s the KEYVAR parameter). An alternative method would be for your out of hours job to add an entry to the system reply list (ADDRPYLE) to add the “I” [...]
look for ***** modifications or comments Create or replace procedure proc_name IS Pwd varchar2(8); user varchar2(8); v_email varchar2(40); FUNCTION new_password RETURN VARCHAR IS only_alpha_characters CONSTANT VARCHAR2 (1) := ‘A’; BEGIN –Provide hard-coded password for test purposes ****** the variable or I imagine constants below are ****** not declared anywhere!! ****** (c_test_mode,c_test_mode_password ) IF c_test_mode THEN [...]
I would think you could make up your group list for each office and then when you make up your main you do so by adding the office groups instead of the individual email entries.
if the files were encrypted using software you purchased you should just be able to reinstall the software and keys to access the data. i need more info to give a more detailed answer
If you are going to embed a FUNCTION in a PROCEDURE, then it doesn’t have “CREATE OR REPLACE” and it must be in the declaration section: Create or replace procedure proc_name IS Pwd varchar2(8); user varchar2(8); v_email varchar2(40); FUNCTION new_password RETURN VARCHAR IS only_alpha_characters CONSTANT VARCHAR2 (1) := ‘A’; BEGIN –Get a random alphanumeric string [...]
There are two parts to this answer: First, views: Nobody needs views, except as a convenience. Views are macros that expand to queries. Thus, Example A: CREATE VIEW myView AS SELECT account, SUM(amount) FROM accounts GROUP BY account; SELECT * FROM myView; Example B: SELECT account, SUM(amount) FROM accounts GROUP BY account; Both of these [...]
Hi. You didn’t say much about the database but let’s assume it’s AS/400 DB2. You have many options, even if you are using Oracle, MySQL etc.. If DB2 you can use DB2 Connect, it requires a separate license if not already owned. You can use SQL Server DTS on a PC as a go between. [...]
Doug Englander wrote the editors of Search400.com with two ideas: 1. Check the library list the program is compiling under. It could be that the file he THINKS he is compiling against is not the one he is compiling against. If that is the case, the keys could be defined differently. 2. Can we see [...]
Hi Alok The secret is to override the member name before opening the file in the RPG program. The easiest way to do this is to have a CL program that accepts the PGMNAME parameter and have that perform the override before calling the RPG program. For example, something along the lines of: PGM PARM(&PGMNAME) [...]
A little bit more info would help What’s getting locked, how often? Any foreign key? Table structure … deadlocking in 9i is more often than not caused by bad programming in the application causing the deadlock
This may seem too easy, but how about SET WS-SWITCH TO ‘B’. – Sheldon Linker Linker Systems, Inc. www.linkersystems.com sol@linker.com 800-315-1174 +1-949-552-1904
First thing to do is to check the alert log. Look for any messages in there. Do you a backup of the database?
You can turn the RPG program into a stored procedure: Here’s a typical SQL statement to do the link: CREATE PROCEDURE &CURRENTLIB/pr_utlfiledownloadACH( IN v_fileDir VARCHAR(200), IN v_fileName VARCHAR(50)) LANGUAGE C NOT DETERMINISTIC MODIFIES SQL DATA EXTERNAL NAME &CURRENTLIB/S_PUFDLACH PARAMETER STYLE GENERAL WITH NULLS; You will probably need less code than shown above. When you call [...]
Jon, Any application that gives you web-based control of the desktop PC should allow you to exercise control of the devices connected to it. A good example is a program called VNC (Virtual Network Connection). Here’s a link: http://www.realvnc.com/documentation.html If your OS is new enough, you can even do remote desktop with Windows. As a [...]
Hi mphani.. which version of Oracle are you using? Can you please explain me a bit more of ur problem.. I did try the same thing, but i am not able to get thru ur problem clearly. with rgds. itsnexgen
Since you will be connecting the phone through a VPN, I don’t see any problems IP-wise presuming the tunnel isstarted from the remote site. The only thing I am not sure of, since I’ve not had to deal with it before, is if you have teh VPN always up, how it would react when the [...]
So I am assuming you have 2 tnsnames, one in each Oracle_Home directory. Have you tried just opening a sqlplus connection and see if you could connect to the Oracle9i db. I would also try opening sqlplus from the Start->Run so as to also see which one it brings up…the 7 or 9 version. I [...]
There are two parts to your question: (1) Physically: Why should you care? The optimizer will arrange for it to happen in any order it likes. (2) Logically: It will happen as if in the order you specify it. Think of commutability. To some extent, the relationship is commutable. To that extent, you can’t say [...]
Everything else being equal, the response times for querying these two tables individually should be nearly identical. The difference would only be whatever time it takes to package the additional 50 fields for routing. That will take some time, probably uncalculable per row; But if you are returning 1,000,000 or so rows, that might be [...]





