Guessing your SAS operating system is z/OS (IBM mainframe) and you want to stow a unique PDS/PDSE library member, based on data content. Review using the FILEVAR= keyword on the FILE statement.
For future posts, it's best to share as much info about your SAS environment, with version, operating system, local or remote SAS installed/accessed, new code / program or existing, and as you have done, share all code, though preferably as a pasted content from your SAS-generated log output.
Scott Barry
SBBWorks, Inc.
Suggested Google advanced search arguments, this topic/post:
data step filevar site:sas.com
data step file statement filevar write pds member site:sas.com
Message was edited by: sbb