- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- X.25, XOT, programming question
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP