Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable set file limit from C-programm

 
Hein van den Heuvel
Honored Contributor

Re: Unable set file limit from C-programm

 

Hartmut wrote...

 

if (status & 1)
        status = iosb.iosb$w_status;
    if (!(status & 1))
        return status;
    
 

 

That's exactly the one of the many changes I was going to make. Verbatim

 

All those stupid fancy - shmancey (sp?) macros serve nothing other then obfusicate the core code itself.

3 potential calls to DASSGN when one is always executed? Bletch.

 

I left it to make it easier to compare before-after for the OP.

Cheers,

Hein

 

Dmitriy_21
Occasional Advisor

Re: Unable set file limit from C-programm

Thanks every one for your help!

With appropriate headers program is working as excpected.