Like CREATE-LIKE(), the CREATE-LIKE-SEQUENTIAL() method creates a table like another existing database table or temp-table. However, unlike CREATE-LIKE(), which creates temp-table fields in metaschema _field._rpos order (POSITION order in the .df schema definition file) of the source table’s fields, this method creates fields in _field._order order.

You do not have to choose between listing fields individually in the DEFINE TEMP-TABLE statement, or using CREATE-LIKE(), and then sending the ORDER list to unscramble the fields. CREATE-LIKE-SEQUENTIAL() uses the field order as defined in the Data Dictionary. You can guarantee agreement of temp-table field order between any client and any application server by using CREATE-LIKE-SEQUENTIAL(), as long as the metaschema _field._order values are the same on both sides.