If you are at least z/OS 1.13, so that you don't have to know the number of 
tracks:

//DFDSS    EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*                       
//DISK     DD UNIT=SYSDA,VOL=SER=SMTS01,DISP=SHR 
//SYSIN    DD *                                  
 PRINT INDD(DISK) TRACKS((0,0,X'FFFFFFF'))       


On Tue, 8 Jul 2014 09:32:12 -0700, esmie moo <[email protected]> wrote:

>Hallo Gentle Readers,
>
>I would like to use the PRINT command to print all the contents of a 3390-9 
>volume.  I tried the following :
>
>PRINT TRACKS(0000,00,10017,150255) INDDNAME(DASD)
>
>I get the error message :
>ADR136E (001)-RI01 (01), CONSTANT '150255 ' IS NOT WITHIN VALUE RANGE
>
>I used the value of 150255 because there are this amount of tracks on the 
>volume.
>
>Could someone suggest that I try something else?  I ran the report using 
>IEHLIST but I was asked by the user if he could have the output using DFDSS.
>
>Thanks in advance for your valuable input.
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to