Joined: 06 Jun 2008 Posts: 8586 Location: Dubuque, Iowa, USA
so there's no way to say something like this:
OUT1 - OUT3 use DISP=(,CATLG,),RECFM=FBA,LRECL=80,SPACE=(TRK,(800),RLSE
You are correct -- you cannot do this.
I can think of at least three ways to accomplish the same goal, though:
1. Put the duplicated parameters into an INCLUDE member so you can use a continuation statement and INCLUDE the parameters
2. If the data sets are SMS, use the LIKE parameter
3. If the data sets are SMS, have your system support group define a data class that contains the parameters you want and then you just have to use DATACLAS= in your job.
Using LIKE=model.dsn where the model dataset has the required attributes is the easiest, I use it a lot. But note that it will not model the Dataclas which can be an issue sometimes. It will model the DCB and SPACE, but obviously not DISP.
The dataset specified on LIKE= cannot be a relative GDG generation such a GDG.BASE(0), but can be an absolute GDG generation such as GDG.BASE.G0001V00
Another option is to use the REFDD parameter but I have never really used it myself.
You could ask your site Storage people if there is a Dataclas to match your requirements, or go to ISMF Option 4 and list the Dataclases yourself to see what's available. It is unlikely your Storage people will define a new Dataclas for you unless it is going to become very commonly used.