fdds_openm - open mapping to output binary data from input


SYNOPSIS

#include <fdds.h> (fixed-format sources)
#include <f90dds.h> (free-format sources)

integer fdds_openm(out_bin, out_field, in_bin, in_field)

integer out_bin
integer out_field
integer in_bin
integer in_field

DESCRIPTION

This function sets up the mapping definition required to map data from one binary (in_bin) to another (out_bin). Specific fields within each binary are defined by in_field and out_field. If either is zero, then they will default to the SEQUENCE (trace).

A normal mapping will be setup for simple trace-trace processing, in which case this call may not be required.

OUTPUT

A 0 value is returned for normal completion. Otherwise, EOF will be returned.

EXAMPLES

      integer in_bin, out_bin
      ...
      ier=fdds_openm(out_bin, 0, in_bin, 0)
      ...
    

SEE ALSO

fdds_open   Open a binary stream
fdds_readm  Read and map binary data
fdds_writem Map and write binary data
    

AUTHOR

Jerry Ehlers, BP America (May 2003)