bdfs1m0aStructured Programming Macros

Structured Programming Macros Introduction

The TPF Database Facility structured programming macros (SPMs) and Transaction Processing Facility (TPF) SPMs are used to add structured programming verbs to existing assembler language. Both sets of SPMs provide the basic structured programming constructions, such as:

In addition, the TPFDF SPMs include some additional functions, such as macros that allow you to convert between data types. See TPFDF Structured Programming Macros General Information for more information about the additional functions that are included with the TPFDF SPMs.

Recommendations for TPF Application Programmers

  • The TPFDF SPMs offer more functions and, in many cases, are easier to use. If you do not already have application programs that are written using the TPF SPMs, consider using only the TPFDF SPMs.
  • If you do use both sets, avoid mixing the TPFDF SPMs and the TPF SPMs in one application program.