Victor, this should be a new topic, not a continuation of an entirely unrelated topic. For VSAM data sets, you can use the LISTCAT command in the IDCAMS utility. You can use LISTCAT for cataloged non-VSAM data sets, but all you'll get is the date the catalog entry was created, which may not have anything to do with when the data set itself was created.
For data sets on disk, the creation date is stored in the VTOC entry for the data sets. The HISTORY option in the TSO LISTDS command can be used to retrieve the creation date, and it can be retrieved by batch utilities like the LISTVTOC command in IEHLIST. The output from LISTDS looks like this:
SYS1.MACLIB
--RECFM-LRECL-BLKSIZE-DSORG-CREATED---EXPIRES---SECURITY
FB 80 6160 PO 2001.093 00.000 RACF
--VOLUMES--
Z6RES1
For data sets on tape, the creation date is stored in the label on the tape. The tape management system also stores this date, and it is usually the most convenient way to get the creation date. Since there are several tape management systems, you will have to consult with your site management to determine the method you should use. As with disk data sets, you can use the LISTCAT command if the data set is cataloged, though the date may not have anything to do with when the data set itself was created.