How to get specific accounts using ScriptedHostResourceAdapter
Hi
we are using ScriptedHostResourceAdapter for mainframe.
But how to get some specific list of users.
When i try to get the connetion using
<invoke name='getAffinityConnection' class='com.waveset.adapter.HostConnPool'>
Iam getting error. Though LoginAction is there in idm and working with users and reconciliations.
com.waveset.exception.ItemNotFound: ResourceAction: LoginAction
When i try to use listAllObjects still iam getting the same error.
com.waveset.exception.ItemNotFound: ResourceAction: LoginAction
<invoke name='listAllObjects'>
<new class='com.waveset.adapter.ScriptedHostResourceAdapter'>
<rule name='commonRuleLib:RUL_getWSObject'>
<argument name='Id' value='Mainframe'/>
<argument name='type' value='Resource'/>
<argument name='context'>
<invoke name='getAuthenticatedContext'>
<new class='com.waveset.server.InternalSession'/>
<s>configurator</s>
</invoke>
</argument>
</rule>
<new class='com.waveset.object.ObjectCache'/>
</new>
<s>Account</s>
<map>
<s>accountId</s>
<s>G1NXV6T</s>
</map>
<s>configurator</s>
<invoke name='getPassword'>
<invoke name='getObject' class='com.waveset.ui.FormUtil'>
<invoke name='getAuthenticatedContext'>
<new class='com.waveset.server.InternalSession'/>
<s>configurator</s>
</invoke>
<s>User</s>
<s>configurator</s>
</invoke>
</invoke>
</invoke>
Please help if any solution is there
Thanks
Edited by: shailu541 on Feb 3, 2010 10:50 AM
Edited by: shailu541 on Feb 3, 2010 10:52 AM
I think i got it now. iam not passing objectcache
<invoke name='getCache'>
<new class='com.waveset.server.InternalSession'/>
</invoke>
Similar Messages
-
i am from Lebanon and they did disable my account because of authorization they did my cousin without my knowledge, and i did change the password of my account and the webcard used please can u help me to know how to get my account back
http://www.apple.com/support/itunes/
-
My Apple TV was set up with a different Apple ID than I have for my ITunes Account. In other words I have multiple Apple ID's. How can get these accounts to sync up?
If you wish to use home sharing then you need to setup the Apple TV under your ID.
-
How to get specific cell or whatever is in your datatable?
All there is in my datatable is one value loaded. Here's my code, but how do i convert that datatable to a string?
var fileName = string.Format("{0}\\file.xlsx", Directory.GetCurrentDirectory());
var connectionString = string.Format("Provider=Microsoft.Jet.OLEDB.12.0; data source={0}; Extended Properties=Excel 12.0;", fileName);
OleDbConnection connExcel = new OleDbConnection(connectionString);
connExcel.Open();
DataTable xlsData = new DataTable();
OleDbDataAdapter dbAdapter = new OleDbDataAdapter("select * from [Filters$B2]", connExcel);
dbAdapter.Fill(xlsData);
//Now i want to see that value in xlsData???? or possibly convert it since it is only one cell loaded to a string? HELP?Hi vkid,
>>All there is in my datatable is one value loaded. Here's my code, but how do i convert that datatable to a string?
About convert datatable to a string, you can use the following code
string res = String.Join(Environment.NewLine, table.Rows.OfType<DataRow>().Select(x => String.Join(" ; ", x.ItemArray)));
But based on your title, How to get specific cell, please check the following code
string value = table.Rows[0].ItemArray[0].ToString();
It means get the firstrow and first column value. You can get the specified cell which you want.
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to get the account numbers which maintains negative balance for consecutive 5 days
Here is what I am trying to do
I am trying to get the accounts which has negative balance consecutively for five days
Here in this a/c 1 and 5 has consecutive negative balance
how to pull these accounts using sql query.
create table #p(cal date, ac# int, bal int)
insert into #p values ( GETDATE(), 1, -1),
( GETDATE(), 2, 1),
( GETDATE(), 3, 1),
( GETDATE(), 4, -2),
( GETDATE(), 5, -6),
( GETDATE()-1, 1, -1),
( GETDATE()-1, 2, 1),
( GETDATE()-1, 3, 1),
( GETDATE()-1, 4, 2),
( GETDATE()-1, 5, -7),
( GETDATE()-2, 1, -2),
( GETDATE()-2, 2, -1),
( GETDATE()-2, 3, -1),
( GETDATE()-2, 4, 2),
( GETDATE()-2, 5, -6),
( GETDATE()-3, 1, -2),
( GETDATE()-3, 2, -1),
( GETDATE()-3, 3, -1),
( GETDATE()-3, 4, 2),
( GETDATE()-3, 5, -2),
( GETDATE()-4, 1, -4),
( GETDATE()-4, 2, 1),
( GETDATE()-4, 3, 1),
( GETDATE()-4, 4, -2),
( GETDATE()-4, 5, -2),
( GETDATE()-5, 1, -4),
( GETDATE()-5, 2, 1),
( GETDATE()-5, 3, 1),
( GETDATE()-5, 4, 2),
( GETDATE()-5, 5, -1)
-- drop table #p@ Jing
Again not sure if it is ok to comment on other people's answers, I hope you don't take it the wrong way, but your query will not account for CONSECUTIVE days. E.g. if the acc balance goes back to a positive value, day count must be reset.
Now I understand why people answered this so much faster than me LOL.
Edit: Besides, the requeriment for the acc being returned is that its value was negative for 5 days (120 hours). When a given account balance first switches to a negative value, it has 0 hours in that state. It all add a day to its "negative balance consecutive
day count" property the next time its value is checked (cal + 1). With that said, if your query worked, it would be cnt > 6 not cnt > 5.
Thanks for pointing the issue. I have improved my query to address it.
I try to come up with something to my understanding to the questions. It may not interpret right from the question itself for various reasons. I still consider it is a great learning experience. Thank you for your comments.
create table #p(cal date, ac# int, bal int)
insert into #p values ( GETDATE(), 1, -1),
( GETDATE(), 2, 1),
( GETDATE(), 3, 1),
( GETDATE(), 4, -2),
( GETDATE(), 5, -6),
( GETDATE()-1, 1, -1),
( GETDATE()-1, 2, 1),
( GETDATE()-1, 3, 1),
( GETDATE()-1, 4, 2),
( GETDATE()-1, 5, -7),
( GETDATE()-2, 1, -2),
( GETDATE()-2, 2, -1),
( GETDATE()-2, 3, -1),
( GETDATE()-2, 4, 2),
( GETDATE()-2, 5, -6),
( GETDATE()-3, 1, -2),
( GETDATE()-3, 2, -1),
( GETDATE()-3, 3, -1),
( GETDATE()-3, 4, 2),
( GETDATE()-3, 5, -2),
( GETDATE()-4, 1, -4),
( GETDATE()-4, 2, 1),
( GETDATE()-4, 3, 1),
( GETDATE()-4, 4, -2),
( GETDATE()-4, 5, -2),
( GETDATE()-5, 1, -4),
( GETDATE()-5, 2, 1),
( GETDATE()-5, 3, 1),
( GETDATE()-5, 4, 2),
( GETDATE()-5, 5, -1),
( GETDATE()-6, 5, -1)
--update #p
-- set bal=-1*bal
-- where cal='2014-09-22' and [ac#]=5
;with mycte as ( Select *
,row_number() Over(Order by [ac#], cal) - row_number() Over(Partition by [ac#], sign(bal) Order by [ac#], cal) rnDelta
from #p)
,mycte1 as (
select * ,
sum(Case when bal< 0 Then 1 Else 0 End) Over(Partition by [ac#], rnDelta Order by [ac#],cal ) cnt
from mycte
SELECT distinct [ac#] from mycte1
Where cnt>=5
drop table #p -
How to get multiple records using fn-bea:execute-sql()
Hi,
I created Proxy service(ALSB3.0) to get records from DB table. I have used Xquery function(fn-bea:execute-sql()). Using simple SQL query I got single record, but my table having multiple records. Please suggest how to get multiple records using fn-bea:execute-sql() and how to assign them in ALSB variable.
Regards,
Nagaraju
Edited by: user10373980 on Sep 29, 2008 6:11 AMHi,
Am facing the same issue stated above that I couldnt get all the records in the table that am querying in the Proxyservice.
For example:
fn-bea:execute-sql('EsbDataSource', 'student', 'select Name from StudentList' ) is the query that am using to fetch the records from the table called StudentList which contains more than one records like
Id Name
01 XXX
02 YYY
03 ZZZ
I tried to assign the result of the above query in a variable and while trying to log the variable, I can see the below
<student>
<Name>XXX</Name>
</student>
I want to have all the records from my table in xml format but it's not coming up. I get the value only from the first row of my table.
Please suggest.
regards,
Venkat -
how to verify my account using my yahoo email? and how to open my apple id in what mail in iphone 4?
Hi stanlaw,
Welcome to the Support Communities!
The information below should help you with this.
Associating and verifying email addresses with your Apple ID
http://support.apple.com/kb/HE68
How to verify the primary email address for your Apple ID
When you first create an Apple ID (using your email address) a verification email will be sent to that address. If you sign in to your Apple ID from the link in that email, the email address will be verified as the primary email address for your Apple ID. You can also resend the email verification if the email address is not verified:
1. Sign in to My Apple ID to manage your account information.
2. Click Resend under Primary Email Address.
3. Verify your changes by following the link in the email you will receive from Apple and signing back in to your account.
I hope this information helps ....
Happy Holidays!
- Judy -
How to get iccid by using imei?i had lost my iphone and i want to find it back.
how to get iccid by using imei?i had lost my iphone and i want to find it back.
Ocean20 wrote:
Not sure about ICCID but you can get your IMEI by going to the computer you normally sync to and open iTunes there click on edit then preferences then on the devices tab and then hover mouse over your backup and the IMEI and other info on your phone will appear
Interesting. Yet another of the many Easter eggs dispersed throughout the system. -
How to get the workcentres used in the routing out of 2 alternate routings
Dear All,
I would like to know how to get the workcentres used in the routing out of 2 alternate routings.
I referred PLKO got the Task List Type (PLNTY), Group(PLNNR), Group Counter(PLNAL), Plant(werks).
I passed this in to PLPO, The problem in PLPO is we dont have the distinguishing field Group Counter(PLNAL), so I am getting all the ARBID including both alternates.
How to get the ARBID with respect to Groupcounter 1 alone.
If a get the ARBID , I can get the ARBPL from CRHD.HI,
Use PLAS Table also. you have to use PLKO> PLAS> PLPO.
Pass PLNNR & PLNAL in PLAS and get PLNNR & PLNKN.
Then pass these into PLPO.
work centers from CRHD
Regards,
Krishna Mohan
Edited by: Krishna Mohan N on Jan 31, 2008 12:28 PM -
How to get Contract Account Number in Service Ticket
Hi Experts,
How to get Contract account number in Service Ticket, we are working in ISU environment. when i create the service ticket the contract account number is there in Business agreement number field in service tiket.
Can anyone tell me how to retrieve that field.
Answer will be appreciated.
Praveencheck tables tfk_buag_ref and fkkvkp
-
How to get this output using sql query?
Hi,
How to get this output using sql query?
Sno Name Age ADD Result
1 Anil 23 delhi Pass
2 Shruti 25 bangalor Pass
3 Arun 21 delhi fail
4 Sonu 23 pune Pass
5 Roji 26 hydrabad fail
6 Anil 28 delhi pass
Output
Sno Name Age ADD Result
1 Anil 23 delhi pass
28 delhi passHi Vamshi,
Your query is not pretty clear.
write the select query using Name = 'ANIL' in where condition and display the ouput using Control-break statements.
Regards,
Kannan -
How to get last column used in report sorting?
hi,
how to get last column used in report sorting?
simonHow to identifiy which column was sorted having different reports on page?
just use:
'YOUR_STATIC_REGION_NAME' instead of p_static_id,
:APP_ID for p_app_id,
:APP_PAGE_ID for p_page_id
:APP_USER_ID for p_app_user.
and dont forget to grant SELECT on #OWNER# to APEX_030200.WWV_FLOW_PREFERENCES$
good luck and thank you Juergen.Schuster
Simon -
Hello,
I have question how spammer get our accounts and
groups name ?
I have issue I am received spam email in my inbox not in junk mail
spam agent already enable in my hub transport and also create SPF record but still receiving email in my inbox
what to do to transferred spam email to junk email
thanksthanks for reply,
I am test my domain health I found some warning and error :
category
Host
result
https
mydomain.com
The remote server returned
an error: (400) Bad Request. (https:// mydomain.com)
dns
mydomain.com
Bad Glue Detected
dns
mydomain.com
SOA Expire Value out of recommended range
smtp
Mail.mydomain.com
11.388 seconds - Not good! on Transaction Time
what do mean those warnings? -
How to get Listener Information using PL/SQL code
How to get Listener Information using PL/SQL code
user2075318 wrote:
How to get Listener Information using PL/SQL codeThis approach (somewhat of a hack) can be used - but it does not really provide meaningful data at application layer.
SQL> create or replace function TnsPing( ipAddress varchar2, port number default 1521 ) return varchar2 is
2 type THexArray is table of varchar2(2);
3 --// tnsping packet (should be 10g and 11g listener compatible)
4 TNS_PING_PACKET constant THexArray := new THexArray(
5 '00', '57', '00', '00', '01', '00', '00', '00',
6 '01', '39', '01', '2C', '00', '00', '08', '00',
7 '7F', 'FF', '7F', '08', '00', '00', '01', '00',
8 '00', '1D', '00', '3A', '00', '00', '00', '00',
9 '00', '00', '00', '00', '00', '00', '00', '00',
10 '00', '00', '00', '00', '00', '00', '00', '00',
11 '00', '00', '00', '00', '00', '00', '00', '00',
12 '00', '00', '28', '43', '4F', '4E', '4E', '45',
13 '43', '54', '5F', '44', '41', '54', '41', '3D',
14 '28', '43', '4F', '4D', '4D', '41', '4E', '44',
15 '3D', '70', '69', '6E', '67', '29', '29'
16 );
17
18 socket UTL_TCP.connection;
19 txBytes number;
20 rxBytes number;
21 rawBuf raw(1024);
22 resp varchar2(1024);
23 begin
24 socket := UTL_TCP.open_connection(
25 remote_host => ipAddress,
26 remote_port => port,
27 tx_timeout => 10
28 );
29
30 --// convert hex array into a raw buffer
31 for i in 1..TNS_PING_PACKET.Count loop
32 rawBuf := rawBuf || HexToRaw( TNS_PING_PACKET(i) );
33 end loop;
34
35 --// send packet
36 txBytes := UTL_TCP.write_raw( socket, rawBuf, TNS_PING_PACKET.Count );
37
38 --// read response
39 rxBytes := UTL_TCP.read_raw( socket, rawBuf, 1024 );
40
41 UTL_TCP.close_connection( socket );
42
43 --// convert response to varchar2
44 resp := UTL_RAW.Cast_To_Varchar2( rawBuf );
45
46 --// strip the header from the response and return the text only
47 return( substr(resp,13) );
48 end;
49 /
Function created.
SQL>
SQL> select tnsping( '10.251.93.30' ) as TNSPING from dual;
TNSPING
(DESCRIPTION=(TMP=)(VSNNUM=169869568)(ERR=0)(ALIAS=LISTENER))
SQL> select tnsping( '10.251.95.69' ) as TNSPING from dual;
TNSPING
(DESCRIPTION=(TMP=)(VSNNUM=0)(ERR=0)(ALIAS=LISTENER))
SQL> -
How to get SharePoint Groups using Javascript in SP2013 ?
How to get SharePoint Groups using Javascript in SP2013 , not JSOM please
Here is the code that worked for me:
<script type="text/javascript">
var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/web/sitegroups";
var requestHeaders = { "accept" : "application/json;odata=verbose" };
$.ajax({
url : requestUri,
contentType : "application/json;odata=verbose",
headers : requestHeaders,
success : onSuccess,
error : onError
function onSuccess(data, request){
var s='';
for (var i = 0; i < data.d.results.length; i++)
s +=data.d.results[i].LoginName+'\n';
alert(s);
function onError(error) {
alert("error");
</script>
Maybe you are looking for
-
TS3899 when I send a photo with my I-pad the recipient see it sideways not upright
Hi friends, What an odd thing when I send an attached photo or video with an e-mail the person that gets it complain is looking sideways as if the bottom was the rigth marging.. Don't know what to do. Tried to send four tests each in one of the four
-
Static NAT and same IP address for two interfaces
We have a Cisco ASA 5520 and in order to conserve public IP addresses and configuration (possibly) can we use the same public IP address for a static NAT with two different interfaces? Here is an example of what I'm refering too where 10.10.10.10 wou
-
Hai, I have a problem relating to payments made to multiple vendor. I have tried by using payment method set up in Admn>Setup>Banking>Payment method setup and by using payment wizard. It is coming correctly but it is making as individual entry for ea
-
Request for searching an error
hi can you please tell me how can i search request in rsa1old. sol: I think first of all when u r in moniter screen click request copy it and then go to rsa1old search and find it. But the result comes that no entry found. thanks regards gurkiran
-
How Long does it take to get battery replaced?
I went to HP office in Vancouver Downtown and paid for the battery, the saleperson told me to wait as they dont have product in the stock, Unbelieveable!!, I asked them to contact me when the battery arrived. Now It has been 2 weeks and over. what