I'm afraid I didn't pick up on this until just now, but there is another problem in your code snippet: you don't show how you initialize OPENLST. The OPEN macro you show does not set end of OPEN parameter list. Another potential issue is you do not specify a second option after INPUT. Since it's not specified, the macro won't change whatever may be in OPENLST if it's non-zero. Either issue may result in an oops.enrico-sorichetti wrote:... and Yes, I am very picky when it comes to assembler programming ... to avoid surprises I prefer to fill up myself the proper addresses in the <copied> DCBs/DCBEs
for a plain DCB for example
here is my standard <open> sequence...000098 ...
000104 OPEN ((<DCBREG>),(INPUT)),MF=(E,OPENLST)
000107 ...
I had noticed this ages ago. Somewhere around OS/360 R19 there was a PTF that fixed the end of list issue. It didn't last long; I suspected then someone had code like your code to just change the first entry in a multiple entry parm list. Oops. A PE against the PTF.