Open neopragma opened 9 years ago
This works:
MOCK CICS READ DATASET('SOMEFILE') RIDFLD('THEKEY') INTO(WS-RECORD) LENGTH(WS-RECLEN) MOVE 5 TO EIBRCODE END-MOCK
but this would be more revealing of intent:
MOCK CICS READ DATASET('SOMEFILE') RIDFLD('THEKEY') INTO(WS-RECORD) LENGTH(WS-RECLEN) RAISE NOTOPEN or RAISE NOTOPEN CONDITION or CONDITION IS NOTOPEN (etc.) END-MOCK
This works:
but this would be more revealing of intent: