View previous topic :: View next topic
|
Author |
Message |
sudarshan.srivathsav
New User
Joined: 10 Jul 2012 Posts: 24 Location: USA
|
|
|
|
Hi Friends,
I did a lot of research but I cannot see one place where it says the DSNTYPE information. I have to find whether the input file is HFS or not.
There is a Macro IEFSJDKY in SYS1.MACLIB which gives the different types of DSNTYPE values like:
Code: |
* Values for DSNTYPE keyword
SJVLDTLI EQU X'80' LIBRARY
SJVLDTPD EQU X'40' PDS
SJVLPIPE EQU X'20' PIPE
SJVLHFSI EQU X'10' HFS
SJVLEXR EQU X'08' EXTREQ
SJVLEXP EQU X'04' EXTPREF
SJVLBASC EQU X'02' BASIC
SJVLLARG EQU X'01' LARGE
|
Can someone please tell me from which Control block I can get the above information, how to get there, JFCB/DCB/DEB is not pointing me to there.
I know there is shortcut way from JFCB to check if JFCBDSNM is a constant instead of file name, since if PATH is specified then it has constant value, but what if I want to find the other DSNTYPE's?.
I did notice that SMF 16 -DFSORT STATS, they have this field ICEINTYP which says the TYPE of file, but from which CONTROL block they get this information. I need that.
Please help me at your earliest convenience. Thanks all! |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Its defined in the SMS data class. With DSNTYPE in JCL it is possible to override data class DSNTYPE parameters. |
|
Back to top |
|
|
steve-myers
Active Member
Joined: 30 Nov 2013 Posts: 917 Location: The Universe
|
|
|
|
DSNTYPE is pretty much an allocation attribute. Once the data is allocated DSNTYPE pretty much disappears. LIBRARY (PDSE), HFS or PDS can be inferred from the VTOC. LARGE, too, can be inferred from the VTOC. Look at SYS1.MODGEN(IECSDSL1). |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 580 Location: London
|
|
|
|
A simple LISTCAT of the file indicates if it is ZFS format under the ATTRIBUTES field of the Data component. I 'think' this field may only be switched on after the file has been formatted by PGM=IOEAGFMT otherwise it just appears as a normal VSAM linear dataset. So I'm not sure if the ZFS attribute is even available at allocation time. There's no fields in the SMS Dataclas to indicate a file is ZFS format or not. ZFS is not a valid option for DSNTYPE, only HFS is.
Code: |
DATA ------- A.ZFS.FILE.DATA
IN-CAT --- USER.A.CATALOG
HISTORY
DATASET-OWNER-----(NULL) CREATION--------2009.070
RELEASE----------------2 EXPIRATION------0000.000
ACCOUNT-INFO-----------------------------------(NULL)
PROTECTION-PSWD-----(NULL) RACF----------------(NO)
ASSOCIATIONS
CLUSTER--A.ZFS.FILE
ATTRIBUTES
KEYLEN-----------------0 AVGLRECL---------------0 BUFSPACE-------
RKP--------------------0 MAXLRECL---------------0 EXCPEXIT-------
SHROPTNS(3,3) SPEED UNIQUE NOERASE LINEAR N
NONSPANNED ZFS
STATISTICS
|
|
|
Back to top |
|
|
sudarshan.srivathsav
New User
Joined: 10 Jul 2012 Posts: 24 Location: USA
|
|
|
|
Thanks a lot for your reply! |
|
Back to top |
|
|
|