Found this in a Google cache:


>From the SMCA map, can we find the name of the SMF datasets & which one is 
>active? I am trying
to find the information displayed by 'D SMF' command thru REXX. The SMCAFRDS 
field points to
smf dataset but i could not find out the format(map) after jumping to SMCAFRDS 
address in SMCA
map.

This question posed on 20 October 2001


 You can't find the mapping because the SMF RDS is an OCO (Object Code Only) 
control block. If
you have a copy of the SMFDUMP program, there is a mapping in there. This 
program used to be
distributed with CBIPO and with ServerPac in IPO1.SAMPLIB or CPAC.SAMPLIB. IBM 
no longer
distributes it.

Here is a mapping in a version of the program that I found. The program still 
functions
correctly as of OS/390 2.10, but I have no way of verifying the accuracy of 
this DSECT. You
may be able to work with IBM to get a current mapping.

IEEMBRDS DSECT
RDSID    DS    CL4                 CONTROL BLOCK ID
RDSNEXT  DS    F                   FORWARD CHAIN POINTER
RDSPREV  DS    F                   BACKWARD CHAIN POINTER
*
RDSFLG1  DS    X
RDSFREE  EQU   X'10'               1 - NEED TO FREE DATASET
RDSDUMP  EQU   X'08'               1 - OPER HAS BEEN TOLD TO
*                                      DUMP DS
RDSREADY EQU   X'04'               1 - DS IS OPEN AND READY
RDSCLOSE EQU   X'02'               1 - DS NEEDS TO BE CLOSED
RDSNDOP  EQU   X'01'               1 - DS NEEDS TO BE OPENED
*
RDSFLG2  DS    X
RDSLOST  EQU   X'80'               DUMMY RDS FOR LOST DATA
RDSPHYER EQU   X'40'               1 - PHYSICAL I/O ERROR
RDSLOGER EQU   X'20'               1 - LOGICAL I/O ERROR
*
RDSFLG3  DS    X                   RESERVED
RDSNLEN  DS    X                   RESERVED
RDSNAME  DS    CL44                DATASET NAME
RDSVOLID DS    CL6                 VOLUME SERIAL
         DS    CL2
RDSDDN   DS    CL8                 DDNAME RETND BY DYNALLOC
RDSCAPTY DS    F                   CAPACITY IN # OF BLOCKS
RDSNXTBL DS    F                   NUMBER OF NEXT AVAIL BLOCK
RDSBQE   DS    F                   ADDR OF BQE BEING WRITTEN
RDSAVSPC DS    F                   AVAIL SPACE FROM SHOWCB
RDSENRBA DS    F                   ENDRBA FROM SHOWCB
RDSCINV  DS    F                   CONTROL INTERVAL SIZE
RDSDOMID DS    2F                  MSG # OF DUMP MSG
RDSRPL   DS    CL76                VSAM RPL
RDSACB   DS    CL76                VSAM ACB



-- 
  Phil Payne
  http://www.isham-research.co.uk
  +44 7833 654 800

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to