home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / sasl / 5730 < prev    next >
Encoding:
Text File  |  1993-01-23  |  2.4 KB  |  53 lines

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