| j?rg brehe 2004-03-26, 11:11 pm |
| I have some question to the scratch macro. MVS OS/390
I shall purge some datasets which are allocated by our programm.
we get these datasets from our customers. they make an ftp transfer
and give all files an expiration date.
Now, some of this datasets will be allocated by our programm.
Normally we use an assembler-UPRO which use the dynalloc macro
" svc 99 with Disp(mod,delete,keep)".
But, if an expiration date is there and the expiration date is not
expired, then we have a problem. We can't delete them in this way.
i get no warning, dammed. After running our programm, i see that bad
dataset is there.
Now i thought, i can ask if this dataset has an expiration date and
then use
the scratch macro. But how can i get the volser if thes dataset is on
more then one volume. Or is there a better way?
I can't delete the expiration date in the vtoc, nor I can link our
programm WITH AN AUTHORIZATION
CODE OF 1 AND PLACED IN AN AUTHORIZED LIBRARY. I only know the right
dataset in the very moment, when i try to delete the file with
dynalloc disp=delete.
Now i will try to read the JFCB.
i need an small example
with best regards
jörg
|