|
View previous topic :: View next topic
|
| Author |
Message |
Ilaventhan Senthil
New User
Joined: 12 Jul 2025 Posts: 2 Location: india
|
|
|
|
| Hi All,we can know how many number of volumes a Multi volume DSN is using, But If I created a multivol dataset with 10 volumes(i.e VOL=,,,10) after a year if other person wanted to know the max volume my dataset can extend, how will he know what I coded in my JCL while creating the dataset, I can just issue an I infront of dataset and get to know currently how many volumes the dsn is extended, but if I want to know the max vol count, is there a way, I am ignoring DATACLAS as my system can override dataclas volcout by using VOL=,,,x parm in JCL. |
|
| Back to top |
|
 |
Willy Jensen
Active Member

Joined: 01 Sep 2015 Posts: 766 Location: Denmark
|
|
|
|
A LISTCAT ALL should do it, sample:
Allocation job
| Code: |
//A EXEC PGM=IEFBR14
//DD1 DD DSN=DSN.TEST.MULTIVOL,DISP=(,CATLG),
// UNIT=SYSDA,SPACE=(80,(1,1),RLSE),AVGREC=K,
// RECFM=FB,LRECL=80,BLKSIZE=0,VOL=(,,,6) |
LISTCAT ENT(DSN.TEST.MULTIVOL) ALL output
| Code: |
NONVSAM ------- DSN.TEST.MULTIVOL
IN-CAT --- CATALOG.SYSC.USER
HISTORY
DATASET-OWNER-----(NULL) CREATION--------2025.194
RELEASE----------------2 EXPIRATION------0000.000
ACCOUNT-INFO-----------------------------------(NULL)
SMSDATA
STORAGECLASS ------USER1 MANAGEMENTCLASS---(NULL)
DATACLASS --------(NULL) LBACKUP ---0000.000.0000
ENCRYPTIONDATA
DATA SET ENCRYPTION-----(NO)
VOLUMES
VOLSER------------SYSCU1 DEVTYPE------X'3010200F' FSEQN------------------0
VOLSER-----------------* DEVTYPE------X'00000000' FSEQN------------------0
VOLSER-----------------* DEVTYPE------X'00000000' FSEQN------------------0
VOLSER-----------------* DEVTYPE------X'00000000' FSEQN------------------0
VOLSER-----------------* DEVTYPE------X'00000000' FSEQN------------------0
VOLSER-----------------* DEVTYPE------X'00000000' FSEQN------------------0
ASSOCIATIONS--------(NULL)
ATTRIBUTES |
Though you con't get a number, but a list of potential canditates. |
|
| Back to top |
|
 |
Joerg.Findeisen
Senior Member

Joined: 15 Aug 2015 Posts: 1424 Location: Bamberg, Germany
|
|
|
|
| To know what was coded in the JCL is not of interest as many factors are to be considered for an allocation. Over time some values may have been altered/changed. It's too many to give a good answer to your question. |
|
| Back to top |
|
 |
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 599 Location: London
|
|
|
|
| Using I from 3.4 will also show the candidate volumes if it is multi-volume. You have to hit enter one extra time |
|
| Back to top |
|
 |
Willy Jensen
Active Member

Joined: 01 Sep 2015 Posts: 766 Location: Denmark
|
|
|
|
@Pete, blimey, I never noticed that line, good point.
Remember that you can use a command like 'listc ent(/) all' from a 3.4 dataset list, where the slash is substituted by the dataset name. |
|
| Back to top |
|
 |
Ilaventhan Senthil
New User
Joined: 12 Jul 2025 Posts: 2 Location: india
|
|
|
|
| Thanks all for your valuable inputs and your time. |
|
| Back to top |
|
 |
|
|