Open topic with navigation

ibi™ Open Data Hub for Mainframe Connectors 1.0.8

# SMF Record Format for RECTYPES 1 and 4

The record format for RECTYPES 1 and 4 of the SMF records written by the server is defined below. The format is provided in the System 390 assembler DSECT form.

    SMFON    DSECT

             SPACE

    *----------------------------------------------------*

    *  USAGE ACCOUNTING SMF RECORD LAYOUT FOR LOGON RECORDS.              *

    *                                                                     *

    *  THIS IS THE DSECT DESCRIBING THE SMF RECORD WHICH IS PASSED TO     *

    *  YOUR EXIT ON AT USER LOGON TIME.  IT IS COMPLETELY READY TO BE     *

    *  WRITTEN WHEN YOUR EXIT RECEIVES CONTROL.                           *

    *----------------------------------------------------*

             SPACE

    *----------------------------------------------------*

    *  THE FIRST TWENTY FOUR BYTES OF THE RECORD ARE THE SMF HEADER.      *

    *  THESE FIELDS ARE REQUIRED IN ALL SMF RECORDS (18 BYTES FOR RECORDS *

    *  WITHOUT SUBTYPES; WE USE SUBTYPES, THE HEADER IS 24 BYTES).        *

             SPACE

    SMFONLEN DS    H'116'            RECORD LENGTH

    SMFONSEG DS    XL2'0000'         SEGMENT DESCRIPTOR (0 UNLESS SPANNED)

    SMFONFLG DS    XL1               SYSTEM INDICATOR

    SMFONRTY DS    XL1               RECORD TYPE

    SMFONTME DS    XL4               TIME, IN HUNDREDTHS OF A SECOND

    SMFONDTE DS    PL4               DATE, 00CYYDDDF, WHERE F IS THE SIGN

    SMFONSID DS    CL4               SYSTEM IDENTIFICATION

    SMFONSBS DS    CL4               SUBSYSTEM IDENTIFICATION

    SMFONSBT DS    XL2'0001'         SUBTYPE OF RECORD - X'0001' INDICATES X

                                     THIS IS A LOGON RECORD

             SPACE

    *----------------------------------------------------*

    *  THE NEXT FIELDS ARE THOSE PRESENT IN THE LOGON                     *

    *  RECORD FOR THE START OF A USER SESSION.                            *

    *----------------------------------------------------*

             SPACE

    SMFONMSO DS    CL8               JOBNAME

    SMFONJID DS    CL8               JOBID (FROM SSIBJBID)

    SMFONASI DS    Y                 ASID

    SMFONRV1 DS    XL2               RESERVED

    SMFONUID DS    CL20              SECURITY USERID

    SMFONLID DS    CL20              USERID PRESENTED AT LOGON (SAME AS    X

                                     SMFONSID UNLESS CHANGED VIA MSIDTR    X

                                     SECURITY EXIT)

    SMFONRSV DS    XL8               RESERVED FOR FUTURE EXPANSION

    SMFONCTI DS    XL4               RESERVED FOR FUTURE EXPANSION

    SMFONSRV DS    CL8               SERVICE NAME FROM SERVICE BLOCK

    SMFONRS0 DS    XL4               RESERVED FOR FUTURE EXPANSION

    SMFONCNT DS    XL1               CONNECTION TYPE

             SPACE

    SMFONTSO EQU   1                 CONNECTION VIA TSO

    SMFONCIC EQU   2                 CONNECTION VIA CICS

    SMFONVTM EQU   4                 CONNECTION VIA VTAM

    SMFONPSR EQU   8

             SPACE

    SMFONRS1 DS    XL3               RESERVED

    SMFONID1 DS    F                 SYSPLEX ID 1

    SMFONID2 DS    F                 SYSPLEX ID 2

    SMFOFPID DS	   XL20              POOLED USER ID

    SMFONRS2 DS    XL12              RESERVED

    SMFONL   EQU   *-SMFON           LENGTH OF THE SMF LOGON RECORD

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

ibi™ Open Data Hub for Mainframe Connectors

Copyright © 2021-2025. Cloud Software Group, Inc. All Rights Reserved.