- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- X.25, XOT, programming question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2016 02:21 AM
тАО02-19-2016 02:21 AM
X.25, XOT, programming question
Hi All!
Is there some guy who able to provide some help in the X.25 programming area?
I have tried to configure XOT ... and try to use sys$examples:X25$SEND_C.C to check that TCP connection to TCP-X.25 gateway is established. Unsuccesfully. So, I'm need advice of the high skilled progger. Is there so da man ?!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2016 07:10 AM
тАО02-19-2016 07:10 AM
Re: X.25, XOT, programming question
You've not posted a question that can be answered. We need some description of what problem you're trying to solve, the commands or subroutine calls used, the text of any error messages received, the software product versions and patch levels involved for X.25, and for OpenVMS (presumably) Alpha and TCP/IP Services, and other details relevant to whatever issue or error or misbehavior you've encountered here.
Few folks have access to an X.25 gateway (anymore, if they ever had access), and that example and its referenced include files are part of the X.25 PSI package. Which is not a package commonly installed on most OpenVMS systems, and is licensed separately from DECnet-Plus.
From what I see of the C source code from the one spot where it's available on the 'net, it's over 20 years old, probably tosses C compiler errors commensurate with its antiquity, and the example requires setup in NCL. It's also dependent on a second receiver program running on the same host, and a C header file installed by the kit that's only present when X.25 is installed.
In short, somebody is going to have to install and configure X.25 and XOT to help you with this code, if this question goes past a compiler error or related assistance. That will either involve somebody with a hobbyist license тАФ which means no commercial usage тАФ or an HPE-authorized commercial developer (either working for free, or commercially) , or somebody with the actual X.25 package license on their system or with access to your system.
What's happening with the two examples? If there's a compiler error, what is it? If there's a run-time error, what is it, and have you investigated the code using the OpenVMS Debugger?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2016 02:48 AM
тАО02-20-2016 02:48 AM
Re: X.25, XOT, programming question
Hi, Hoff!
You are right as usual ...
So, I have resolved the problem. The my mistake was in the XOT NCL script ...
and I got :
%%%%%%%%%%% OPCOM 19-FEB-2016 12:35:11.73 %%%%%%%%%%%
Message from user SYSTEM on xx
Event: Port Terminated from: Node LOCAL:.xx X25 Access,
at: 2016-02-19-12:35:11.730+00:00Iinf
Client=Generic Client User Process "Pid=00000446 Device=NWA6:",
Type=Switched,
State=No Communication,
Call Direction=Outgoing,
Call Association=X25 Access Template X25_ZSS_135_OSI,
Target DTE Address=79910009922,
Protocol Identifier='03010100'H,
Channel=0,
Reverse Charging=False,
Redirect Reason=Not Redirected,
Fast Select=Not Specified,
DTE Class=XOT-DTE_CLASS-0,
Reference Time=2016-02-19-12:35:11.730+00:00Iinf,
Data Octets Received=0,
Data Octets Sent=0,
PDUs Received=0,
PDUs Sent=0,
I expected :
%%%%%%%%%%% OPCOM 19-FEB-2016 14:38:15.03 %%%%%%%%%%%
Message from user SYSTEM on xx
Event: Port Terminated from: Node LOCAL:.xx X25 Access,
at: 2016-02-19-14:38:05.580+00:00Iinf
Client=Generic Client User Process "Pid=00000448 Device=NWA6:",
Type=Switched,
State=Cleared,
Call Direction=Outgoing,
Call Association=X25 Access Template X25_ZSS_135_OSI,
Target DTE Address=79910009922,
Calling DTE Address=79013163222,
Protocol Identifier='03010100'H,
Channel=16,
Outgoing Packet Size=512,
Incoming Packet Size=512,
Outgoing Window Size=3,
Incoming Window Size=3,
Reverse Charging=False,
Redirect Reason=Not Redirected,
Fast Select=Not Specified,
DTE Class=XOT-DTE_CLASS-0,
Now I have a next problem: I use 9910009922 as a X.25 address of the remote DTE,
but I'm need to use a some name, for example ZSS_135. In C code:
Work now:
...
#define REMDTE "79910009922"
} ncb = { { sizeof(struct rem_dte), psi$c_ncb_remdte,
sizeof(ncb.rem_dte.s),
REMDTE },
{ sizeof(struct template), psi$c_ncb_template,
sizeof(ncb.template.s),
TEMPLATE }
...
When I use :
#define REMDTE "ZSS_135"
I got the "%SYSTEM-F-BADPARAM, bad parameter value"
26410: status = sys$qiow( 0, x25_channel, IO$_ACCESS, /* funtion is make call */
26411: &iosb, 0, 0, 0, &ncb_desc, /* call NCB descriptor */
26412: 0, 0, 0, 0);
26413: check_status(status);
26414: check_status(iosb.iosb$w_status);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2016 08:32 AM
тАО02-20-2016 08:32 AM
Re: X.25, XOT, programming question
So find out whether that call supports a translation. If it does not тАФ and you have some evidence that either it doesn't, or that something isn't set up correctly within the local X.25 PSI configuration тАФ then do a DNS translation for an X25 record тАФ or for however you're storing your address translations тАФ and then feed that translation into the call.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2016 03:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2016 06:39 AM
тАО02-29-2016 06:39 AM
Re: X.25, XOT, programming question
As far as logical name translation is concerned, the logical name table OSIT$NAMES can play an important role within the X.25 product. Hopefully you have all the infos.
John