file check on IO

Bernd Becker bernd.becker at METOFFICE.GOV.UK
Mon Feb 2 11:09:16 EST 2009


Hello,

if I wanted to catch trying to open a non existing file,
what do I need?

'sdfopen 'filename

* if sdfopen fails, try something else.

I tried rc='sdfopen ' filename
and other things but to avail.

Thanks!


Bernd

--
Bernd Becker   The Monthly Outlook
Met Office  FitzRoy Road  Exeter   Devon EX1 3PB  United Kingdom
Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
E-mail:bernd.becker at metoffice.com  -  http://www.metoffice.com



More information about the gradsusr mailing list