LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (July 1997, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 30 Jul 1997 14:46:04 +0500
Reply-To:     Bernard Tremblay <bernard@CAPITALE.QC.CA>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Bernard Tremblay <bernard@CAPITALE.QC.CA>
Subject:      Re: scl calls within a data step?
Comments: cc: eusdee1@EXU.ERICSSON.SE

Hi,

Why not use PROC SQL and query the dictionary.options table ??? or second option use the getoption(optname) function.

example:

85 data f1; 86 ls=input(getoption('linesize'),3.); 87 put ls=; 88 run;

LS=225 NOTE: The data set WORK1.F1 has 1 observations and 1 variables. NOTE: Compressing data set WORK1.F1 decreased size by 0.00 percent. Compressed is 1 pages; un-compressed would require 1 pages. NOTE: DATA statement used: real time 1.710 seconds cpu time 0.107 seconds

Regards, Bernard Tremblay \\\|/// \\ - - // ( @ @ ) +------oOOo-(_)-oOOo----------+---------------------------------+ | Bernard Tremblay | | | La Capitale | Tel: (418) 646-2401 | | | Fax: (418) 646-5960 | | | Int: bernard@capitale.qc.ca | +-----------------------------+---------------------------------+ | Imaginasys enr | Res: (418) 878-4447 | | | Int: bertrem@quebectel.com | +---------------Oooo----------+---------------------------------+ oooO ( ) ( ) ) / \ ( (_/ \_) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

>>>From owner-sas-l@UGA.CC.UGA.EDU Tue Jul 29 11:29 EDT 1997 >>>Date: Tue, 29 Jul 1997 10:28:14 -0500 >>>From: Dwight Eggers <eusdee1@EXU.ERICSSON.SE> >>>Subject: scl calls within a data step? >>>To: SAS-L@UGA.CC.UGA.EDU >>> >>>In the past I recall postings regarding undocumented features of >>>base SAS of making calls to scl functions within a data step. Is >>>there better documentation now? Has this been presented at a SUGI? >>> >>>What I am specifically looking for is a way to query individual options, >>>similar to the OPTGET* scl functions. The only way I have of doing this >>>now is with a PROC OPTIONS step with output to a dataset, then a datastep >>>to reformat this output to parse out the desired setting. A macro or >>>some way to invoke this set of scl functions would be a much more >>>efficient way of handling this. >>> >>>Dwight.Eggers@ericsson.com >>>


Back to: Top of message | Previous page | Main SAS-L page