Skip to content

Mock a CICS file read and raise a condition

Dave Nicolette edited this page Dec 17, 2020 · 11 revisions

Home -> User Guide -> Common Testing Scenarios ->

    MOCK CICS DATASET 'THEFILENAME' 
        ON READ INTO WS-RECORD
            MOVE NOTFND TO EIBRESP
    END-MOCK
    PERFORM PARAGRAPH-UNDER-TEST
    EXPECT EIBRESP TO BE NOTFND
Clone this wiki locally