- 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
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
тАО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)