comp.lang.ada
 help / color / mirror / Atom feed
* exception in create procedure of DIRECT_IO
@ 2017-02-15 16:50 tomayas11
  2017-02-15 16:54 ` G.B.
  2017-02-16  2:01 ` gautier_niouzes
  0 siblings, 2 replies; 3+ messages in thread
From: tomayas11 @ 2017-02-15 16:50 UTC (permalink / raw)



I work on an application developed in ada dec under ALPHA, open vms (OpenVMS, Alpha, Ada '83).

When I compile all modules By file command ( batch), I have no error message. On the other hand, with data base Number 1, the creation of the binary files is done correctly (Ok). but, with data base Number 2,the creation of binary file is not made (NOK). Thank you if you have any solution proposal.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: exception in create procedure of DIRECT_IO
  2017-02-15 16:50 exception in create procedure of DIRECT_IO tomayas11
@ 2017-02-15 16:54 ` G.B.
  2017-02-16  2:01 ` gautier_niouzes
  1 sibling, 0 replies; 3+ messages in thread
From: G.B. @ 2017-02-15 16:54 UTC (permalink / raw)


On 15/02/2017 17:50, tomayas11@gmail.com wrote:
>
> I work on an application developed in ada dec under ALPHA, open vms (OpenVMS, Alpha, Ada '83).
>
> When I compile all modules By file command ( batch), I have no error message. On the other hand, with data base Number 1, the creation of the binary files is done correctly (Ok). but, with data base Number 2,the creation of binary file is not made (NOK). Thank you if you have any solution proposal.

I take it this is the question that several people
have seen on Stackoverflow recently?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: exception in create procedure of DIRECT_IO
  2017-02-15 16:50 exception in create procedure of DIRECT_IO tomayas11
  2017-02-15 16:54 ` G.B.
@ 2017-02-16  2:01 ` gautier_niouzes
  1 sibling, 0 replies; 3+ messages in thread
From: gautier_niouzes @ 2017-02-16  2:01 UTC (permalink / raw)


Well, obviously there is an exception raised when Direct_IO.Create is called.
Perhaps you are trying to create a file on a read-only device, or with an invalid file name, or the device is full, or the file is already open ?...
It would be helpful to indicate which exception is raised, even to show us the meaningful part of the message - DEC Ada is usually quite verbose...
_________________________ 
Gautier's Ada programming 
http://gautiersblog.blogspot.com/search/label/Ada 
NB: follow the above link for a valid e-mail address 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-16  2:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15 16:50 exception in create procedure of DIRECT_IO tomayas11
2017-02-15 16:54 ` G.B.
2017-02-16  2:01 ` gautier_niouzes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox