NWEndOfJob(3nw)


NWEndOfJob -- causes end-of-job to be issued by PC Shell

Synopsis

   #include <nwmisc.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWEndOfJob (void);

Return Values

0x0000
SUCCESSFUL

Remarks

An end-of-job is automatically issued by the PC Shell whenever a program exits unless NWEndOfJob has been disabled by a call to NWSetEndOfJobStatus. When an end-of-job occurs, all locked files and records are cleared and any open files are closed.

NWEndOfJob can be called anytime the program needs the network environment to return to a beginning-of-program state with no files or records logged or locked.

Services

Miscellaneous

NCP Calls

None
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.