I find it astonishing that in the enormous example posted, there is not even the code that shows setting up the ECB_LIST.
Haven't previous posts, weeks ago, in response to this thread (or a precursor) that talked about problems getting the modify command to work talked about things missing from your setup? If so, then those well thought out responses have been ignored. If someone told me that my modify command "works about 1 out of 5 times", I'd assume that I was not dealing properly with modify commands. The code I know of that deals with modify commands uses the EXTRACT and QEDIT macros. I see nothing in the code shown that clears the communication ECB. If clearing an ECB at the top of the loop, you must make sure that you could not incorrectly be clearing an ECB that has been posted in a window. If dealing with an ECB in a loop, you would usually clear the ECB immediately after recognizing that it has been posted and before you have begun doing the processing related to that posting (to cover the case where it might get posted again before you wait). And you must have started out by having the ECB be 0 before it could ever possibly be waited upon or posted. I do not know if your use case has this exposure. Peter Relson z/OS Core Technology Design ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
