getout - Returns the TAE and host filenames of output image

SYNTAX

#include "las.h"

FUNCTION c_getout (block, param, tname, hname)

     struct PARBLK      *block;
     char               *param;
     char               *tname;
     char               *hname;

PARAMETERS

block (input, PARBLK)

TAE parameter block passed by reference. It is assumed that TAE has been initialized prior to calling c_getin().

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.

tname (output, character, length (CMLEN))

Character string which contains the TAE name of the output image specified in parameter param.

hname (output, character, length (CMLEN))

Character string which contains the hostname of the output image 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 file does not exist.

RETURN VALUE

c_getout() returns

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

The routine may output other informational error messages.