|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Archive log to DASD, and auto deletion after ARCRETN exp? |
« View previous topic :: View next topic » |
Author |
Message
|
zhanghz |
Posted: Thu Sep 24, 2009 12:31 am Post subject: MQ Archive log to DASD, and auto deletion after ARCRETN exp? |
|
|
Disciple
Joined: 17 Jun 2008 Posts: 186
|
For some reason (no tapes installed in new LPAR), our new MQ will need to archive to DASD. I am told by DASD team that although there is retention period specified in MQ's ZPRM, the retention period is not applicable to files on DASD. So all archive log files will accumulate even after retention period expires.
Any one has similar situation? How do you handle the auto-deletion of archive log files on DASD?
Thanks. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Thu Sep 24, 2009 1:47 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
I am not using DASD archives. However, there is a section in the z/OS System Administration guide (Discarding archive log data sets) that also deals with manual deletion of archives. _________________ Regards, Butcher |
|
Back to top |
|
 |
zhanghz |
Posted: Fri Sep 25, 2009 1:18 am Post subject: |
|
|
Disciple
Joined: 17 Jun 2008 Posts: 186
|
Yes, I went through admin manual and system setup manual. The manual is not very clear.
Section "Automatic archive log data set deletion" in Admin manual mentions ARCRETN controls the retention period, but does not say the parameter can not control DASD files. Someone who is not familiar with DASD will not know this.
System setup manual also does not say ARCRETN is meant for TAPEs only.
What section "Manually deleting archive log data set" in Admin manual mentions is really "MANUAL deleting". To manual.
I want something that can be programmed/scheduled so that backups archived, say, 10 days ago, will be deleted.
Can this be done?
I just checked with DASD team and was told that there is no retention period or expiry for DASD files.  |
|
Back to top |
|
 |
Mr Butcher |
Posted: Fri Sep 25, 2009 1:42 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
Quote: |
I want something that can be programmed/scheduled so that backups archived, say, 10 days ago, will be deleted. |
i had a quick talk with our space and dasd administration, he said assigning a proper management class with retention period and using HSM could be an option, so files are purged by HSM. He also said that there was a problem when the file itself was already supplied with a retention period by the product (so this had to be removed first).
maybe this is something you can discuss with your space management.
on the other hand, some jcl and rexx scripting with listcat, get the creation date and delete could do the same job... but then you are on your own. _________________ Regards, Butcher |
|
Back to top |
|
 |
zhanghz |
Posted: Fri Sep 25, 2009 2:57 am Post subject: |
|
|
Disciple
Joined: 17 Jun 2008 Posts: 186
|
Thanks Butcher. Will check with our DASD team.
Thanks. |
|
Back to top |
|
 |
rtsujimoto |
Posted: Sun Sep 27, 2009 1:30 pm Post subject: |
|
|
Centurion
Joined: 16 Jun 2004 Posts: 119 Location: Lake Success, NY
|
We run ADRDSSU on a weekly basis, which will delete expired data sets:
//STPMQ040 EXEC PGM=ADRDSSU,REGION=8192K
//SYSPRINT DD SYSOUT=*
//OUT DD DUMMY
//SYSIN DD *
DUMP -
DATASET(INCLUDE(MQM.CUT1.ARCLOG%.**) -
BY((EXPDT,LT,*)) -
) -
OUTDD(OUT) CANCELERROR DELETE
//* |
|
Back to top |
|
 |
bruce2359 |
Posted: Sun Sep 27, 2009 4:54 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
An alternative: create a GDG (Generation Data Group) for your archive log datasets, and specify however many generations you feel appropriate. GDG definitions can specify what to do with generations that are rolled off - like uncatalog or delete them. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
zhanghz |
Posted: Sun Sep 27, 2009 6:43 pm Post subject: |
|
|
Disciple
Joined: 17 Jun 2008 Posts: 186
|
Thanks, Butcher. Checked with DASD team, doable. It's what they call management class.
I don't have to REXX...
To Bruce,
I don't think MQ can specify to use GDG.. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|