Can someone please help me with the following:
I am in an edit session on PDS(MEM)
I key my macro command - MAC1
MAC1 does
.
.
.
ADDRESS ISREDIT "SAVE"
ADDRESS ISREDIT "END"
ALLOC FI(F1) DA(PDS(MEM)
ALLOC FI...
"CALL *(PGM1)" /* this works fine */
Pgm1 will make changes to PDS(MEM)
I then want to do something like:
ADDRESS ISPEXEC "EDIT DATASET('PDS(MEM)')"
The problem is that at this point I get
**********************************************************
* ISRE093 *
* *
*Member in use *
* Member is being updated by you or another user. *
... the user is me.
I have tried many different scenarios:
FREE
LMCLOSE
etc
I am in an edit session on PDS(MEM)
I key my macro command - MAC1
MAC1 does
.
.
.
ADDRESS ISREDIT "SAVE"
ADDRESS ISREDIT "END"
ALLOC FI(F1) DA(PDS(MEM)
ALLOC FI...
"CALL *(PGM1)" /* this works fine */
Pgm1 will make changes to PDS(MEM)
I then want to do something like:
ADDRESS ISPEXEC "EDIT DATASET('PDS(MEM)')"
The problem is that at this point I get
**********************************************************
* ISRE093 *
* *
*Member in use *
* Member is being updated by you or another user. *
... the user is me.
I have tried many different scenarios:
FREE
LMCLOSE
etc