- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- DECforms example
Operating System - OpenVMS
1752861
Members
4022
Online
108791
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО12-31-2009 06:42 PM
тАО12-31-2009 06:42 PM
DECforms example
Hello, looking help /assist / example other than what is in the documentation. I have a flat file that I am trying to set up a DECforms Fortran program to maintain. It is very simple: six fields, up to 40 records, 10 displayed. I'm looking for simple Add/Change/Delete or just Add/Delete functionality. Don't know how to read all records into the form, maintain them, and then write them back to the file. Any assistance would be appreciated.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2009 08:07 PM
тАО12-31-2009 08:07 PM
Re: DECforms example
Did you check the examples DECforms provides in just about any language imaginable, Fortran included?
Check under SYS$HELP
There should be a FORMS.DIR under there.
Define FORMS$EXAMPLE to point there.
run form$checking
Check th review - register selection.
That should be close to your request.
Now examine the sources behind that.
If you have specific questions after that, then be sure to come back with details, preferably using terms from the demo example to help us understand your thinking quicker.
Note, a typical OpenVMS application would use file where each record can be addressed by a key. Most likely an INDEXED file, but sometimes a RELATIVE file or fixed length record sequential. Such application might read all records into a form, but would NOT write them all back, but only UPDATE (keyed write) the changed ones, allowing sharing to the file all along.
Admittedly if the scope is limited to 40, or anything under 4,000 records in a standalone environment, then a simple full read and full write could be rather efficient.
The write would typically create a new version of the output file, but could overwrite.
Good luck!
Hein van den Heuvel
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2009 09:32 PM
тАО12-31-2009 09:32 PM
Re: DECforms example
Hein,
As a matter of fact, I did consult the online examples. The checking app is a single point of entry (either as a deposit or a check) and the display of the register does not allow for Add/Chg/Del. The other app (Mileage) does not allow for Add/Chg/Del in the , just add.
A flat file is the same as a sequential text. I have developed in the Vax environment for 20+ years, and the screen input was through in-house programs. I am trying to do this with DECforms, since I no longer have access to what I have used in the past.
+---------------------------------+
| xxxx xxxxx xxxxx xxxxxxxxxx |
| xxxx xxxxx xxxxx xxxxxxxxxx |
| xxxx xxxxx xxxxx xxxxxxxxxx |
| |
+---------------------------------+
Kind of like the second screen used in the Mileage app, but I want to be able to add a record inside the box, change or delete a record, and then re-write the flat file. Just looking for the mechanisms to do this. The examples do not cover this.
Thanks
As a matter of fact, I did consult the online examples. The checking app is a single point of entry (either as a deposit or a check) and the display of the register does not allow for Add/Chg/Del. The other app (Mileage) does not allow for Add/Chg/Del in the , just add.
A flat file is the same as a sequential text. I have developed in the Vax environment for 20+ years, and the screen input was through in-house programs. I am trying to do this with DECforms, since I no longer have access to what I have used in the past.
+---------------------------------+
| xxxx xxxxx xxxxx xxxxxxxxxx |
| xxxx xxxxx xxxxx xxxxxxxxxx |
| xxxx xxxxx xxxxx xxxxxxxxxx |
| |
+---------------------------------+
Kind of like the second screen used in the Mileage app, but I want to be able to add a record inside the box, change or delete a record, and then re-write the flat file. Just looking for the mechanisms to do this. The examples do not cover this.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2009 11:12 PM
тАО12-31-2009 11:12 PM
Re: DECforms example
Hi Kevin,
I *strongly* advise you to skip (at least at barge-pole's length) anything to do with DECforms! Move straight to a browser-fronted UI pass bollocks and collect $200.
Every addition line of IFDL written is another nail in VMS's coffin :-(
Cheers Richard Maher
PS. Happy New Year to everyone and hope you all had a great Christmas!
PPS. This is the year the rot stops!
I *strongly* advise you to skip (at least at barge-pole's length) anything to do with DECforms! Move straight to a browser-fronted UI pass bollocks and collect $200.
Every addition line of IFDL written is another nail in VMS's coffin :-(
Cheers Richard Maher
PS. Happy New Year to everyone and hope you all had a great Christmas!
PPS. This is the year the rot stops!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP