- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- FAC, record operation not permitted by specified f...
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-15-2007 11:11 PM
тАО03-15-2007 11:11 PM
FAC, record operation not permitted by specified file
Im try to run a program from a command procedure and having a problem providing input in the following ways:
eg1
$DEFINE/USER_MODE SYS$INPUT DATA.TXT
$RUN PROGRAM
$EXIT
eg2
$RUN PROGRAM
1
HELLO
D
F
$EXIT
When i run the command procedure using both methods im getting a Fac,record operation not permitted by specified file.
I looked up the error in the vms systems messages and recovery procedures reference manual (http://www.sysworks.com.au/disk$cddoc04mar21/decw$book/d32vaa95.p127.decw$book)
and is said if the error occurred during execution of an image, verify that the FAC parameter in the FAB indicates the requested type of access
Also it states that If the error occurred during use of the DCL commands,verify that the correct qualifier is specified when the DCL command OPEN is entered to open the file.
Greatly in need of some assistance.
Sincerely,
Mark Vitalis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2007 11:25 PM
тАО03-15-2007 11:25 PM
Re: FAC, record operation not permitted by specified file
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2007 11:29 PM
тАО03-15-2007 11:29 PM
Re: FAC, record operation not permitted by specified file
You can also use $HELP/MESS/FAC=RMS FAC
It's the 3rd one down, as the string FAC has many matches. WHich is why i also gave the explcit facitily
It is probably BROKEN CODE which use SYS$INPUT to do output on. That works for a terminal, but not for a file.
Code inspection recommend.
System call trace may be helpfull, but probably overkill
Regards,
Hein van den Heuvel
HvdH Performance Consulting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2007 01:06 AM
тАО03-16-2007 01:06 AM
Re: FAC, record operation not permitted by specified file
How do yuo go about verifing the file access control parameter in the fab indicating the requested type of access?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2007 01:17 AM
тАО03-16-2007 01:17 AM
Re: FAC, record operation not permitted by specified file
(.rep). That's good to know.
Is there any other output besides the report?
Maybe as sime as 'nnn records processed.'
May we assume the program works nicely when allowed to prompt for input?
More specifically... did it 'prompt'? SMG?
What is the exact mechanisme used for the prompt? What language? What system services?
When the input is coming from a file, where do you suggest the prompt should go to?
>> How do yuo go about verifing the file access control parameter in the fab indicating the requested type of access?
It's best to study what the program does.
For some (few) language you can intercept the RMS calls and display the fab from there.
If you can run interactively, then wait until the last promtt. Now with an other session and big privs (CMKRNL) use ANAL/SYSTEM... SET PROC
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2007 01:49 AM
тАО03-16-2007 01:49 AM
Re: FAC, record operation not permitted by specified file
nicely when input is from the terminal to
the point that i am able to enter input for the various prompts, however I haven├в t run the entire program from the command procedure using terminal input.
When input is from the file the entire process in aborted...and there is a new version of the input file with the first line of input in the form similar to:
12:59_tnd User id>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2007 01:57 AM
тАО03-16-2007 01:57 AM
Re: FAC, record operation not permitted by specified file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2007 02:29 AM
тАО03-16-2007 02:29 AM
Re: FAC, record operation not permitted by specified file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2007 02:43 AM
тАО03-16-2007 02:43 AM
Re: FAC, record operation not permitted by specified file
Ok... now look at the unit number for the terminal IO.
It is using the same (5?) for input and output?
It should use 2 unit/channels.
Did you try the ANAL/RMS ... SHOW PROC/RMS thing?
That should confirm all this.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2007 03:10 AM
тАО03-16-2007 03:10 AM
Re: FAC, record operation not permitted by specified file
I know for sure that 5 is the unit/channel for the input, i can't say for the output, i'll have to check.