Hi Alex - I have taken a look at the log - and I have a few questions - first let me see if I understand scenario and log contents:
PMOND017 - does some work - we do not see if it has done any DML or if a run unit is bound
PMOND017 - LINK to PTELD860 - are there any "options" on the lINK command?
- we do not see if there is a "Currency Save for PMOND017 at Link Level 000000?
-------------- 1st Pass through we start to see output from the log at this point
PTELD860 - Obtain
PTELD860 - Obtain
PTELD860 - FRMTPART - Goback
PTELD860 - RETURN
PMOND017 - Finish
PMOND017 - Bind/Ready sequence
PMOND017 - Currency Restore + Release performed by ADS (preceding commmands in support of 1st DML statement)
PMOND017 - OBTAIN calc PM-PART-REC
PMOND017 - "other" commands
PMOND017 - OBTAIN calc PT-VENDOR-REC
---------------- Log output missing
PMOND017 - does some more work - presumably
PMOND017 - LINK to PTELD860 - are there any "options" on the lINK command?
- we do not see if there is a Currency Save for PMOND017
---------------- 2nd pass through - we start to see output from the log at this point
PTELD860 - Obtain
PTELD860 - Obtain
PTELD860 - FRMTPART - Goback
PTELD860 - RETURN
PMOND017 - Finish
PMOND017 - Bind/Ready sequence
PMOND017 - Currency Restore + Release performed by ADS (preceding commmands in support of 1st DML statement)
PMOND017 - OBTAIN calc PM-PART-REC
PMOND017 - Currencies SAVED for dialog PMOND017 - I don't understand why this is here! Is there some DML command not shown? A "link" we don't see?
PMOND017 - BIND REC PARTS-CONTROL - 0077 - Run Unit not bound or bound twice ---->
Well - there's something mysterious happening here! Do you have any SAVE / NOSAVE other options on any LINK commands? Are there any other dialogs involved in the thread that use the same subschema as PMOND017? Do they reference different records or the same records as PMOND017?
I have seen a problem in the past where there is a record that is not referenced in code not being bound and then that causes a problem - EVENTUALL - perhaps put a "Move" or "Initialise" for the PARTS-CONTROL record in amongst the first statements that PMOND017 executes BEFORE the LINK to PTELD860 - so that ADS knows that you will be referencing the record later on!
Not much help I know - but maybe there is something useful in the questions or suggestions?
Take care - cheers - GaryC