Testing for abnormal disconnect
I maintain a VPN between two sites using the VPN Client 5.0.07.0290.
The clients are running on Windows server 2003.
The connection is started with a script using the command line.
I need to know when the connection goes down. Currently I use a timed script that attempts to reconnect the VPN and if the client returns a 200 I assume it remains connected otherwise the client reconnects, if possible, and the connection is maintained. I log the success or failure of the reconnection event.
This is kind of a kluge. Polling with another process is not a reliable tool in my environment.
Is there a better way I can monitor the connection?
Will the client terminate in some manner I can test in a script or some othere more deterministic means to notify a process that the connection has failed?
Thanks in advance.
Mike
my understanding is: if you param something you are actually
setting a
default value if no value exists........which in your case is
"" or rather
nothing........so if you param with a value of nothing
.......... than go to
check its value.......it will be exactly what you set in the
param.........
"Karen_Little" <[email protected]> wrote in message
news:em53f6$507$[email protected]..
>I need advice on testing for cookies.
>
> I want to test for the presence of a cookie. Rather than
use
> isdefined("cfcookie.mycookie"), I've been setting a
<cfparam
> name="cookie.mycookie" default="" .... for the cookie,
then testing to see
> if
> anything is in it. Since doing that, I seem to whip out
the real cookie.
>
> I just wouldn't think cfparam could do that (but if it
does, it's the most
> effective way to get rid of cookie information in the
world).
>
> Anyway, I am now confused. I want to see if a cookie is
set. Is
> "isDefined"
> the way to go?
>
>
Similar Messages
-
Revision: 19782
Revision: 19782
Author: [email protected]
Date: 2011-01-17 11:21:11 -0800 (Mon, 17 Jan 2011)
Log Message:
Add Remoting test application and endpoints for testing login-after-disconnect channel setting.
Modified Paths:
blazeds/trunk/qa/apps/qa-manual/WEB-INF/flex/remoting-config.mods.xml
blazeds/trunk/qa/apps/qa-manual/WEB-INF/flex/services-config.mods.xml
Added Paths:
blazeds/trunk/qa/apps/qa-manual/remoting/
blazeds/trunk/qa/apps/qa-manual/remoting/RemotingApp.mxmlI appreciate Adobe teams efforts to reproduce the issue and acknowledged it as a Bug in AIR
But now I am waiting on them to come back with an answer - Is it going to be fixed in future versions? Is there a work around?
Is adobe even considering this as an Issue? What are the next steps after acknowleding the issue?
I hope I am not too aggressive but I also want Adobe to understand the urgency of the situation when it comes to a product release.
I have experimented with couple of work arounds but none seem to work.
If anyone has come across this issue please comment.
Thanks, -
Revision: 3687
Author: [email protected]
Date: 2008-10-16 11:23:39 -0700 (Thu, 16 Oct 2008)
Log Message:
Add some messaging tests for scenarios that involve subscribing to a destination, disconnecting from the channel currently being used and resubscribing to the destination. There is an issue that is causing the streaming/multipleDisconnectsResubscribesTest.mxml test to fail that I will log a bug for.
Added Paths:
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeJMSTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/multipleDisconnectsResubscribesTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeJMSTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/multipleDisconnectsResubscribesTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeJMSTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/multipleDisconnectsResubscribesTest.mxmlRevision: 3687
Author: [email protected]
Date: 2008-10-16 11:23:39 -0700 (Thu, 16 Oct 2008)
Log Message:
Add some messaging tests for scenarios that involve subscribing to a destination, disconnecting from the channel currently being used and resubscribing to the destination. There is an issue that is causing the streaming/multipleDisconnectsResubscribesTest.mxml test to fail that I will log a bug for.
Added Paths:
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeJMSTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/disconnectResubscribeTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/longpolling/multipleDisconnectsResubscribesTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeJMSTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/disconnectResubscribeTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/polling/multipleDisconnectsResubscribesTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeJMSTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/disconnectResubscribeTest.mxml
blazeds/trunk/qa/apps/qa-regress/testsuites/mxunit/tests/messagingService/unsubscribeScen arios/streaming/multipleDisconnectsResubscribesTest.mxml -
CVP 7.0.2 Abnormally disconnected with error code 38
Hi all,
We have an issue where when called from outbound, it is not possible to reach a certain number. It doesn't even play the dial tone. isdn debug is as follows :
Feb 15 17:51:01.830: ISDN Se0/2/0:15 Q931: TX -> RELEASE pd = 8 callref = 0xE97B
Feb 15 17:51:01.846: ISDN Se0/2/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x697B
Feb 15 17:51:05.050: ISDN Se0/2/0:15 Q931: RX <- SETUP pd = 8 callref = 0x697D
Sending Complete
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98385
Exclusive, Channel 5
Progress Ind i = 0x8083 - Origination address is non-ISDN
Progress Ind i = 0x8A81 - Call not end-to-end ISDN, may have in-band info
Calling Party Number i = 0x0081, '02124783464'
Plan:Unknown, Type:Unknown
Called Party Number i = 0xC1, '2751920'
Plan:ISDN, Type:Subscriber(local)
Feb 15 17:51:05.062: ISDN Se0/2/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0xE97D
Channel ID i = 0xA98385
Exclusive, Channel 5
Feb 15 17:51:05.066: %HTTPC-6-REQUEST_FAILED: request URI http://ipphone.fw.garanti.com.tr/ipphone/musteribilgiler?source=TLC&call_data=002124783464-800321200 failed
Feb 15 17:51:05.066: %IVR-3-APP_ERR: Musteri bilgileri serverdan alinamadi - Hata Kodu: error
Feb 15 17:51:05.210: %HTTPC-6-REQUEST_FAILED: request URI http://10.231.51.141:8000/cvp/VBServlet?MSG_TYPE=PING&CALL_DNIS=2403519900&CALL_ANI=sip:[email protected]:5060&ERROR_CODE=0&RECOVERY_VXML=flash:recovery.vxml&CLIENT_TYPE=IOS&CALL_ID=DE8929A61000013C1771025A0AE7338D&SIP_CALL_ID=[email protected]&CALL_UUI=&VERSION=7.0.2 failed
Feb 15 17:51:05.226: %HTTPC-6-REQUEST_FAILED: request URI http://10.231.51.141:8000/cvp/VBServlet?MSG_TYPE=PING&CALL_DNIS=2403519900&CALL_ANI=sip:[email protected]:5060&ERROR_CODE=0&RECOVERY_VXML=flash:recovery.vxml&CLIENT_TYPE=IOS&CALL_ID=DE8929A61000013C1771025A0AE7338D&SIP_CALL_ID=[email protected]&CALL_UUI=&VERSION=7.0.2 failed
Feb 15 17:51:05.230: %HTTPC-6-REQUEST_FAILED: request URI http://10.231.51.141:8000/cvp/VBServlet?MSG_TYPE=PING&CALL_DNIS=2403519900&CALL_ANI=sip:[email protected]:5060&ERROR_CODE=0&RECOVERY_VXML=flash:recovery.vxml&CLIENT_TYPE=IOS&CALL_ID=DE8929A61000013C1771025A0AE7338D&SIP_CALL_ID=[email protected]&CALL_UUI=&VERSION=7.0.2 failed
Feb 15 17:51:05.238: %HTTPC-6-REQUEST_FAILED: request URI http://10.231.51.141:8000/cvp/VBServlet?MSG_TYPE=PING&CALL_DNIS=2403519900&CALL_ANI=sip:[email protected]:5060&ERROR_CODE=0&RECOVERY_VXML=flash:recovery.vxml&CLIENT_TYPE=IOS&CALL_ID=DE8929A61000013C1771025A0AE7338D&SIP_CALL_ID=[email protected]&CALL_UUI=&VERSION=7.0.2 failed
Feb 15 17:51:05.246: %IVR-3-APP_ERR:
**** CVP HANDOFF.TCL: 57080581.76BE11E2.A32B001B.D5293620 abnormally disconnected with code 38. ****
Feb 15 17:51:05.258: ISDN Se0/2/0:15 Q931: TX -> CONNECT pd = 8 callref = 0xE97D
Feb 15 17:51:05.290: ISDN Se0/2/0:15 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x697D
Feb 15 17:51:05.294: %ISDN-6-CONNECT: Interface Serial0/2/0:4 is now connected to 02124783464 N/A
Feb 15 17:51:07.274: %IVR-3-APP_ERR: ani: 002124783464 dnis: 800321200 | ev_setup_done ls_000 | ev_disconnected di_016 |
Feb 15 17:51:07.298: %ISDN-6-CONNECT: Interface Serial0/2/0:4 is now connected to 02124783464 N/A
Feb 15 17:51:07.298: %ISDN-6-DISCONNECT: Interface Serial0/2/0:4 disconnected from 02124783464 , call lasted 2 seconds
Feb 15 17:51:07.302: ISDN Se0/2/0:15 Q931: TX -> DISCONNECT pd = 8 callref = 0xE97D
Cause i = 0x8090 - Normal call clearing
Feb 15 17:51:07.362: ISDN Se0/2/0:15 Q931: RX <- RELEASE pd = 8 callref = 0x697D
Feb 15 17:51:07.366: ISDN Se0/2/0:15 Q931: TX -> RELEASE_COMP pd = 8 callref = 0xE97D
Feb 15 17:51:08.702: ISDN Se0/2/0:15 Q931: RX <- SETUP pd = 8 callref = 0x697E
Sending Complete
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98391
Exclusive, Channel 17
Calling Party Number i = 0x0083, '05336805920'
Plan:Unknown, Type:Unknown
Called Party Number i = 0xC1, '2751935'
Plan:ISDN, Type:Subscriber(local)
Feb 15 17:51:08.714: ISDN Se0/2/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0xE97E
Channel ID i = 0xA98391
Exclusive, Channel 17
Feb 15 17:51:08.718: %HTTPC-6-REQUEST_FAILED: request URI http://ipphone.fw.garanti.com.tr/ipphone/musteribilgiler?source=TLC&call_data=005336805920-800321925 failed
Feb 15 17:51:08.718: %IVR-3-APP_ERR: Musteri bilgileri serverdan alinamadi - Hata Kodu: error
Feb 15 17:51:08.798: ISDN Se0/2/0:15 Q931: TX -> ALERTING pd = 8 callref = 0xE97EDear
Code 38 Indicates that the network is not functioning correctly and that the condition is likely to last
for an extended period.
to me the GW is not able to make SIP connection and is likely due to incorrect
IP Address is seen from the GW.I hope to share the configuration.
Thank you
please rate , if this will help -
[svn] 2772: Fix type in list of excluded tests for websphere.
Revision: 2772
Author: [email protected]
Date: 2008-08-07 04:29:28 -0700 (Thu, 07 Aug 2008)
Log Message:
Fix type in list of excluded tests for websphere.
Modified Paths:
blazeds/branches/3.0.x/qa/features/excludes.propertiesI'm not really sure what method that person was talking about. I just read he had a successful install so I posted it.
But I'll hazard a guess
1. copy your entire drive to a backup drive
2. boot into that drive and test it out - make sure its a flawless backup, it works, and the hard drive has no problems
3. eject that drive, disconnect it and reboot into the leopard install dvd
4. erase your main hard drive using disc utilities on the leopard install dvd -- you've made a backup, made sure that backup was good, and disconnected it so it's currently safely disconnected from the leopard install you're about to do. Also, on the hard drive you're erasing and installing leopard on to, many people recommend "Zeroing" it as well as erasing it. That option is part of the erase function in disc utilities on the leopard install disc.
5. do a clean install of leopard
6. follow step 4 from that original post exactly as that person described to do.
7. read the rest of what they said
That's pretty much it. With the backup/erase/clean install/import/ you pretty much get everything you need exactly the way you want it with very few things missing -- and you've done this over a clean install. Plus that poster did mention that you can select what you want to import from your backup hard drive.
It sounds like its a "clean install" method that gives you control via "import from machine" option in the installer. Control over what parts of your "old mac" you want to import into your "new leopard mac".
Hopefully that helps. It sounds more involved, but its actually pretty quick and provides you with a perfectly save backup in case anything goes wrong with the leopard install. -
XI testing for two SAP R/3 systems with same system id/logical system
Hi
We are currently in the process of upgrading our R/3 4.7 to ECC 6.0 and plan to maintain dual landscape for DEV & QA (4.7 & ECC 6.0) for a period for testing and maintaining existing applications for fixes etc. The second DEV & QA (upgraded to ECC 6.0) are copy of respective systems and these systems are created automatically under technical systems in SLD by auto update (RZ70).
The question is, can we use the same XI system for testing inbound/outbound interfaces for both the systems i.e 4.7 & ECC 6.0 at the same time. I am aware of the fact that XI Technical/Business sytems dependent on unique logical systems, so we cannot create new business system for the upgraded DEV-II ECC 6.0 system.
For your information, we have two slds (one for XID/XIQ and second one for XIP).
What are the options without disturbing & maintaining the current XI system set up?
1) Can we change current Business systems e.g DEV010 to use new technical system i.e DEV-II ECC 6.0 for testing for a period and switch it back to DEV-I 4.7 technical system?
2) or change logitical system name of DEV-II ECC 6.0 and create new business sytem in SLD without interfering the existing setup and modify/create interfaces to use this new business system?
3) Do we need to refresh cache from time to time in XI ?
4) Any other implications
We will be upgrading XI to PI 7.1 after ECC 6. 0 Upgrade.
Any views on this would be highly appreciated.
Regards
ChanduHi
Technical System was created in the SLD automatically after RZ70 configuration in the new DEV-II system. We then modified Business System to use the new Technical system and carried out following steps:
1) Original Idoc metadata was deleted from XID
2) The port definition was deleted
3) A new port definition was created for new system
4) The metadata for each idoc type used was re-created in IDX2 , using METADATA -> CREATE
5) This brought in all known versions of the idoc segments, including the 7.1 version.
I have already checked the guides suggested for our upgrade and we are thinking of going ahead with fresh installation and migrating the interfaces.
Regards
Chandu -
How to test for différent Select into a single PL/SQL block ?
Hi,
I am relatively new to PL/SQL and I am trying to do multiple selects int a single PL/SQL block. I am confronted to the fact that if a single select returns no data, I have to go to the WHEN DATA_NOT_FOUND exception.
Or, I would like to test for different selects.
In an authentification script, I am searching in a table for a USER ID (USERID) and an application ID, to check if a user is registered under this USERID for this APPLICATION.
There are different possibilities : 4 possibilities :
- USERID Existing or not Existing and
- Aplication ID found or not found for this particular USERID.
I would like to test for thes 4 possibilities to get the status of this partiular user regardin this application.
The problem is that if one select returns no row, I go to the exception data not found.
In the example below you see that if no row returned, go to the exception
DECLARE
P_USERID VARCHAR2(400) DEFAULT NULL;
P_APPLICATION_ID NUMBER DEFAULT NULL;
P_REGISTERED VARCHAR2(400) DEFAULT NULL;
BEGIN
SELECT DISTINCT(USERID) INTO P_USERID FROM ACL_EMPLOYEES
WHERE USERID = :P39_USERID AND APPLICATION_ID = :APP_ID ;
:P39_TYPE_UTILISATEUR := 'USER_REGISTERED';
EXCEPTION
WHEN NO_DATA_FOUND THEN
:P39_TYPE_UTILISATEUR := 'USER_NOT_FOUND';
END;I would like to do first this statement :
SELECT DISTINCT(USERID) INTO P_USERID FROM ACL_EMPLOYEES
WHERE USERID = :P39_USERID Then to do this one if the user is found :
SELECT DISTINCT(USERID) INTO P_USERID FROM ACL_EMPLOYEES
WHERE USERID = :P39_USERID AND APPLICATION_ID = :APP_ID ;etc...
I basically don't want to go to the not found exception before having tested the 4 possibilities.
Do you have a suggestion ?
Thank you for your kind help !
ChristianSurely there are only 3 conditions to check?
1. The user exists and has that app
2. The user exists and doesn't have that app
3. The user doesn't exist
You could do this in one sql statement like:
with mimic_data_table as (select 1 userid, 1 appid from dual union all
select 1 userid, 2 appid from dual union all
select 2 userid, 1 appid from dual),
-- end of mimicking your table
params_table as (select :p_userid userid, :p_appid appid from dual)
select pt.userid,
pt.appid,
decode(min(case when dt.userid = pt.userid and dt.appid = pt.appid then 1
when dt.userid = pt.userid then 2
else 3
end), 1, 'User and app exist',
2, 'User exists but not for this app',
3, 'User doesn''t exist') user_app_check
from mimic_data_table dt,
params_table pt
where pt.userid = dt.userid (+)
group by pt.userid, pt.appid;
:p_userid = 1
:p_appid = 2
USERID APPID USER_APP_CHECK
1 2 User and app exist
:p_userid = 1
:p_appid = 3
USERID APPID USER_APP_CHECK
1 3 User exists but not for this app
:p_userid = 3
:p_appid = 2
USERID APPID USER_APP_CHECK
3 2 User doesn't exist -
How to test for existence of AcroXFA test objects?
Hi -
I'm writing scripts to test an XFA form with dynamic subforms. For example, at the end of Part 4, the user hits a Validate button, and if their data is correct, then the Validate button disappears and a Part 5 subform appears.
So my script looks something like this:
Function GetButtonPart4Validate()
Set GetButtonPart4Validate = PDFDoc("TestForm").AcroXFAForm("form").AcroXFAForm("form1")
.AcroXFAForm("sfPart4").AcroXFAButton("sfValidate")
End Function
Function GetPart5()
Set GetPart5 = PDFDoc("TestForm").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("sfPart5")
End Function
GetButtonPart4Validate().Click
PDFDoc( "TestForm" ).WaitProperty "ready", true, 60000 ' Wait for event processing complete
If DataTable("boolValidates", dtLocalSheet) = "TRUE" Then
If( GetPart5().Exist ) Then
' A: Checkpoint Succeeds: Validation was successful
Else
' B: Checkpoint fails: Validation failed
Endif
Else
If( GetPart5().Exist ) Then
' C: Checkpoint Fails: Validation was unexpected
Else
' D: Checkpoint Succeeds: Validation failed as expected
Endif
Endif
Unfortunately it appears that XfaSubForm.Exist always returns TRUE. In other QTP testing domains (eg "Exist Property (WinObject)" in QTP Help), the documented behaviour of the Exist property is to be true if the desired test object can be found in the application-under-test. Typically this means that when the script tries to access an XFA widget which doesn't exist (even something like GetPart5().getROProperty("visible") ), the script stops and thinks for a minute or so, and eventually produces a test error that the object doesn't exist then muddles onward. It is the "stops and thinks for a minute or so" which frustrates me, since these are delays which I am trying to avoid.
Another possible angle I looked into was counting the subforms under Part 5's parent.
PDFDoc("TestForm").AcroXFAForm("form").AcroXFAForm("form1").RefreshObject
PDFDoc("TestForm").AcroXFAForm("form").AcroXFAForm("form1").AcroXFAForm("sfPart5").Refresh Object
' check to see if there is a 'sfPart5'
Dim MyChildren, i
Set MyChildren = PDFDoc("TestForm").AcroXFAForm("form").AcroXFAForm("form1").ChildObjects
For i=0 to MyChildren.Count - 1
print i & " name=" & MyChildren(i).GetROProperty("name")
Next
This also seems to fail: Part5 doesn't appear among its parent's children (at least before QTP actually tries to use it).
The PDF Test Toolkit User Guide doesn't specifically mention that Exist or RefreshObject or ChildObjects are implemented, so I can't say AcroQTP isn't working as designed, but if you're looking for suggestions for improvement, I'll vote for fulfilling these parts to the QTP. Please confirm my conclusions that these are not properly implemented, or whether I'm missing something.
In the meantime, do you have any recommendation on how to proceed? My present workaround is to look for a "validation error" windows dialog that indicates Part 5 won't exist, but this won't work in future test scripts.
Cheers,
BrentHi,
816387 wrote:
... QUERY:- Find all customers who have at most one account at the Perryridge branch.
SOLUTION *1* :-
select customer_name
from depositor,account
where account.account_number=depositor.account_number and
branch_name='Perryridge'
group by customer_name
having count(account.account_number) <=1
ok running correctly
That finds customers who have exactly one account at Perryridge.
The assignment is to find customers who have at most one account at Perryridge. You need to include customers with 0 accounts at Perryridge, as well. You could use an outer join, or MINUS, or a NOT IN subquery, or a NOT EXISTS sub-query (as mentioned above) to do that.
Can there be customers who have no accounts at all, at any branch? If so, you'll need to use the customer table in this problem, as well as depositor and account.
>
SOLUTION *2* :-
select D1.customer_name
from depositor D1
where unique
(select customer_name
from depositor D2,account A1
where D1.customer_name=D2.customer_name
D2.account_number=A1.account_number and
branch_name='Perryridge'
gives error:-
where unique
..........*^*
ERROR at line 3:
ORA-00936: missing expression
Logic of both solution are correct . But Solution 2 gives error in oracle. I want unique construct to work.Sorry, it doesn't in Oracle. I don't know of anything like that in Oracle.
Does "WHERE UNIQUE (SELECT ...)" work in some other database system? Which?
How to do it. Or How can i test for the absence of duplicate tuples ??????
Your Solution 1 is the best way to find customers with exatly 1 account (rather than 0 or 1 accounts) at Perryridge. Is there any reason why you wouldn't want to use it, if you ever needed to find customers with exactly one account there? -
Testing for IS NOT NULL with left join tables
Dear Experts,
The query is showing the NULL rows in the query below....
Any ideas, advice please? tx, sandra
This is the sql inspector:
SELECT O100321.FULL_NAME_LFMI, O100321.ID, O100404.ID, O100321.ID_SOURCE
, O100404.NAME, O100321.PERSON_UID, O100404.PERSON_UID, O100404.VISA_TYPE
FROM ODSMGR.PERSON O100321
, ODSMGR.VISA O100404
WHERE ( ( O100321.PERSON_UID = O100404.PERSON_UID(+) ) ) AND ( O100404.VISA_TYPE(+) IS NOT NULL )Hi Everyone,
I am understanding alot of what Michael and Rod wrote.... I am just puzzled over the following:
the query below is left joining the STUDENT table to
HOLD table.
The HOLD table - contains rows for students who have holds on their record.
a student can have more than one hold (health, HIPAA, basic life saving course)
BUT, for this query: I'm only interested that a hold exists, so I'm choosing MAX on hold desc.
Selecting a MAX, helps me, bec. it reduces my join to a 1 to 1 relationship, instead of
1 to many relationship.
Before I posted this thread at all, the LEFT JOIN below testing for IS NOT NULL worked w/o
me having to code IS NOT NULL twice....
Is that because, what's happening "behind the scenes" is that a temporary table containing all max rows is being
created, for which Discoverer has no predefined join instructions, so it's letting me do a LEFT JOIN and have
the IS NOT NULL condition.
I would so appreciate clarification. I have a meeting on Tues, for which I have to explain LEFT JOINS to the user
and how they should create a query. I need to come up with rules.
If I feel "clear", I asked my boss to buy Camtasia videocast software to create a training clip for user to follow.
Also, if any Banner user would like me to email the DIS query to run on their machine, I would be glad to do so.
thx sooo much, Sandra
SELECT O100384.ACADEMIC_PERIOD, O100255.ID, O100384.ID, O100255.NAME, O100384.NAME, O100255.PERSON_UID, O100384.PERSON_UID, MAX(O100255.HOLD_DESC)
FROM ODSMGR.HOLD O100255, ODSMGR.STUDENT O100384
WHERE ( ( O100384.PERSON_UID = O100255.PERSON_UID(+) ) ) AND ( O100384.ACADEMIC_PERIOD = '200820' )
GROUP BY O100384.ACADEMIC_PERIOD, O100255.ID, O100384.ID, O100255.NAME, O100384.NAME, O100255.PERSON_UID, O100384.PERSON_UID
HAVING ( ( MAX(O100255.HOLD_DESC(+)) ) IS NOT NULL )
ORDER BY O100384.NAME ASC -
How do I test for the presence of an active open document in Photoshop?
I’m new to Adobe scripting, and one of my first scripts deals with the activeDocument in Photoshop.
If there is no activeDocument, I want to display a message and terminate the script. My efforts
so far have been met with frustration. While developing the script in ExtendScript Toolkit,
I used the test expression "activeDocument in app", and everything worked as expected. And when I installed the script
in the Photoshop scripts folder and ran it from Photoshop with a document open, it also worked.
But when I ran the script from Photoshop with no document open, it failed.
Moreover, after that,the script failed when I tried to run it in ESTK.
I did some testing and found that my test expression, "activeDocument in app"
was returning true, even though no document was open.
Still in ESTK, I replaced the “app” with ”Application” in the test expression. That worked when
I stepped through the script. But when I tried to run it without stopping, it stopped at the
test expression, and displayed the error message, “Application is undefined.”
So how do I test for the presence of an open document in Photoshop ??After posting this, I discovered the Photoshop Scripting Forum, and I found my answer there.—
I should have used “app.Documents.length” as my test expression. -
Creation of disconnection notification for the disconnection document
Hi,
I created a disconnection document using FM ISU_S_DISCDOC_CREATE for the installation. Now i have to create the disconnection notification for the disconnection document. Is there any FM to do that.
Regards,
Mukesh Kumarhi
i dnt think there s a seperate fm for creating notif specially for disconn notification..
kr
raj -
Best practice standard User Acess Test for WIN2012 AD
What is the Best practice standard User Acess Test for WIN2012 AD
Hello,
as before, add a computer to the domain and log on with a domain user account to the computer.
You should be able from the client machine to open the sharedfolders on the DCseither with:
\\DCName\sysvol
\\DCName\netlogonor \\NetBiosDomainName\sysvol
\\NetBiosDomainName\netlogon
Best regards
Meinolf Weber
MVP, MCP, MCTS
Microsoft MVP - Directory Services
My Blog: http://blogs.msmvps.com/MWeber
Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
Twitter: -
I was an apple beta tester for iOS7 and now my iPhone 5 shut down, it's unresponsive it gets recognized by iTunes when plugged into the computer but that's it. Since I was a beta tester is there any way to fix my iPhone??
Are you still running iOS 7 bet?. If so go to the private developer section for help. We cannot help you here with beta software.
-
Linkage Error in Mapping and Operation mapping testing for Synchronous in NWDS
Dear Experts,
Hope you all are doing fine..
I am working in a synchronous scenario Proxy via SAP PI 7.4 to JAVA Application supporting JSON.I wrote JAVA program to convert JSON to XML and while performing test for the JAVA mapping in response structure at Operation Mapping,I am receiving following error..
LinkageError at JavaMapping.load(): Could not load class: json2xml/bin/pack/EsrJson2Xml
java.lang.NoClassDefFoundError: json2xml/bin/pack/EsrJson2Xml (wrong name: pack/EsrJson2Xml) at
java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:735)
at java.lang.ClassLoader.defineClass(ClassLoader.java:716) at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
at com.sap.aii.ib.server.mapping.execution.MappingLoader.findClass(MappingLoader.java:195)
at java.lang.ClassLoader.loadClass(ClassLoader.java:372) at java.lang.ClassLoader.loadClass(ClassLoader.java:313)
I followed some of discussions for the Linkagae error http://scn.sap.com/thread/1418477 but could not help..
Following are details of my NWDS and PI server:
SAP NetWeaver Developer Studio
SAP Enhancement Package 1 for SAP NetWeaver Developer Studio 7.3 SP10 PAT0000
Compiled the project with JAVA SE-1.6 as well as 1.5
SAP PO 7.4 Java Only , Release: NW731CORE_10_REL
SP: 05 JDK: jdk16 Latest Change: 353688
I have taken care to export all the Jar files used in NWDS to be exported and then imported as Archived files in PI server.
But could not see the 5 jar files in ESR. I hope there is some issue with name as can see in the log.Can the issue be solved?
How to test the Operation mapping for Synchronous Message in NWDS?
Regards
RebeccaDear Hareesh and Experts,
I resolved the issue by doing the below steps.
1. Downloaded the JDK5 and updated the Java console i.e. JRE 15.
2. I had created this project using the JAVA Compiler with JAVA SE1.6 initially. Changed this to 1.5 in the Properties of the Project.
3. Uploaded the project again in ESR Imported Archive.
The issue is solved.
Thanks a lot for all your inputs. -
Yesterday this was automatically installed. Today I can't access a document in Pages. A prompt says I need a Pages update. But the next screen tests for updates and informs me everything is up to date. What's up?
It's highly unlikely that the Pages update problem has anything to do with the ARD client update, since the client is not involved in any way with Software Update. I'd suggest asking for assistance with the update problem in the forum appropriate for your version of Mac OS X.
Regards.
Maybe you are looking for
-
Macbook Pro 2010 Crashes with a black screen when under heavy graphical load.
It loops any sounds that were playing and all keys are unresponsive. Only way to stop is a hard restart. I have already tried repairing permissions both with the Disk Utility under OSX AND with the installer CD. I noticed that this also happens in
-
Cannot POST to create schedule - (500) internal server error
I am trying to create a schedule using Raylight and Restful Web services using a post to http://xxxxxxxxxxx:6405/biprws/raylight/v1/documents/6385/schedules when I do I get an error 'The remote server returned an error: (500) Internal Server Error.'
-
Application Builder and Product Code LV7- LV8.2
Hello! I work on an application originally developed in LabVIEW7.1 and I want to create an installer with LabVIEW8.2. Is it possible to use a "Product Code" (the same used in LabVIEW7.1) in LabVIEW8.2? Thanks, Brice
-
Material Ledger Startup at year end
Can someone confirm if all the balance carry forwards have to be run before turning on material ledger for the new year or can I just run the GL balance carry forward piece?
-
TS3623 Audio issues with apple tv
There's no audio on the movie playback for purchased movies. Trailers and home videos work fine. Any suggestions?