Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

delete datasets with expiration date
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

Report this thread to moderator Post Follow-up to this message
Old Post
j?rg brehe
03-27-04 04:11 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

ASM370 archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 02:34 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.