Copybook data characteristics

Each resource table that can be processed by an API program contains data values for each of its attributes.

The attribute values are presented in an internal format that is appropriate for the data type and the environment in which the program is running:
  • Standard System/390 data formats are used. No translation or formatting operations are performed on the attribute values.
  • For programs written in C, variable-length character fields do not contain the zero-byte ending delimiter.
  • The lengths of all resource table records are a multiple of 8 bytes. Each copy book contains a definition of the resource table length.
  • System/390 boundary alignments are observed for all data types. That means all resource table records are maintained internally starting on doubleword-aligned storage locations. Alignment fields are automatically generated in each copy book. These alignment fields, which contain binary zeros, have names like:
      EYU_RSVnnnn

    Make sure the data areas your program uses to send and receive resource table records have proper boundary alignment.



eyup1bx.html | Timestamp icon Last updated: Sunday, 4 June 2017