View previous topic :: View next topic
|
Author |
Message |
PANDURS
New User
Joined: 23 Jan 2006 Posts: 3
|
|
|
|
I need to delete a sequential dataset based on the creation date. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
OK, a rather trivial task using any number of different methods. What specifically is your question? Is there some code you're having a problem with? |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 632 Location: Wisconsin
|
|
|
|
Do a 3.4 to the set of datasets you want to delete from. Then do a listcat (in my shop we can type LA on the line before a dataset to do this) on each dataset. Read the results of the listcat for the creation date. When you see the date you want to delete, type del on the line before the dataset name.
Problem solved. |
|
Back to top |
|
|
PANDURS
New User
Joined: 23 Jan 2006 Posts: 3
|
|
|
|
Yes, i need to move some data to one region to another region. we will get a data using the Panel and then using Skelton we create one job, which create input file for another job.
The panel is restricted to give input for 10 keys only.we have to do the second time if we have more than 10 key to move for creating a job,
during this first job data get last. we solved this problem using (MOD,CATLG,DELETE).
but now the problem is the data file need to be deleted for the next day. but we are not able to do. |
|
Back to top |
|
|
PANDURS
New User
Joined: 23 Jan 2006 Posts: 3
|
|
|
|
Region A Region B
115 key 100 key
we need to move that 15 key to region B.
We use the panel to get these keys, but panel is restricted to get input for 10 keys. After getting input skelton will create a job for the movement of Key to Region B in a file say ABCD.XXX.XYZ. and we will run another job for movement.
as we have to move 5 more key to region B, again we use the same panel to get the another 5 key data and then skelton will create job for the movement of key to region b in a new file ABCD.XXX.XYZ, we used DCB parameter as (MOD,CATLG,DELETE) to retain the file.
This is the task of today.
When tomorrow we will move another 15 key we will be using the same procedure as stated above. but we will use the file ABCD.XXX.XYZ
(this will get created based on the user id), but it should be a fresh file, we don't want old data(Previous day data).
Note : We can not delete anything manually because ABCD is the user id |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Personally I would take a look at using DFdss. It is not the greatest tool on earth, but does have great flexibility in data selection. |
|
Back to top |
|
|
|