This will update the order cycle for a supplier and log the change. 

BOTH            K3SOBJ            'K3S Object library'            10A
BOTH            COMP              'Company'                        1A
BOTH            COMPCOD           'Company code'                   3A
BOTH            USER              'User calling the program'      10A
BOTH            ERRORS            'Error indicator'                1A
BOTH            ERRMSG            'Error message'                100A
BOTH            ERRFIELD          'Field in error'                20A
BOTH            IDBUYR            'ID Buyer'                       5A
BOTH            IDLOCN            'ID location'                    5A
BOTH            IDSUPL            'ID supplier'                   10A
BOTH            IDSUPLSUB         'ID sub supplier'               10A
BOTH            IDSOQSEQN         'ID sugg order sequence #'       5  0 
BOTH            SBNEWORCYC        'New order cycle value'          3  0