Copy names of PS files to a single PS file.
Posted: Thu Dec 05, 2013 8:51 pm
Hi All,
May I know how can I copy JUST name of PS files (around 365) to another PS files. Just names needed not the content required.
Eg: We have PS files like
SYSD.SYSLOG.SP2.Dmmddyy , if generic SYSD.SYSLOG.SP2.D*13
So I wan to copy just name of all daily SYSLOG (for year 2013) to another PS file.
So if I goto 3.4 Option and list SYSD.SYSLOG.SP2.D*13 , it will out put all the SYSLOG files for year 2013. I need to copy this out put (only name) to another PS files usning JCL or any other technique (REXX).
Can some one help me on this.
Thanks,
Aby
May I know how can I copy JUST name of PS files (around 365) to another PS files. Just names needed not the content required.
Eg: We have PS files like
SYSD.SYSLOG.SP2.Dmmddyy , if generic SYSD.SYSLOG.SP2.D*13
So I wan to copy just name of all daily SYSLOG (for year 2013) to another PS file.
So if I goto 3.4 Option and list SYSD.SYSLOG.SP2.D*13 , it will out put all the SYSLOG files for year 2013. I need to copy this out put (only name) to another PS files usning JCL or any other technique (REXX).
Can some one help me on this.
Thanks,
Aby