- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- Pascal compilation
-
- Forums
-
- 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, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
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
-
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
- Email to a Friend
- Report Inappropriate Content
11-27-2007 10:10 PM
11-27-2007 10:10 PM
PASCAL /DEBUG /NOOPT/NODIA xxx.pas
[INHERIT ('sys$library:decw$motif',
...........^
%PASCAL-F-FNF, file not found
at line number 1 in file xxx.pas
PASCAL /DEBUG /NOOPT/NODIA xxx2.pas
[INHERIT ('sys$library:decw$motif.pas',
...........^
%PASCAL-F-IVENVIRON, Environment sys$library:decw$motif.pas has illegal format, source analysis terminated
at line number 1 in file xxx2.pas
The file sys$library:decw$motif.pas exists and was created in 1993 according to the comments.
It appears that Environment files now have different formats. How do I procede.
Mark
Solved! Go to Solution.
- Tags:
- Pascal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-27-2007 10:48 PM
11-27-2007 10:48 PM
Re: Pascal compilation
This can be created with PASCAL/NOOBJECT/ENVIRONMENT.
PASCAL
Attributes
INHERIT
The INHERIT attribute indicates the environment file or files to
be inherited by a compilation unit. The environment files
specified by the INHERIT attribute must already have been
created in compilation units (by either the ENVIRONMENT
attribute or a compilation switch).
Syntax:
INHERIT( {name-string},... )
The compilation unit inherits one or more environment files
named by the file specifications in the name strings. The
default file type for an inherited environment file is .PEN.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-28-2007 12:32 AM
11-28-2007 12:32 AM
SolutionIf I recall correctly, I ran into the same problem some years back. Apparently, when installing the PASCAL compiler, (some of) the necessary environment files are not generated from the source files.
As Karl hinted, you can brew your own by:
PASCAL/NOOBJECT/ENVIRONMENT sys$library:decw$motif.pas
This should give you a valid .PEN file that you can put in SYS$COMMON:[SYSLIB].
Regards,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-28-2007 01:42 AM
11-28-2007 01:42 AM
Re: Pascal compilation
$ pascal /noobj/env=sys$common:[syslib] sys$library:decw$motif.pas
BTW, the INHERIT attribute does not process .PAS source files, but only precompiled PEN files created with the /ENV qualifier. The formats for PEN files (at least on the same architecture) are upwards compatible. Newer compilers will always be able to handle old PEN files. As a point of trivia, I haven't changed the format since 1996.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-28-2007 02:15 AM
11-28-2007 02:15 AM
Re: Pascal compilation
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP