- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Lexical F$FAO '!%S' Not Working?
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
тАО10-18-2005 11:47 PM
тАО10-18-2005 11:47 PM
If CHECK is '1' then surely it should drop the 's'?
Rob.
GAMMA_ROB$$ $ CHECK = 1
GAMMA_ROB$$ $ IF CHECK THEN WS F$FAO(" file!%S with differences found",CHECK)
files with differences found
GAMMA_ROB$$ $ IF .NOT. CHECK THEN WS F$FAO(" file!%S with differences found",CHECK)
GAMMA_ROB$$ CHECK = 2
GAMMA_ROB$$ $ IF CHECK THEN WS F$FAO(" file!%S with differences found",CHECK)
GAMMA_ROB$$ $ IF .NOT. CHECK THEN WS F$FAO(" file!%S with differences found",CHECK)
files with differences found
GAMMA_ROB$$
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 12:28 AM
тАО10-19-2005 12:28 AM
Re: Lexical F$FAO '!%S' Not Working?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 12:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 01:03 AM
тАО10-19-2005 01:03 AM
Re: Lexical F$FAO '!%S' Not Working?
I am not sure why the doc specifies %S.
Probably because in $FAO you have can use various numeric formats, and you have to specify which one as the second char of the "%S" argument.
But in DCL nemeric values ARE longwords, so your only choice IS %SL
The documentation could be clearer, but looking at the example helps a lot.
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 01:22 AM
тАО10-19-2005 01:22 AM
Re: Lexical F$FAO '!%S' Not Working?
I read the bit about 'the most recently converted number' in help, but it wasn't very clear about what this meant.
I now see how this is applied.
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2005 05:08 PM
тАО10-19-2005 05:08 PM
Re: Lexical F$FAO '!%S' Not Working?
>F$FAO("!SL file!%S with differences >found",CHECK)
If you dont want to display the number:
F$FAO("!0SLfile!%S with differences found",CHECK)
It's converting the number and trimming to zero width.