Search notes:

SAS: dictionary.formats

Describe

proc sql;
  describe table dictionary.formats;
quit;


/*
create table DICTIONARY.FORMATS
  (
   libname char(8) label='Library Name',
   memname char(32) label='Member Name',
   path char(1024) label='Pathname',
   objname char(32) label='Object Name',
   fmtname char(32) label='Format Name',
   fmttype char(1) label='Format Type',
   source char(1) label='Format Source',
   minw num label='Minimum Width',
   mind num label='Minimum Decimal Width',
   maxw num label='Maximum Width',
   maxd num label='Maximum Decimal Width',
   defw num label='Default Width',
   defd num label='Default Decimal Width'
  );
 */
Github repository about-SAS, path: /programming/dictionary/formats/describe.sas
fmttype is either I for an informat or F for a format.

Select after proc format

Querying the table after creating a format with proc format.
proc format;
  picture
     ddmmyyyy_hh24miss 
    (default=19)                   /* <-- default width of format */
     other='%0d.%0m.%Y %0H:%0M:%0S'
    (datatype=datetime);
  
run;

proc sql;
  select *
  from
    dictionary.formats
  where
    libname = 'WORK' and
    objname = 'DDMMYYYY_HH24MISS';
quit;
Github repository about-SAS, path: /programming/dictionary/formats/proc-format.select.sas

See also

informats and formats
dictionary tables
Using dictionary.formats to find predefined formats.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Companie...', 1745829117, '3.15.164.218', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/dictionary/formats/index(99): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78