- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: HP BASIC & $XABFHCDEF
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
Forums
Discussions
Discussions
Discussions
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
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
03-05-2008 10:27 AM
03-05-2008 10:27 AM
On an Alpha, I have a program that does
%INCLUDE "$XABDEF" %FROM %LIBRARY "SYS$LIBRARY:BASIC$STARLET.TLB"
and later does
FHCXAB(I)::XAB$B_COD = XAB$C_FHC
When I compile on itanium, the reference to XAB$C_FHC fails as the constant is not declared.
On itanium, I see the value declared in $XABFHCDEF in SYS$LIBRARY:BASIC$STARTLET.TBL. I figure I could do something like:
%IF %DECLARED(%xyzzy)=0 %THEN
%INCLUDE "$XABDEF" %FROM %LIBRARY "SYS$LIBRARY:BASIC$STARLET.TLB"
%END %IF
But I don't know what "%xyzzy" should be. Any suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2008 11:03 AM
03-05-2008 11:03 AM
Re: HP BASIC & $XABFHCDEF
What are the versions on BOTH Alpha and Itanium? That sounds like a problem that should be reported.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2008 11:53 AM
03-05-2008 11:53 AM
Re: HP BASIC & $XABFHCDEF
Please report this so we can track it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2008 02:27 PM
03-05-2008 02:27 PM
Re: HP BASIC & $XABFHCDEF
Alpha VMS Version = OpenVMS V7.3-2
Itanium VMS Version= OpenVMS V8.3
John,
Indeed there is a big difference between the sizes of $XABDEF on our Alpha 7.3 vs our Itanium 8.3. I'll get a case open with the support team. But I suspect now, I need a way to distinguish with a compiler directive, which version of VMS is being used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2008 03:00 PM
03-05-2008 03:00 PM
Re: HP BASIC & $XABFHCDEF
I'm no BASIC user, but if it's possible to
determine directly whether the item in
question is defined/declared/whatever, then
I'd do that instead of trying to deduce it
from the VMS or compiler version.
In this case, can't you include both modules
to be sure of getting the critical item? (Or
am I missing the point (as often happens)?)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2008 03:38 PM
03-05-2008 03:38 PM
Re: HP BASIC & $XABFHCDEF
I would recommend just using an %INCLUDE with a logical name.
I would not be shocked if a patch comes out on this one in a relatively short time. In that case, it would be bad to discover that major edits are needed to put things back.
Another possibility, that you can confirm for yourself, is to print out the 7.3-2 and the 8.3 definitions and check if the difference is significant. If there are no real differences, just copy the 7.3-2 TLB to an alternate directory, and define SYS$LIBRARY as a process logical name to pre-pend the additional directory to the search path. That will solve the problem without ANY source changes. It will also be straightforward to remove when the problem is resolved through support.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2008 04:06 PM
03-05-2008 04:06 PM
SolutionI don't think it is a 'problem' but I'll be happy to be proven wrong.
In the VERY old days (pre V7) the OpenVMS shipped a humongo XABDEF to capture all XABs. Best I know that had long since been change to this HORRIBLE contruct of a shared XABDEF for the header fields (BNL,COD,NXT) and individual XABxxxDEFs for the details.
So now you need a VARIANT or a COMMON to map the begin and the end. I never liked that. Too tedious.
Have google groups search comp.os.vms for "hein xabdef basic" and you'll see a 2007 topic about that. Ditto try google:hein basic xabdef +site:itrc.hp.com
I suspect someone 'helped' the V73.2 system to an Old Basic compiler Startlet to solve a problem back then.
Note... the V8.3 XABFHC is of course different in that it defines the new GBC fields. The old definition will still work.
ready to be proven wrong...
Regards,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 02:03 PM
03-10-2008 02:03 PM
Re: HP BASIC & $XABFHCDEF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2008 02:32 PM
03-10-2008 02:32 PM
Re: HP BASIC & $XABFHCDEF
TURRIS::DECBASIC:254
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2008 09:58 AM
03-13-2008 09:58 AM
Re: HP BASIC & $XABFHCDEF
$ TY TMP.BAS
%INCLUDE "$XABDEF" %FROM %LIBRARY "SYS$LIBRARY:BASIC$STARLET.TLB"
%INCLUDE "$XABFHCDEF" %FROM %LIBRARY "SYS$LIBRARY:BASIC$STARLET.TLB"
CU6: BAS TMP
%INCLUDE "$XABFHCDEF" %FROM %LIBRARY "SYS$LIBRARY:BASIC$STARLET.TLB"
.................^
%BASIC-E-ERRACCLIB, error accessing module $XABFHCDEF in text library SYS$LIBRAR
Y:BASIC$STARLET.TLB
-BASIC-E-KEYNOTFND, key not found
at line number 2 in file MBR_DISK:[CU6]TMP.BAS;3
%BASIC-E-ENDNOOBJ, MBR_DISK:[CU6]TMP.BAS;3 completed with 1 diagnostic - object
deleted
/SWITCHES=NOAUTOCOMP not used - is it misspelled?
(This warning can be suppressed with /SWITCH=NO_UNUSED_SWIDMP)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2008 01:14 PM
03-13-2008 01:14 PM
Re: HP BASIC & $XABFHCDEF
No there are not... read on.
>>> in this shop if I could in Basic distinguish between Alpha and Itanium,
No you should not.
>> I could have $XABDEFFHC included conditionally.
You should be able to include is unconditionally.
There is an XABDEFFHC on for the version of OpenVMS since 7.3-X / DECbasic 1.3 on Alpha, as well as on Itanium.
If there is not one om the particular Alpha system which is being used then is is 99.99% certain to be non-standard, out-of-date library and placed there explicitly.
You can do the exact same thing on Itanium. That would not be a bad thing to do. No worse then the Alpha situation today. There is NO platform dependencies in XAB(FHC)DEF for Alpha/Itanium. They are exactly the same, both conforming to the RMS defitions which are the same.
>> The following two-line program compiles fine on our Itanium; but fails to compile on our Alpha.
The operative word is *our*.
It will work on any other Alpha.
Best regards,
Hein van den Heuvel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2008 02:40 PM
05-23-2008 02:40 PM
Re: HP BASIC & $XABFHCDEF
I'm not sure if this option is shown when installing on a VMS 8.3 machine; where BASIC$STARLET is distributed with OpenVMS.
Somewhere along the line, some coding changes needed to be made with the compiler upgrade.