How to list the contents of a FORMAT?
search cancel

How to list the contents of a FORMAT?

book

Article ID: 25055

calendar_today

Updated On:

Products

MICS Resource Management

Issue/Introduction

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

 

Resolution

To get the content of a generated FORMAT, it is necessary to know:

  1. The name of the FORMAT i.e., $SNTPARM

  2. The library where the FORMAT is stored (MCOLIB,MUOLIB)
 Sample job: 
// JOB statement // 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; /*