09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PRINTAbbreviation: NODCKTOKEY(key)|TOADDRESS(address)| TONUMBER(number)|COUNT(number)locates the data set being listed where you want the listing to stop. If you donot use this, the listing ends with the logical end of the data set or component.The only value that can be specified <strong>for</strong> a SAM data set is COUNT.Use FROMADDRESS and TOADDRESS to specify a partial print range <strong>for</strong> alinear data set cluster. The location where the listing is to stop must follow thelocation where the listing is to begin.The ending delimiter must be consistent with the starting delimiter. Forexample, if FROMADDRESS is specified <strong>for</strong> the starting location, useTOADDRESS to specify the ending location. The same is true <strong>for</strong> FROMKEYand TOKEY, and FROMNUMBER and TONUMBER.TOKEY(key)specifies the key of the last record to be listed. You can specify generickeys (that is, a portion of the key followed by *). If you specify generickeys, listing stops after the last record is listed whose key matches thatportion of the key you specified. If you specify a key longer than thatdefined <strong>for</strong> the data set, the listing is not done.If the specified key is not found, the next lower key is used as the stoppingpoint <strong>for</strong> the listing.TOKEY can be specified only when an alternate index, a key-sequencedVSAM data set, a catalog, or an indexed sequential (ISAM) non-VSAMdata set is being printed.keyCan contain 1 to 255 EBCDIC characters. A key ending in X'5C' isprocessed as a generic key.TOADDRESS(address)specifies the relative byte address (RBA) of the last record you want listed.Unlike FROMADDRESS, the RBA value does not need to be the beginningof a logical record. The entire record containing the specified RBA isprinted. If you specify this parameter <strong>for</strong> a key-sequenced data set, thelisting is in physical sequential order instead of in logical sequential order.TOADDRESS can be specified only <strong>for</strong> VSAM key-sequenced, linear orentry-sequenced data sets or components. TOADDRESS cannot be specifiedwhen the data set is accessed through a path. TOADDRESS cannot bespecified <strong>for</strong> a key-sequenced data set with spanned records if any of thosespanned records are to be accessed.addressCan be specified in decimal (n) or hexadecimal (X'n'). The specificationcannot be longer than one fullword when specified in decimal.The largest address you can specify in decimal is 4,294,967,295. If ahigher value is required, specify it in hexadecimal.Abbreviation: TADDRTONUMBER(number)specifies the relative record number of the last record you want printed.TONUMBER can be specified only <strong>for</strong> a VSAM relative record data set.Chapter 29. PRINT 299

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!