c_getout - Returns the host filenames of output images

SYNTAX

#include "las.h"
#include "util.h"
#include "alias.h"
#include "labserv.h"
int c_getout

(
     struct PARBLK      *vblock,
     char               *param,
     char               taeout[][CMLEN],
     char               hostout[][CMLEN]
)

PARAMETERS

vblock (input, PARBLK)

TAE parameter block passed by reference.

param (input, character, length (*))

Defines the parameter name in the proc which contains the output image specification. In most cases the value of this parameter is OUT.

taeout (output, character, length (*)(CMLEN))

A two dimensional array which contains the names of the output images specified in parameter param. The output file names are the same as the hostout parameter. This parameter is obsolete. It remains in this routine to prevent having to go back and modify all applications to not use it anymore.

hostout (output, character, length (*)(CMLEN))

A two dimensional array which contains the host names of the output images specified in parameter param.

DESCRIPTION

The getout() routine is used to return the TAE and host filenames of the output image specification. It checks to make sure the files do not exist. E_FAIL is returned if an image file already exists on disk.

RETURN VALUE

c_getout() returns

     E_SUCC (0)  --> successful completion
     E_FAIL (-1) --> operation failed

This routine is obsolete and all new applications should use c_get_multiple_outs() instead.