Api Function to list port in use
Hi!I'm looking for an Api Function to list a ports in use in a Essbase Serve.
Although there is currently no Api function to check the ports in use, if you are using Essbase 6.5 there are a couple other methods that could be used. (Might work in 6.2 but I didn't check).Check out the following functions in Maxl:- display system- display session all "Display system" displays how many ports are available - if you know how many you have then you know how many are in use. "Display session all" displays the users and their tcpip address - allowing you to determine the number of ports in by counting the number of unique user id + tcpip addresses. A worse case scenario to capture this information would be a program that runs the Maxl script to output a file that is then parsed.Hope this helps,- Jay---------------------------Jay NishSenior Business Intelligence ConsultantClarity SystemsEmail: [email protected]: www.claritysystems.com
Similar Messages
-
Missing Functionality - Price List on BOM Header via DI API
short: Cannot access Price List (oitt.pricelist) OR Show BOM components (oitt.showcomp) fields from SDK or DTW on BOM Header.
longer: issue where we are creating Bills of Material using the DI API. We are unable to fill the Price List on the header (oitt.pricelist) via the DI API. This does not affect functionality of the BOM or any production orders created from the BOM. However it is a problem when we try to rollup prices using Update Parent Item Prices Globally. This utility is looking for the relevant price list in the Bill of Material Header and thus ignoring all of our items that were created via the DI API.Are you serious ?
They use this property to change the Price List of a Goods Receipt ?
I mean I understand that this is a Marketing Document but the lack of a property for disctinct values like Price List
is not that good. -
List of All Ports in Use.
Is there any way to know / obtain a list of all the ports in use for all the components of an Application Server?
Thanks,
Niravhi
search for "portlist.ini" file in the system
best regards -
Trying to retrieve list of rooms using EWS Managed API but it returned empty collection
Hi,
I'm trying to retrieve list of rooms using EWS Managed API. Before I have tried the following code I make sure our Administrator put all the rooms in a list following link https://technet.microsoft.com/en-us/library/ee633471%28v=exchg.141%29.aspx.
Here is the simple code I have used :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Exchange.WebServices.Data;
using System.Net;
using System.Security;
namespace ExchangeConsole1
class Program
static void Main(string[] args)
ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
service.Credentials = new NetworkCredential("username", "Password1", "domain");
service.Url = new Uri("https://email.xxxx.com/ews/exchange.asmx");
EmailMessage email = new EmailMessage(service);
EmailAddressCollection listOfRoomList = service.GetRoomLists();
// Display the individual rooms.
foreach (EmailAddress address in listOfRoomList)
Console.WriteLine("Email Address: {0}", address.Address);
service.GetRoomLists() results "Enumeration yielded no results". Could anybody help me please ?
Thanks
SandipanEnable tracing and see what the response from the server looks like. Also depending on your setup and how long ago your administrator created the list, it may take some
time to replicate.
Administrator has done it one week ago. Here is the trace response I am getting
<Trace Tag="EwsResponse" Tid="9" Time="2015-04-10 15:36:37Z" Version="15.00.0847.030">
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<h:ServerVersionInfo MajorVersion="15" MinorVersion="0" MajorBuildNumber="995" MinorBuildNumber="31" Version="V2_15" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<m:GetRoomListsResponse ResponseClass="Success" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<m:ResponseCode>NoError</m:ResponseCode>
<m:RoomLists />
</m:GetRoomListsResponse>
</s:Body>
</s:Envelope>
</Trace>
It's say no error. Any help ?
Thanks
Sandipan -
I've got something wedged in a host or listener config. I had 11.2.0 running, scratched it off and to start over. I removed the software and reinstalled. Now when I run netca and try to create a listener on the port I was using it fails saying the port is in use. It isn't. lsof and netstat do not list it. I rebooted anyway, but no change. I assume some file has it registered that I did not clean up correctly. Where might it be?
The truth is, I had a test db running. Changed the hostname and ip address without looking at how oracle would handle that. I tried to just change the config files in network/admin and could not recover. I decided it would be easier to start over. It is obviously much more complicated then it used to be. I'm glad they finally fixed all that.
Where to look?user11986251 wrote:
oops, firewall issue. The msg should have been, "can't get to the port," not "it's in use."Keep netstat in mind in future - it can list all TCP ports in use on a server, together with the process that is using the port (check the manpage for the relevant switches to use). Very useful to determine whether a local port is in used and by whom.
If you're on Windows, the command is also available (obviously not with the same set of command line switches, but it does have the same basic functionality). -
Which port is used by SCCM console??
which port is required by SCCM console to function properly .
list of ports is here:
http://technet.microsoft.com/en-us/library/bb632618.aspx
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
Select list with submit using on a dynamic report
Hi! I'd like to know how can I create a Select list with Submit using the HTMLDB_ITEM API.
I know there's an API named HTMLDB_ITEM.SELECT_LIST_FROM_LOV(), but I'd like to know how can I reproduce in there the submit everytime the user changes a value.
Thanks!Hi! I've discovered there's a parameter on this function that allows me to include a javascript like the example below:
select HTMLDB_ITEM.SELECT_LIST_FROM_LOV(3, ctr_id,'LOV_COUNTRIES','onChange=javascript:doSubmit()','NO)
from XXXX;
The thing is I don't know how exactly this javascript:doSubmit() works, because it works different than creating a select list with submit item.
If I create on a page a simple "select list with submit" item, and if I run the page, after changing the value of the select list it refreshes the page but it doesn't erase the values inserted on the other items. But if I have this HTMLDB_ITEM.SELECT_LIST_FROM_LOV function, after changing the value of the select list it refreshes the page but it erase the values inserted on the other items and recovers the old values..
I really need your help on this.
Thanks in advance :-) -
i use the windows api function to dynamelly display text on the frontpanel ,it successed ,but when you move the scrollbar to the left ,right ,top ,bottom,the text will be disappear!! i think it is a very difficulteed problem .in my around ,no one can do! who can help me!
Attachments:
textrefresh.vi 21 KB
auto_appear_scroll.vi 126 KBVery cool!
It looks like you are using the same functions that LV uses to refresh the screen. Thos functions only let you update within the window you specify. This is why your updates stop at teh edge of the window.
Normally LV will watch the scroll bar position and re-paint the screen to reflect an scroll bar postion changes. Since you are by-passing LV, you can not rely on LV to refresh your screen when the scroll bars move.
At this point I can offer two suggestions.
1) Continue with the approach you started and start adding all of the code required to watch the scroll bars and re-paint as indicated.
or
2) Look into the LV Picture control. Based on what you have done using dll calls I would guess that you could probably figure how to do the
same thing using a picture control. The Picture (being a LV native object) is fully supported by LV so the scrolling work is already done and working. The picture control will let you draw lines, insert text, etc. Take a look at the "Robot Arm" example. It should get you started.
Finally, the Picture control is pure "G" so it should be platform independent.
Otherwise let me commend you on your example. You say no one else where you are can do what you have done. After looking at your example, I am not suprised. There are few people in the world that can do what you have done.
Great work!
Ben
Ben Rayner
Certified LabVIEW Developer
www.DSAutomation.com
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
How to determine which IP address and port is used to make DNS queries?
I am using JNDI/DNS API to query a Enum server (Tel URI resolution in VOIP world) what is a DNS server.
But I have many network interfaces, in a VLAN environment, and I must to specify from which interface (and port)
all the requests are sent.
When I read the code of JNDI/DNS API (in JDK 1.5) and specially the DNSClient class, I can see that the
DatagramSocket is created without parameters... : udpSocket = new DatagramSocket();
How can I specify the IP address and port to use for my client???
Thanks for your help.I must to specify from which interface (and port) all the requests are sent. You don't have to specify the interface unless your static unicast routing tables are incorrect, and you never have to specify the port unless some lunatic is in control of your firewall.
-
Re-send with more information on Modem installation problem- list port fail in admintools
Background:
If admintool can set serial I could have set it with a click.
The error is "list port fail in "
I have following many example including Celeste (stokey.com), I am totally lost with her instruction. I am a new-hand in SUN SOLARIS 8 INTEL. NEED good guidance and helping to set up an external Zoom 56 K modem on com 1.
==============================================================
I was suspect a lot of work from internet is a copy of another.
===============================================================
#sacdm -l t ttymon
get:
zsmon ttymon - 0 ENBALE /usr/lib/saf/ttymon
#pmadm -l
get:
no service defined.
There is no cua * under /dev
These is nothing under /dev/term
I have a number of error with the following script and I can screen-print and copy and then paste here.
There are problem with the cua and term/$port.
SO please help and guide.
sunlearner.
#!/sbin/sh
# add_modem shell script. Must be run as root from bourne shell
# Change these parameters as needed for your particular needs.
# PARAMETER MEANING
# PORT Port you want to set up. "a" or "b"
# TTYSPEED Speed setting, from /etc/ttydefs
# LOGINMSG The login message which will be displayed.
# -p zsmon PMTAG, name of this port monitor
# -s ttya SVCTAG, modem is on ttya. you may want ttyb
# -d /dev/term/$PORT Actual port device.
# -l contty5H Ttylabel, defined in /etc/ttydefs file. (speed
# setting. contty5H=19200 baud)
# -b Flag for bidirectional port use
# -S n Turn software carrier off (modem supplies
# hardware carrier detect signal)
# "dial in/out on serial port" This is a comment you'll see on pmadm -l
LOGINMSG="Always be nice to your sysadm. You may now login. "
# set PORT = either a or b
PORT="a"
# choose your speed setting. See /etc/ttydefs for more, or build your
# own from the examples in the rest of this article.
# contty5H = 19200bps, 7 bits even parity, as supplied by Sun
# conttyH = 9600bps, 7 bits even parity, as supplied by Sun
TTYSPEED="contty5H"
# change ownership of outgoing side of port to user uucp, group tty.
# change ownership of incoming side of port to user root, group tty.
chown uucp /dev/cua/$PORT; chgrp tty /dev/cua/$PORT
chown root /dev/term/$PORT; chgrp tty /dev/term/$PORT
# Remove any existing port monitor on this port.
# You can ignore any error messages from this next command.
# If you see the message "Invalid request, ttya does not exist under zsmon",
# You may be trying to remove a port monitor which does not exist.
/usr/sbin/pmadm -r -p zsmon -s tty$PORT
# Create the new port monitor
/usr/sbin/pmadm -a -p zsmon -s tty$PORT -i root \
-v `/usr/sbin/ttyadm -V` -fu -m "`/usr/sbin/ttyadm \
-p "$LOGINMSG" -d /dev/term/$PORT -s /usr/bin/login -l $TTYSPEED -b \
-S n -m ldterm,ttcompat`" -y "dial in/out on serial port"
############ end of add_modem script ###################################The lack of /dev/cua etc is worrying - apparently there is an ACPI
bug with certain BIOSes which means certain device nodes are not created (often floppy, printer, serial). Turning off ACPI in the BIOS if this option exists on your HW, followed by a reconfiguration boot (b -r) should help. When you have the device nodes in place, the guidance from Stokeley should work - you might also check the
archives of the solarisonintel list at www.egroups.com -
BW SEM-BPS API functions from a Web Dynpro project in Netweaver
Hi,
Rather than using the standard Web Interface Builder in BW SEM-BPS (3.1B), we have to use SAP Netweaver to create a Web Dynpro project which accesses all the API_SEMBPS functions, such as GETDATA, SETDATA, FUNCTION_EXECUTE etc. Has anyone done this before? If so, do you have any examples, hints?
Regards,
Linda LeeHello Linda,
let me add some more remarks on this topic from the BW-BPS development perspective:
I completely agree with Marc's statement.
Thechnically it is possible to build a planning application UI on top of the BW-BPS API functions and we have some customers that are live with such a solution. However, I would recommend this only in 2 cases
1. You need to create a tightly integrated application with BPS being only one part of several other components (including transactional UI, e.g. running against a CRM system).
2. You prefer a UI technology that is not provided by SAP (e.g. Java Swing based).
In all other cases, I would say that one should stick to the Web Interface created with Web interface Builder, mainly for cost reasons. If this tool does not fulfill all your needs there are several possibilities to enhance and extend the generated web interfaces by custom specific coding (see also several How-To guides in this area; e.g. "How to integrate a BEx Web Template into a BPS Web interface").
Another possibility is to loosly couple several web UIs with the help of the portal.
To my knowledge, it is not true that BSP web technology will be obsolete shortly.
In general, I would always prefer a tool supported, model driven approach compared to a heavy custom coding. This is also in sync with SAPs general strategy to a more pattern based approach to create UIs.
Regards,
Tobias Hagen
Dev. Manager BW-BPS
SAP NetWeaver BI -
How to find the list of un used table names in a schema?
Hi,
I have a doubt in Oracle. The doubt is that If we are using any tables in Function Or Proc.... Then...We can list all those used table names from USER_DEPENDENCIES system table. Right...
But, If the table is used with Execute Immediate Statement, then, those table names are not coming out with USER_DEPENDENCIES system table. Because they are identified at run time and not compile time.
It is fine. And I agree.. But, If I want to list out those tables also...then...How to do? Any idea?
I think ‘USER_SOURCE’ system table may not be the right one. If there is any other system table avails for this purpose...then..it would be very grateful to extract right...
So I am wanting that exact system table.
Please let me know about this, if you have any idea or check with your friends if they have any idea.
Regards,
Subramanian GHi Guys,
Thanks for all your answers.
Yes....You are all right. We can list out the used tables upto certain extent. Anyhow, I have done some R&D to derive the SQL's which is given below:
SELECT TABLE_NAME FROM USER_TABLES
MINUS
SELECT DISTINCT UPPER(REFERENCED_NAME)
FROM user_dependencies
where
referenced_type='TABLE' and UPPER(NAME) in
select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
'MATERIALIZED VIEW',
'PACKAGE',
'PACKAGE BODY',
'PROCEDURE',
'TRIGGER',
'VIEW',
'FUNCTION'
UNION
SELECT UT.TABLE_NAME FROM
SELECT TABLE_NAME FROM USER_TABLES
MINUS
SELECT DISTINCT UPPER(REFERENCED_NAME)
FROM user_dependencies
where
referenced_type='TABLE' and UPPER(NAME) in
select distinct UPPER(object_name) from user_objects where UPPER(object_type) in
'MATERIALIZED VIEW',
'PACKAGE',
'PACKAGE BODY',
'PROCEDURE',
'TRIGGER',
'VIEW',
'FUNCTION'
AND REFERENCED_OWNER=(SELECT sys_context('USERENV', 'CURRENT_SCHEMA') FROM dual)
) UT,
( SELECT * FROM USER_SOURCE
WHERE NAME IN
( SELECT DISTINCT NAME FROM USER_SOURCE
WHERE TYPE NOT IN ('TYPE')
AND
UPPER(TEXT) LIKE '%EXECUTE IMMEDIATE%'
) US
WHERE
UPPER(US.TEXT) LIKE '%'||UPPER(UT.TABLE_NAME)||'%'
AND
(UPPER(US.TEXT) NOT LIKE '%--%')
The above SQL Query can list out unused tables by checking the Dynamic SQL Statement also upto some level only.
Once we extracted the list of unused tables, having a manual check would be also greater to verify as it is should not impact the business applications.
Regards,
Subramanian G -
Parsing query and getting list of tables used
Hi All,
I require to parse sql query (simple & complex as well) and to get the list of tables used in the query.
And need to validate that, the list of tables against a whitelist to maintained in the file.
I tried to write my own parser, since there are lots possible ways to write complex queries, i am unable to cover all the scenarios.
I require a help, Is there any other ways to get the list of tables used in a query?
Thanks,
Mahendran..user10279893 wrote:
Hi All,
I require to parse sql query (simple & complex as well) and to get the list of tables used in the query.
And need to validate that, the list of tables against a whitelist to maintained in the file.
I tried to write my own parser, since there are lots possible ways to write complex queries, i am unable to cover all the scenarios.
I require a help, Is there any other ways to get the list of tables used in a query?
Thanks,
Mahendran..
You'll never cover all scenarios by trying to parse a query.
For example, what about a query that queries views and those views query pipelined functions, and those pipelined functions query other views or tables or pipelined functions etc.
And what about a query that dynamically obtains the table names, such as...
SQL> select
2 table_name,
3 to_number(
4 extractvalue(
5 xmltype(
6 dbms_xmlgen.getxml('select count(*) c from '||table_name))
7 ,'/ROWSET/ROW/C')) count
8 from user_tables
9 where iot_type != 'IOT_OVERFLOW'
10 or iot_type is null;
TABLE_NAME COUNT
DEPT 4
EMP 14
BONUS 0
SALGRADE 5
.. in this case the tables being accessed (to count their rows) are not even known within the code, they are dynamically generated queries at run-time, so the only way to know what tables are accessed is to actually run the query.
Of course, a well designed system, with proper documentation and version control would allow you to take any database object and know where and what is using it, and whether it's even being used. -
List of Components used in Production Order
Hi ,
I want to report in which I want to pull out all the componets in the production order.I dont want explode the BOM for the day as many components might have been manually added in the productio order and it may not be present in BOM. is there any table or Function module which I can use for the same.
Thanks ,
Tausif.You will get the data in COOIS sap std report
in which you choose
List = component list
Or list = object list and in the object list tab page choose component check box.
execute the report with order numner..
you will get all the components. -
I want to call the WinAPI function-animatewindow in user32.dll to produce some special effect when showing or hidding windows, but i don't know how to using this Win API to achieve my purpose?
Does anyone have an example VI about this application?
Thanks in advance for your help.You have to use the Call Library Function Node to call Windows API functions. The animatewindow function itself has some pretty simple parameters. You first need to get the window handle. There are a set of Windows API Function Utilities (32-bit) for LabVIEW that you can use. In there there is a VI (Get Window Refnum) that gets the window handle. It's a simple call to a Windows API function. You would call the animatewindow function in the same way. In this case there are 3 parameters: the window handle (returned by a FindWindow API call), a DWORD (32-bit integer) for the duration, and another DWORD for the flags.
Maybe you are looking for
-
How to find out the view that calls a pop-up window?
Hi, The BP_HEAD_SEARCH component is a pop-up called by several other components (Contact, Activity, etc). So I need to customize it in according to which view called it (BP_HEAD or BT126H_APPT, for instance). I see OUTER_REP_VIEW attribute, however i
-
My drive is partitioned into 3 logical drives. 1 - boot and appliactions (Disk Utility repairs permissions OK) 2 - CD scratch disk - Disk Utility verifies the disk OK 3 - data - Disk utility displays Verifying Disk Data but then hangs with no activit
-
How can I transfer my long list of organized favorites I have on MS Internet Explorer over to Firefox?
-
Storage Devices can not be written to
Hello I am very confused, I have bought a new Imac having been a pc windows user all my life, and from my laptops I have various external storage devices, The Imac finds them and I can drag files from device onto the Mac, However I am not able to mov
-
I download pre filled pdf claim forms from the web site of my insurance company. The fields are not pre filled with my personnal data ( name, address, etc) like it is supposed to. Furthermore, I cannot even type my own data in the blank fields. All o