How to list the contents of a format?

Document ID : KB000025055
Last Modified Date : 14/02/2018
Show Technical Document Details

Description

In some cases it is useful and necessary to know the contents of a generated format.

Solution

If you want to know the detailed content of a format, it is necessary to know:

  1. Tthe name of the format f.e. $SNTPARM

  2. The library, where the format is stored (MCOLIB,MUOLIB)
 If you know this, you set up a job like this:
   
// jobcard
// JCLLIB ORDER=sp.PROCLIB
//LIST EXEC MICSSHRp p= unit identifier
 LIBNAME MUOLIB 'sp.MUOLIB' DISP=SHR;
   PROC FORMAT LIBRARY=MUOLIB.MICSFMTS FMTLIB;
   SELECT $SNTPARM;
  RUN;
/*