Well, IBM has a STORGRP parameter for DSS copy.  Too bad they don't have
one for COMPRESS. 


Terry Traylor 
charlesSCHWAB 
TIS Mainframe Storage Management 
Remedy Queue: tis-hs-mstg
(602) 977-5154 
WARNING:  All email sent to or from this address will be received by the
Charles Schwab corporate e-mail system and is subject to archival and
review by someone other than the recipient.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Edward Jaffe
Sent: Friday, October 05, 2007 10:44 AM
To: [email protected]
Subject: Mass PDS Compress Without Volume Specification

I've recently put together a service update procedure that starts by
invoking DSS to compress all PDS-type libraries whose data set names
match a given pattern. These are SMS-managed data sets and will reside
on any of the volumes in the storage group.

I tried this and got the error shown:

|1PAGE 0001     5695-DF175  DFSMSDSS V1R08.0 DATA SET SERVICES     
2007.278 10:29
|-  COMPRESS INCLUDE(EJES.PROD450*.**)
| ADR101I (R/I)-RI01 (01), TASKID 001 HAS BEEN ASSIGNED TO COMMAND
'COMPRESS'
| ADR109I (R/I)-RI01 (01), 2007.278 10:29:21 INITIAL SCAN OF USER
CONTROL STATEMENTS COMPLETED.
| ADR138E (001)-RI01 (01), REQUIRED (SUB)PARAMETER OF 'DDNAME ' IS 
| MISSING ADR131E (001)-RI03 (01), ABOVE TEXT BYPASSED UNTIL NEXT 
| COMMAND ADR017E (001)-CLTSK(01), 2007.278 10:29:21 TASK NOT SCHEDULED 
| DUE TO
ERROR. TASK RETURN CODE 0008
|0ADR012I (SCH)-DSSU (01), 2007.278 10:29:21 DFSMSDSS PROCESSING

COMPLETE. HIGHEST RETURN CODE IS 0008 FROM:
|                          SYNTAX
|                          TASK    001

It seems I must explicitly specify each of the volumes in the storage
group in order to compress these data sets using DSS!

The control statements shown below work. But, I don't like having to
specify every volume (or the data set pattern over and over for that
matter). Suppose volumes are added to or removed from the storage group
in the future?

COMPRESS INCLUDE(EJES.PROD450*.**) DYNAM(MVSPV0) COMPRESS
INCLUDE(EJES.PROD450*.**) DYNAM(MVSPV1) COMPRESS
INCLUDE(EJES.PROD450*.**) DYNAM(MVSPV2) COMPRESS
INCLUDE(EJES.PROD450*.**) DYNAM(MVSPV3) COMPRESS
INCLUDE(EJES.PROD450*.**) DYNAM(MVSPV4) COMPRESS
INCLUDE(EJES.PROD450*.**) DYNAM(MVSPV5) COMPRESS
INCLUDE(EJES.PROD450*.**) DYNAM(MVSPV6) COMPRESS
INCLUDE(EJES.PROD450*.**) DYNAM(MVSPV7)

Is there another DFSMS utility I can use to compress all PDS-type data
sets matching a given data set name pattern?

--
Edward E Jaffe
Phoenix Software International, Inc
5200 W Century Blvd, Suite 800
Los Angeles, CA 90045
310-338-0400 x318
[EMAIL PROTECTED]
http://www.phoenixsoftware.com/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to