On 2020-05-16, at 14:20:04, Charles Mills wrote: > > *Should* work. Open an RCF if you feel inclined. > For z390?
> [label] CLOSE ([dcb address,],[option],...) > [,TYPE=T] > [,MF=L > [,MODE=24|31] > > That shows the "stuff" inside the parentheses as optional. Well, I guess not > the comma. If you felt inclined you could try CLOSE (,),MF=L. > > Actually the doc is surely wrong. It shows two commas if you code the DCB > address: CLOSE (MYDCB,,option) > And one comma if dcb-address is omitted. Long ago, we were converting from an IBM assembler to a cross assembler. It reported a syntax error on a PRINT instruction with multiple superfluous commas that had silently been accepted by the IBM assembler. The IBM Ref. syntax did not allow empty operands. I went to SR (or was about to) for unreported syntax error when an experienced co-worker told me, "It's always worked that way; everybody knows." The ISV modified the cross assembler to disagree with the IBM doc. -- gil
