- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: F$FAO tutorial
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
тАО07-23-2007 08:52 PM
тАО07-23-2007 08:52 PM
F$FAO tutorial
Is there a GOOD, FREE f$fao tutorial on the net ? That explains ALL options.
BTW : why are the !DD directive interpreted correctly only when DD is in uppercase ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 09:30 PM
тАО07-23-2007 09:30 PM
Re: F$FAO tutorial
Wim,
May we assume you read the full description in the system service reference manual?
http://h71000.www7.hp.com/doc/732FINAL/4527/4527pro_003.html#ssr_fao_directives
That page also has a big fat NOTE saying:
" When the characters of the $FAO directive are alphabetic, they must be uppercase. "
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 09:40 PM
тАО07-23-2007 09:40 PM
Re: F$FAO tutorial
Sorry but I mean the lexical. But will take a look at the system service too.
I know the note but I don't know why this was done. Programmer power ? To be compatible ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2007 09:55 PM
тАО07-23-2007 09:55 PM
Re: F$FAO tutorial
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 02:59 AM
тАО07-24-2007 02:59 AM
Re: F$FAO tutorial
There are a number of lexical functions that are jackets. Which means you end up looking at the system service description.
As for on-line DCL resources, start here: http://www.kgbreport.com/dcl.html
Kevin Barkes wrote a series of articles on DCL a decade back, and they're now posted. And there's the Writing Real Programs in DCL, 2nd ed., book that I wrote; it's out of print and apparently still popular; locating a copy probably won't meet your "free" requirement.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2007 03:17 AM
тАО07-24-2007 03:17 AM
Re: F$FAO tutorial
>> Is there a GOOD, FREE f$fao tutorial on the net ? That explains ALL options.
Yes, the system service reference manual, and the dcl help. No more no less.
F$FAO is just a 10 line shell around SYS$FAO.
No added value other then figuring out whether to pass the variable by descriptor or by reference based on whether is was a string or an integer.
As you suspect, several conversion are thus of little or no value or require trickery to get to. The DCL help appropriatly omits those. Really the only one of those omitted which has been put to good mis-use is the !AD as a round-about way to get a binary date argument passed.
>>why are the !DD directive interpreted correctly only when DD is in uppercase ?
Why not? This stuff was written 20+ (30!) years ago when every byte counted, even just a bit-clear. The module has only been touched (10+ years ago) for 64 bit support. It is easier, cheaper, to program for uppercase only, back than and now still. And it marginally enhances the readability of the control strong for humanoids IMHO.
For SYS$FAO there is clearly no end user usage, just system programmers, so why not just uppercase.
For F$FAO the lower case is slightly more desirable (I know I have done this wrong accidently), but for DCL to fix it, it woudl have a hard time parsing the control string to find out what to uppercase.
[Je zegt wellicht... het gemak dienst de mens, maar ik vind in dit geval uppercase een heel redelijke eis)
>> I understand that in a program you can convert the *words but in DCL ?
They are just not useful, but so what?
Too much work and no reason (imho) to explicitly prohibit them from a control string to DCL.
Groet,
Hein.