Charles,

Thanks for the tip about assembling  the DSECT macro. I found sample JCL in one 
of the vendor's product libs and I was able to use it to assemble it. The 
resulting output showed where each field would fall in the SMF record. So that, 
along with their supplied field descriptions in the DSECT member helped out. I 
also found the HLASM manuals and that helped to decipher many of the assembler 
DS instructions. Now to get my SAS job working again.

 
Thanks,

Mark Regan
<><


________________________________
 From: Charles Mills <[email protected]>
To: [email protected] 
Sent: Wednesday, September 25, 2013 9:25 AM
Subject: Re: ISV SMF DSECT Layout to something more readable
 

Permit me to respond a little further. Which of these sentences best
describes your problem?

1. I look at their "documentation" and it is pretty thin. I can see the
individual fields, and each one has a one-sentence (or less) comment, but I
don't really grasp the business significance of the data, or the meanings of
various "codes."

2. I can read C but I can't read assembler. I look at these macros and don't
have a clue what to make of them.

3. I am trying to code up some SAS to format these records. I need the
offset of the various fields, but all I have is macro source.

Answers:

1. Sorry. You are up the creek. If the vendor won't help you, or some "peer"
can't help you informally, then you are out of luck.

2. CDSECT is the answer.

3. You need to assemble the macros. Real simple. Basically find some
assembler JCL and code it up as

//SYSLIB DD DSN=vendor.mac.library,DISP=SHR
//SYSIN DD *
       MACNAME [the name of the vendor macro]
       END
/*

The listing should show the offset of each field in hex. You may need a
little more on the macro, something perhaps like MACNAME SUBTYPE=ALL

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Mark Regan
Sent: Wednesday, September 25, 2013 3:59 AM
To: [email protected]
Subject: ISV SMF DSECT Layout to something more readable

I have a ISV software product that creates SMF records for which they do not
publish the SMF record layout in their manuals. All they do is refer you to
the DSECT coding in their MAC library and expect you to figure out the
record layout from it. Not having a background in a programming language,
especially assembler (I can do some SAS, but that's about it), is there a
utility that can read a dsect and produce a readable output to work from? 

I have an older SAS program that was coded to produce reports from the
vendor's older version of the software, but the newest release we just put
on changed the SMF record layout and also increased the record length from
1034 to 3194 bytes in length.

 
Thanks,

Mark Regan
<><

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

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

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

Reply via email to