Q-About Archive Command

Document ID : KB000106203
Last Modified Date : 12/07/2018
Show Technical Document Details
Question:
Hi, for the ARCHIVE command, what happens if a member for an ID already exists in the PDS and you issue another ARCHIVE command for the same ID? Is the member overlaid, does the command fail, does an abend occur? 
Answer:
If a member for an ID already exists in the PDS and you issue another ARCHIVE command for the same ID, the existing member is overlaid. The first line of the member contains the date and time the output was stored. For example: 

/*ARCHIVE acid STORED mm/dd/yy-hh.mm.ss BY adminacid ON ssid