Proper function syntax
I can not seem to find documentation explaining proper syntax for the Rank function. Can anyone help with locating syntax or even provide the syntax? Your assistance is greatly appreciated.
http://download-west.oracle.com/docs/cd/A97630_01/server.920/a96540/functions95a.htm#1000677
Similar Messages
-
I need help. I can find no documentation on this problem. I have a Microsoft Small Business Server which I have been running for some time. I have been using for the last 10 years the private IP space 192.168.1.x, with subnet mask 255.255.255.0. I have an Active Directory structure that is based on this address space with my default route for the network at 192.168.1.254. I recently purchase a CISCO SA 520W appliance. Every time I add a VPN user to the VPN User Database, I get a popup that states "WARNING: In order to ensure proper functionality, the router will need to change its IP address to 10.x.y.1 to avoid conflicts with the remote network. You will need to reboot all PCs and network devices connected to the router. If you have set static IP addresses on any device or if you are using port forwarding, you will need to update its IP address to new IP range to operation. Would you like to continue?" With a se;ection of "OK" or "Cancel". If I select "OK" the router resets and I can no longer get access to it, resulting in me setting it back to factory default and starting over.If I select "Cancel" at this point it does not add the user to the database. I have tried everything I can think of. If I use the default IP address or any other IP address space, as long as I don't use 192.168.1.x, it works fine. This seems to be some limit set by Cisco. Although I can't understand why as the IP space is a very common one in use. Is there any solution except for reconfiguring my DNS, and active directory.
Please respond understanding that I am a mid level capable network engineer, I have worked with CISCO in the past but mainly Enterprise level layer 2 and 3 switches. I am a netwok security person (CISSP) with medium network skill levels.
Thanks,
Rich K, CISSPWow - that's unfortunate. Hopefully you'll get something out of it for all of the wasted time.
I should have researched this more before I purchased. Silly me - thinking Cisco was the best...
I probably wasted 4-6 hours, if not more, trying to get their QuickVPN client to work. They finally blamed it on my ISP, who I spent plenty of time on the phone with as well. The funny thing that they couldn't explain though, was that it also would not work on my Spring 3G/4G data card. After this test, I wrote the whole thing off to a design flaw.
In the end, I went back and setup a M$ PPTP vpn for the time being, until I have time to figure out a better solution. I only have a couple of remote users anyhow.
Thanks for the response and good luck to you!
JW -
Execute this pl/sql function with some proper example & syntax
--program is compiled but how to run this function with some proper example please please help me
CREATE OR REPLACE
FUNCTION EMP_GENDER(
EMP_GEN CHAR)
RETURN CHAR
IS
CUST_GEN CHAR(1) ;
DTECH1 EXCEPTION;
BEGIN
CUST_GEN :=UPPER(EMP_GEN);
IF CUST_GEN !='M' OR CUST_GEN != 'F' THEN
RAISE DTECH1;
ELSE
RETURN CUST_GEN;
END IF;
EXCEPTION
WHEN DTECH1 THEN
DBMS_OUTPUT.PUT_LINE('INVALID GEN');
WHEN OTHERS THEN
DBMS_OUTPUT.PUT_LINE(SQLERRM);
END;Or in pl/sql;-
declare
v_gender char(1) default 'M';--change M to whatever test scenario
begin
v_gender:= emp_gender(v_gender);
dbms_output.put_line(v_gender);
end;And remember to set your serveroutput on.... though your errors will be obvious enough... -
PL/SQL Function Syntax help please...
Can someone help me with the syntax here please? I am sure i am doing something wrong in my LOOP.
create or replace FUNCTION fcn_chk_dec(p_date number)
return NUMBER
as
--DECLARE
v_date NUMBER;
v_active NUMBER;
v_prev NUMBER;
v_delta NUMBER;
v_perc_delta NUMBER:
CURSOR c_prev_active IS
select date,people,
lag(people,1) over (order by date)
from stats
where date between to_date(p_date, 'YYYYMMDD')-2 and to_date(p_date, 'YYYYMMDD')-1
order by date desc
BEGIN
OPEN c_prev;
loop
FETCH c_prev INTO v_date,v_active,v_prev;
exit when c_prev%NOTFOUND;
v_delta:=v_active-v_prev;
v_perc_delta:=trunc((v_delta/v_active*100),2)
end loop;
close c_prev;
return v_perc_delta;
END fcn_chk_dec;what i am trying to do is create a funtion that will return one value for the first row that comes back.
here is my initial query. the reason i did not go with this query is because there are too many selects and i was told that's not good and slows down the system. Plus, i need to have a function call in another program that will access this function to compare it's output to a value in a table.
here was my initial start:
select date,people,delta,trunc((delta/people*100),2) as perc_delta
from (select date, people,people-prev_dly_people as delta
from
(select date,people,
lag(people,1) over (order by date) as prev_dly_people
from stats
where date between to_char(sysdate-2,'YYYYMMDD') and to_char(sysdate-1,'YYYYMMDD')
order by date desc))
basically, i have a table that has a total number of people. I want to get the percentage growth and decline from the most recent date and the date before it. This will give me a day to day percentage of people population change as of the most recent date.
I need this to be a function becaus i want to be able to pass any date i want into it and get the given delta percentage at the time for the people's population.
hope this makes sense. -
OBIEE timestampdiff function syntax error
Hi all,
I am getting an error while applying timestampdiff function .help me to sort it out.
TIMESTAMPDIFF(SQL_TSI_DAY,"- Sanction and Disbursment"."Value Date" , VALUEOF(NQ_SESSION.VAR_CAL_CURR_DATE))
error details
Formula syntax is invalid.
[nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22025] Function TimestampDiff is called with an incompatible type.Please have your System Administrator look at the log for more details on this error. (HY000)
SQL Issued: SELECT TIMESTAMPDIFF(SQL_TSI_DAY,"- Sanction and Disbursment"."Value Date" , VALUEOF(NQ_SESSION.VAR_CAL_CURR_DATE)) FROM "SIDBI Master"Aswin,
Syntax looks to be fine but before applying it here can you check if both these 2 parameters returns date in same format:
"- Sanction and Disbursment"."Value Date" = 08/21/2011 (No Timestamp)
VALUEOF(NQ_SESSION.VAR_CAL_CURR_DATE) = 08/21/2011 (No Timestamp)
Both shud have same format.
Also, try this for verification
TIMESTAMPDIFF(SQL_TSI_DAY,"- Sanction and Disbursment"."Value Date" , CURRENT_DATE)
Hope this helps -
I'm trying to convert an html function into my PL/SQL program, but I just can't get the syntax right. It's a function that checks to see if a radio button is unchecked, a corresponding checkbox unselects. I have the radio buttons and checkbox in the body of the sql code just fine, but I can't get the correct syntax on the function. I keep getting one syntax error after another. I do what I think fixes one error and 2 more crop up. I just need help converting the below function to sql readable. I would be very grateful for any help. Here is the code for the function in html:
function VfyChoice(){
if (window.document.the_form.choice[0].checked == false) {
window.document.the_form.chkbx.checked = false;
else{
if (window.document.the_form.chkbx.checked == false){
alert("If you select 'Choice A': \nThen you must acknowledge and check 'SubChoice A'");
}And here is the code for the whole html page (including the function) in case it helps to see the big picture of where the code is coming from.
<html>
<head><title>check box w/ radio buttons</title>
<script language = "JavaScript">
<!-- hide script from old browsers
function VfyChoice(){
if (window.document.the_form.choice[0].checked == false) {
window.document.the_form.chkbx.checked = false;
else{
if (window.document.the_form.chkbx.checked == false){
alert("If you select 'Choice A': \nThen you must acknowledge and check 'SubChoice A'");
// end hiding comment -->
</script>
</head>
<body>
<form name = "the_form">
<Input type = "radio" name = "choice" onClick = "VfyChoice();"> Choice A <br>
<Input type = "checkbox" name = "chkbx" onClick = "VfyChoice();"> SubChoice A <br>
<Input type = "radio" name = "choice" onClick = "VfyChoice();"> Choice B <br>
<Input type = "radio" name = "choice" onClick = "VfyChoice();"> Choice C <br>
<p>
<input type = "button" value="ok" onClick = "VfyChoice();">
</form>
</body>
</html>Here's what I have at this moment:
function VfyChoice(i_number IN varchar2) RETURN BOOLEAN
IS
BEGIN
if (window.document.the_form.choice(0).checked.false) then
window.document.the_form.chkbx.checked := false;
else
if (window.document.the_form.chkbx.checked.false) then
alert("If you select 'Choice A':...........");
end if;
end if;The only error I am getting right now is about the window.document part:
Error Text = PLS-00201: identifier 'WINDOW.DOCUMENT' must be declaredWhen I take out window.document.the_form, I get an error about the function choice not in this scope. Even though 'choice' is the name of my radio button, not a function.
Oh, and as for the (i_number IN varchar2) variable declaration. I was just throwing that in to get past that error, I don't know how I should declare that part. -
Analytical function syntax help
The following query sorts by most occuring hesid descedning and requires TWO full table scans of the episodes_full_test table :
create table episodes_full_test (epikey number, hesid number, dob date) tablespace analysis_ip_d;
insert into episodes_full_test values (100, 20, to_date('31-07-1975','DD-MM-YYYY'));
insert into episodes_full_test values (101, 20, to_date('31-07-1975','DD-MM-YYYY'));
insert into episodes_full_test values (102, 20, to_date('31-07-1975','DD-MM-YYYY'));
insert into episodes_full_test values (103, 20, to_date('31-07-1975','DD-MM-YYYY'));
insert into episodes_full_test values (104, 10, to_date('31-07-1985','DD-MM-YYYY'));
insert into episodes_full_test values (105, 30, to_date('31-07-1995','DD-MM-YYYY'));
insert into episodes_full_test values (106, 30, to_date('31-07-1995','DD-MM-YYYY'));
insert into episodes_full_test values (107, 30, to_date('31-07-1995','DD-MM-YYYY'));
commit;
select eft.hesid, eft.epikey, eft.dob
from episodes_full_test eft
join (select hesid, count(hesid) count_hesid
from episodes_full_test
group by hesid) v1
on eft.hesid = v1.hesid
order by v1.count_hesid desc, eft.epikey;
HESID EPIKEY DOB
20 100 31/07/1975
20 101 31/07/1975
20 102 31/07/1975
20 103 31/07/1975
30 105 31/07/1995
30 106 31/07/1995
30 107 31/07/1995
10 104 31/07/1985
I'm sure there's a way to use analytical functions such that Oracle only needs to perform ONE full table scan of episodes_full_test, but I can't figure out the syntax
Can anyone advise please ?
(Oracle 9r2)
Thanks, GusThank you for providing the create table, insert commands and required output as it makes answering the question much easier (once I'd removed the tablespace specification)
SQL> select hesid, epikey, dob
2 from
3 (
4 select eft.hesid, eft.epikey, eft.dob,
5 count(*) over (partition by eft.hesid) count_hesid
6 from episodes_full_test eft
7 )
8 order by count_hesid desc;
HESID EPIKEY DOB
20 100 31-JUL-75
20 101 31-JUL-75
20 102 31-JUL-75
20 103 31-JUL-75
30 105 31-JUL-95
30 106 31-JUL-95
30 107 31-JUL-95
10 104 31-JUL-85
8 rows selected.
SQL> -
What is the proper SQL syntax for dates input as variable
Hello,
I am working on an ASP JavaScript page that requests totals
from an Access database for a specific date range. I can write the
SQL statement to query the DB and get the results I need using the
WHERE statement below.
...WHERE LABOR_DATE BETWEEN #7/15/2006# AND #7/18/2006# GROUP
BY [LABOR].[JOB_NUMBER_NAME]
I have another page that I want to pass two variables in
Dreamweaver specifying the date range varBeginDate and varEndDate
and query the database using the date range input by the user.
What is the correct syntax for replacing the actual dates in
the example above with my variable values?Short answer - you can't. There's no automatic link between file paths and mounting servers. There are lots of valid reasons for this (e.g. preventing malicious links from automatically opening files from remote servers), but you can get there in a controlled environment.
You can configure Automounts on any directory. That way whenever any application tries to access a particular path the OS will automatically mount the directory, but it needs to be told in advance which directories (and which servers) to mount.
For example, if you'd configured your iTunes Library to be saved at /mnt/itunes and it's served from afp://mediaserver.your.net/path/to/itunes you would configure an automount to mount the AFP server at /mnt/itunes.
Since its an automount, the OS wouldn't mount the server until some process tried to read /mnt/itunes.
There are several ways of specifying automounts, and for each there are several tutorials online that walk you through the process. Try Mike Bombich's site for a starter. -
Instr function syntax error in MDX quary
Hi all
Wen Iam excuting this MDX quary its giving error;syntax error line at 3 ','
SELECT
Filter( [PERIOD].Generations(5).Members,
InStr( [PERIOD].currentmember.[2010], "Cola" ) >0 )
ON COLUMNS
FROM REP.Rep;
but wen iam excuting this below example
SELECT
Filter( [PERIOD].Generations(4).Members,
InStr( "cocaCola", "Cola" ) >0 )
ON COLUMNS
FROM REP.Rep;
its fine
Plz can any help would be appriciated
Edited by: user8815661 on 13 avr. 2010 04:17Hi gary,
plz help on this , i already posted in forum but iam confident on u ,
Ihave one scenario like calculate the ytd values using cross join like
IIF(is ([Flow].CurrentMember,[YTD]),
(case
when
is ([PERIOD].CurrentMember,[2008.01])
Then (Sum (crossjoin({[DI-3]},CrossJoin({[FLOW].[MtD]},{[PERIOD].[2008.01],[PERIOD].[2008.01] })))/2)
when
is ([PERIOD].CurrentMember,[2008.02])
Then (Sum (crossjoin({[DI-3]},crossjoin({[FLOW].[MtD]},{[PERIOD].[2008.01],[PERIOD].[2008.02]}))))
when
is ([PERIOD].CurrentMember,[2008.03])
Then (Sum (crossjoin({[DI-3]},CrossJoin({[FLOW].[MtD]},{[PERIOD].[2008.01],[PERIOD].[2008.02],[PERIOD].[2008.03]))))
etc,othercase)
but I am trying other oneto decrese the size of formula
IIF(is ([Flow].CurrentMember,[YTD]),
(Sum (crossjoin({[DI-3]},CrossJoin({[FLOW].[MtD]},
{filter([PERIOD].Generations(5).members,StrToNum(Right([PERIOD].CurrentMember.MEMBER_NAME,2)) <= StrToNum(Right([PERIOD].CurrentMember.MEMBER_NAME,2)) AND StrToNum(Left([PERIOD].CurrentMember.MEMBER_NAME,4))=StrToNum(left([PERIOD].CurrentMember.MEMBER_NAME,4)) ) }))))
, othercase )
but its result is same value for all the YTDs for every month, something is going wrong some where
plz any help would be appriociated -
String Function Syntax Needed to get Text after "@"
Hi. I need to use a CF Function to get the domain name
following the "@" charcter in an email address. For example,
[email protected] would be converted to company.com. Does
anyone know how to do this?
Thanks!Hello Art,
I did something similar, just leaving off the .com, etc. Not
the most elegant
I'm sure, but it works:
<!--- Find position of '@' in users email --->
<cfset stest=findnocase("@",#form.contactEmail#)>
<!--- Now find the '.' --->
<cfset etest=findnocase(".",#form.contactEmail#,stest)>
<!--- Take everything inbetween the two, 1 is added to
stest to get 1 space
past the @, and same for etest, get prior to '.' --->
<cfset
email_test=trim(mid(#form.contactEmail#,(stest+1),((etest-1)-stest)))>
Steve
> Hi. I need to use a CF Function to get the domain name
following the
> "@" charcter in an email address. For example,
[email protected]
> would be converted to company.com. Does anyone know how
to do this?
>
> Thanks!
> -
Determining proper hyperlink syntax for TOC destination within PDF using example?
I've dabbled but only able to construct a hyperlink jumping to a specific page rather than jumping to a specific table of Contents (TOC) entry, e.g. "901. Scope of the Training and Education Program" in http://www.nerc.com/files/NERC_ROP_Effective_20130305.pdf
Q1: In general how should one determine and form up a TOC based hyperlink to a destination within a PDF such as this.. likely applying "hxxp://www.domain.com/file.pdf#nameddest=TOC" syntax?
Q2: What would be the specific hypertext brower launch link for this example?
tiaTo make use of the "nameddest" parameter you'll have to actually have those in the PDF. The PDF at the link does not have any.
As the authoring file for the PDF was a Word file you could see if Word can be configured to provide named destinations.
If not then you would have to put them in manually using Acrobat (Pro supports this - maybe Standard also).
If you don't already have it the "Parameters for Opening PDF Files" is the document that discusses parameters for opening a PDF via a URL.
http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open _parameters_v9.pdf
Be well... -
Pipeline function syntax issues
What am I doing wrong:
I get an error on pipe row (l_var)
says "of wrong type"
This code is just like the code from here:
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4447489221109
sqlplus >create or replace type mytesttype as object (a varchar2(1000));
2 /
function PipeTest return myTableType
pipelined
is
l_query sys_refcursor;
l_var mytesttype;
begin
open l_query for
select object_name from user_objects where rownum < 11;
loop
fetch l_query into l_var;
pipe row(l_var);
exit when l_query%notfound;
end loop;
return;
end;Your return type is return myTableType , whereas l_var is mytesttype.
-
Copying Older Flash Plugin For Proper Functionality
Hi Gang
I currently have 3 Older Power Mac Desktop G5's using 10.4.11 - all with Safari 4.1.3 and Ten Four Fox 4.0.1.
I will NOT download a newer OS - I have older Pro Software which works FINE
Two of my G5's are identical Dual Core 2.0 - the other an older 1.8 Single Processor. They run like tops!
The Dual Core G5 browsers work fine with older Adobe Flash Plug In: version 10.0 r45 (see screen shots below).
Apparently the older 1.8 does not have a Flash Player that will function properly. A reformat left me, (like other unfortunate souls), with NO archived Flash Player available, thanx to the Adobe Snobs. You might say older archived versions are available? Forget it. I've given up like so many others.
Wondering if I can simply copy the older Flash version directly off my other system and place it in my 1.8 SP G5?
OR
Am I missing something here?
http://www.locationstudio.net/plugin-1.jpg < Screen Shot
http://www.locationstudio.net/plugin-2.jpg < Screen Shot
Thanx
MikeMike,
Yes, you can just copy the components. The installer doesn't do any magic; it just puts the components in the right places. Be sure all your browser applications are not running before you copy over those files. You might want to run the uninstaller to clear out the current version before doing the manual copy job.
But... you need to look more carefully. The specific version you are looking for, 10.0 r45 for PPC (actually, a universal install) is on that page in the OLDER ARCHIVES section. Here is the direct link:
Flash Player 10 -
Proper CSS syntax for...
Awhile back, Murray gave me this simple thumbnail border
hover code :
img.tn {
border:1px solid #72472B;
a:hover img.tn {
border:1px solid #FFF;
Trying to extend the lesson learned to other parts of the
site, I created
this :
img#modal {
border:1px solid #FFF;
a:hover img#modal {
border:1px solid #993300;
Which, I thought, would created a white border on all images
within
overlaying div id="modal" (with a #993300 border hover
color). But neither
of the 2 borders is showing around images in that div.
What am I doing wrong? Besides listening to Linkin Park, I
mean.You still have not gotten it.
img#modal selects the image tag with ID="modal", not the
image tag's
container. Kim has the answer.
This is not a syntax problem - it's an understanding
problem....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Jay" <[email protected]> wrote in message
news:f0iehg$13j$[email protected]..
> Awhile back, Murray gave me this simple thumbnail border
hover code :
>
> img.tn {
> border:1px solid #72472B;
> }
> a:hover img.tn {
> border:1px solid #FFF;
> }
>
> --
>
> Trying to extend the lesson learned to other parts of
the site, I created
> this :
>
> img#modal {
> border:1px solid #FFF;
> }
> a:hover img#modal {
> border:1px solid #993300;
> }
>
> Which, I thought, would created a white border on all
images within
> overlaying div id="modal" (with a #993300 border hover
color). But neither
> of the 2 borders is showing around images in that div.
>
> What am I doing wrong? Besides listening to Linkin Park,
I mean.
> -
I feel so stupid asking some of these questions because I
just came out of a semester of Director MX2004 and I feel like I
should know this...but it really wasn't addressed in class.
I'm trying to make Director check a list for a set of items.
For example, a list of numbers [1,3,4,1,1,6]. I want the program to
check for a specific set of numbers [1,1,1] so that it will trigger
a specific response. I know how to trigger the response using an on
mouseUp handler, but I can't figure out how to make it check for
the sets of numbers I need.
It's a dice game. The player uses a mouse click to roll 6
individual dice. The results (like 1,3,4,1,1,6) show up in text
fields above the roll button. The player then chooses which dice to
keep. From what was kept, the program figures a score and then (if
applicable) gives the player a chance to roll again with the
remaining dice. What the player keeps from the second roll is added
to the first score.
I can make it roll [random(6)] and put the result into the
field and I can even make it add all the field contents to a
list...but I can't make it check the list for patterns.
Am I making any sense at all? I feel like someone's going to
say "go back to the sandbox, little girl, you don't have enough
experience to be here" but I'm too frustrated not to ask.
Taking a Risk,
Shadowhawk's serenityHandler: a separate chunk of code that you can execute. In
other programming languages it might be called a method or a
function.
Parameter: an item of data that you send to a handler. In
other languages, this might be called an attribute.
In my example "FindPatternInList()" is a handler, and "aList"
and "aPattern" are parameters.
Depending on what type of data you pass as a parameter, the
data may be the original data or a copy. The technical terms are
"reference" and "value". If you pass a list as a parameter to a
handler, Director will pass the original list. Any changes to that
list in the handler will affect the list anywhere else it is
referred to. Lists are "passed by reference".
Strings, on the other hand, are "passed by value". Director
will make a copy of the string and the handler will work on that
copy. The original string will not be affected.
Suppose you want to change the original string. In that case,
you must return the modified copy. Example:
aString = "This is "
aString = Concatenate(aString, "a string") -- the equals sign
places a new value in aString
put aString
-- "This is a string"
The Concatenate() handler might look like this:
on Concatenate(aString1, aString2)
put aString2 after aString1
return aString1
end
If you comment out the line "return aString1" above, then
aString will become <Void>, as no value will be returned from
the Concatenate() handler.
Variable names (and parameters are variables) are merely
human-readable labels that refer to the place in the computer's
Random Access Memory (RAM) where the beginning of a particular
piece of data is stored. When you pass a list as a parameter,
Director actually passes this memory address. You can thus have two
or more variables which "point" to the same chunk of memory. If you
use one variable to change the data at that memory address, the
other variable will instantly see the same change.
This is true of all "objects": lists, points, rects,
instances of Parent Scripts, images, sprites, members, colors and
so on are all objects.
Strings, floating point numbers and integers are not objects.
They are "primitives". When a primitive is passed to a handler,
Director copies the data from its current memory address and
creates a new copy at a new memory address. Because both objects
and primitives look like variable names, it is not immediately
evident whether the data is an object being passed by reference or
a non-object being passed by value.
Maybe you are looking for
-
Remote Control and Firewall WinXP SP2
Does any of you guys know how to prepare WindowsXP SP2 release which would enable firewall settings when installed? What is the most efficient way to handle this? I am just trying to prepare the remote control issue before SP2 is released. Thanks in
-
Can I use an external monitor as an extension to my workspace
Could anyone please tell me if I can use an external monitor such as an apple 20" or 30" display as an extension to my workspace. I am using an apple 17"1.5 power book & I would like to drag & drop[p photos etc. from one monitor to another etc. 17"po
-
Problem RFC2FILE: Filename generation problem
Hi, well first i have to say that the filename is properly created and the file is well written with the exact filename as done in the mapping. So i use an UDF for generating the filename. But now I am confused, because the filename is also inside of
-
How to install Photoshop on Windows Vista ??
How do I install Photoshop on Windows Vista ???
-
Using thread and socket connection with other machines
Hi all! we are using weblgoic 5.1 SP9 JDK1.2.2 we already using java.net.Socket and java.lang.Thread to communication TANDEM Machine on the weblogic. the reason why we use to socket and thread even though it is not recommanded is that below 1. once w