Sign in

docs RPG Reference

Equivalent Free-form Coding for Subfield Entries

Equivalent Free-form Coding for Subfield Entries

Table 1. Free-form equivalents for fixed-form externally-described subfield entries

Fixed-form-entryFree-form equivalent
ExternalEXTFLD keyword specified as the first keyword

Table 2. Free-form equivalents for fixed-form program-described subfield entries

Fixed-form-entryFree-form equivalent
From with numeric valuePOS keyword
From with special value such as *STATUSSpecify the special value in place of the data type keyword
ToThere is no exact equivalent. The end-position of the subfield is determined from the POS keyword combined with the length of the item
Length, Internal data type, and Decimal Positions entriesSee Equivalent Free-form Coding for Standalone Field Entries