z/OS Security Server RACF Auditor's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Producing XML output

z/OS Security Server RACF Auditor's Guide
SA23-2290-00

You can have SMF Unload create an XML document by including only one of the following DD names in your IFASMFDP job:
  • XMLOUT DD creates a compressed form of the XML document
  • XMLFORM DD creates a more readable form of the XML document.
Whichever output type is coded in the JCL is the only type that is generated. For instance:
  • If XMLFORM DD is specified in the JCL, then only the expanded, more readable XML output is written
  • If XMLOUT DD is specified in the JCL, then only the compressed XML output type is written
  • If OUTDD DD is specified in the JCL, then this is the only output type written (this is the traditional tabular non-xml form)
  • If none of these types are specified in the JCL, the utility issues message IRR67522I Open failed for OUTDD
If more than one DDname is placed in the JCL, the above order (XMLFORM, XMLOUT, OUTDD) is used to see which one is created. The actual order of DD statements in the JCL is irrelevant.
For example:
//SMFDUMP    EXEC PGM=IFASMFDP
//SYSPRINT   DD    SYSOUT=A
//ADUPRINT   DD    SYSOUT=A  
//XMLOUT     DD    DISP=SHR,DSN=USER01.RACF.SMF.XMLOUT
//SMFDATA    DD    DISP=SHR,DSN=USER01.RACF.SMFDATA
//SMFOUT     DD    DUMMY
//SYSIN       DD   * 
  INDD(SMFDATA,OPTIONS(DUMP))
  OUTDD(SMFOUT, TYPE(30(1,5),80:83))
  ABEND(NORETRY)
  USER2(IRRADU00)  
  USER3(IRRADU86) 
//

This job creates a compressed form of the XML document in a data set that already exists. You can think of this as “raw output”, since it is the most basic form of the XML document. While this report takes up the least space, it is not well-suited for reading due to its limited line wrapping and tag justification. In the document, the tags and information are often composed of one long line to save space. A more readable form of the report can be created using the XMLFORM DD statement. The output from this would include better line wrapping, and the tags would be justified so that they begin on new lines when necessary. It is a more readable form but takes up more space.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014