DeHulk
First of all L MD10 is the wrong syntax, they are F's in Step 5 not M's
So you would need to use:-
L FD10
T DD26
There are two OB's that do the job for you, OB190 and OB191, they transfer a Flag area to a DB area.
For example:-
C DB10 //open DB 10, DB where flags are to be moved to
L KY 0,100 //This will load flag area, FY 0(byte) to FY 100
L KB 100 //The address of the starting byte in DB where data is to be moved to.
JU OB190
To address the bit in the DB, you would use the following:-
C DB10
A D26.9
O D26.10
AN D26.11
ON D26.12
etc, etc
Paul