Sure. Or LH/STH.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Scott Ford
Sent: Wednesday, September 17, 2014 12:39 PM
To: [email protected]
Subject: Re: Data Conversion

Charles:

We are creating SMF records, user defined. So we are passing the SMF type 
number as PIC 999 i will change to COMP. Then I have to store it see below:

  <snippet>
SMFWKL   DC    A(SMFSTOR)                Length to GETMAIN
SMFHVAL  DS    0H                        Constant fields for SMF header
         DC    AL2(SMFHLEN)              Header length
         DC    X'0000'                   Segment descriptor
         DC    X'50'                     SMF flags (MVS 4 up)
SMFHTYP  DC    X'00'                     Record type
HDRLEN   EQU   *-SMFHVAL                 Length of header init fields
SMFSTP1  DC    XL2'0001'                 Subtype 01 - pre command
SMFSTP2  DC    XL2'0002'                 Subtype 02 - post command

<snippet/>

I have to store the pass variable in SMFHTYP ...so I assume a MVC ...?
 

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

Reply via email to