Open a mainframe file in append mode in clist

1 post / 0 new
Anonymous
Open a mainframe file in append mode in clist

Can any one please help me to open a mainframe file in clist in append mode?
 
I know to open a file in output mode we do the following.
 
First we allocate a new file
 
ALLOC DA('&PS') F(OUTFIL) NEW SPACE(20 20) TRACKS RELEASE +
LRECL(80) RECFM(F B) DSORG(PS)
and then we open it using the following
 
OPENFILE OUTFIL OUTPUT
 
I want to open the file such that it can be modified each time its open and does not overwrite what is already written in the file

Sponsored Listing