Hello all,
We have REXX tool/subroutine DSUDYNA, which uses a DTG with file name and DCB parameters for dynamically allocating a file.
My requirement is that it has to be allocated with certain expiry date.
In the DCB parameters given in the DTG, the expiry date parameter is not there.
So, is there any way to give expiry date for the file getting allocated later on even, or if some one is familiar with this DSUDYNA can also suggest me if I can give expiry date while it is getting allocated.
Regards,
Nagesh D
Giving expiry date for a file getting dynamically allocated
Moderators: dbzTHEdinosauer, Moderator Group
-
- Member
- Posts: 16
- Joined: Sun Dec 27, 2009 12:37 pm
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
-
- Member
- Posts: 16
- Joined: Sun Dec 27, 2009 12:37 pm
Hi Anuj,
It is actually using the utility DSUDYNA which I mentioned, If you can suggest any other utility where we can dynamically allocate a file giving the retention period/ expiry date is even fine. Thanks for the update,
Please let me know the other Utilities where I can get this requirement done.
Thanks,
Nagesh D
It is actually using the utility DSUDYNA which I mentioned, If you can suggest any other utility where we can dynamically allocate a file giving the retention period/ expiry date is even fine. Thanks for the update,
Please let me know the other Utilities where I can get this requirement done.
Thanks,
Nagesh D
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
Hi Nagesh,
Like I said earlier, DSUDYNA is specific to your shop. I, for one, can't help you much on that, you must get in touch with someone at your shop who has used it or you may look in some existing program which uses this utility.
If this is to be done using COBOL (as you said in other thread, for what this thread is here) You can use (CALL) bpxwdyn in your COBOL program to allocate a file.
You could use PUTENV also, but I'd prefer BPXWDYN.
Like I said earlier, DSUDYNA is specific to your shop. I, for one, can't help you much on that, you must get in touch with someone at your shop who has used it or you may look in some existing program which uses this utility.
If this is to be done using COBOL (as you said in other thread, for what this thread is here) You can use (CALL) bpxwdyn in your COBOL program to allocate a file.
You could use PUTENV also, but I'd prefer BPXWDYN.
Regards,
Anuj
Anuj
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page