home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!usc!howland.reston.ans.net!paladin.american.edu!auvm!ZODIAC.BITNET!HAMER
- Return-Path: <@OHSTVMA.ACS.OHIO-STATE.EDU:SAS-L@VTVM2.BITNET>
- X-Envelope-to: sas-l@VTVM2.BITNET
- X-VMS-To: IN%"NY921603@PACEVM.BITNET"
- X-VMS-Cc: BITNET%"sas-l@vtvm2"
- Message-ID: <01GTTJQIXXV48X0JCD@zodiac.rutgers.edu>
- Newsgroups: bit.listserv.sas-l
- Date: Fri, 22 Jan 1993 13:10:00 EST
- Reply-To: "Robert M. Hamer 908-932-2696" <HAMER@ZODIAC.BITNET>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: "Robert M. Hamer 908-932-2696" <HAMER@ZODIAC.BITNET>
- Subject: Re: Concatenating format catalogs under 6.07
- Comments: To: NY921603@PACEVM.BITNET
- Lines: 36
-
- Jeff Davis <NY921603@PACEVM.BITNET> writes:
-
- >Does anyone know how to access more than one format catalog under
- >SAS 6.07 in the same SAS session or job? Under MVS SAS 5.18 you
- >were able to concatenate the format libraries in the JCL. Can you
- >concatenate 6.07 format catalogs in MVS? What about CMS? I
- >**don't** want to have to use PROC CATALOG to copy the format
- >entries to the WORK format catalog. I have not been able to find
- >anything in Language, Procedures, Language and Procedures,
- >Companion for CMS or Companion for MVS.
-
- The solution I am about to state assumes that all your formats
- are stored in catalogs in one or more currently allocated SAS
- libraries. That means that you have allocated those libnames with
- either the LIBNAME statement, or with some sort of platform control
- statement (in your case, on MVS, that would be a DD statement or in
- TSO an ALLOCATE command).
-
- There exists a new option in 6.07, which you can set with the
- SAS OPTIONS statement, which tells SAS which format catalogs
- in which libraries to search, and in what order. The option
- is the FMTSEARCH option (nice logical name, right?)
-
- For example, the SAS statement
-
- OPTIONS FMTSEARCH(WORK.FORMATS,SASDATA.FORMATS,SASDATA.NEWFMTS);
-
- Tells SAS that when it encounters a format, it is to search the
- above libraries.catalogs in that order for the format.
- If the list doesn't include work.formats, then work.formats is
- searched first. If it includes only the library name and no
- catalog name, the library is searched for a catalog named FORMATS.
-
- There are some other rules involving order of searching, etc,
- but I don't have the documentation here, but you get the idea, right?
- You can RTFM now that you know to look under OPTIONS FMTSEARCH?
-