Date: Mon, 4 Nov 1996 12:34:00 -0800
Reply-To: Kunling Lu <HPSKLL@NCAL.KAIPERM.ORG>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Kunling Lu <HPSKLL@NCAL.KAIPERM.ORG>
Subject: WRITE PDS TO sas FILE
We know that in SAS batch when we write out a SAS file, and later do a "proc
contents" we could tell which SAS program created the SAS file. Usually the
SAS program is stored in a PDS. With many SAS files and similar names it
would be helpful that SAS could have a way to write out the PDS also. For
example, MEMBER is stored at "KUNLING.PROJECT.PGM", I submitted the MEMBER
file to create a SAS file called MEMBER and stored in "KUNLING.MEMBER.SASDATA"
SAS PDS file. When I do a "proc contents" on the MEMBER, I can tell it is
created by MEMBER (or whatever the JOBNAME is in the JCL) since the CONTENTS
has a "CREATED BY: " that lists the jobname. Now instead of having this
short name "MEMBER", could I have "KUNLING.PROJECT.PGM(MEMBER)" listed by the
"CREATED BY: "?