As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.


Here are some tips for How to share your SAS knowledge with your professional network.


Difference between revisions of "File:Nobs.sas"

From sasCommunity
Jump to: navigation, search
(/* Name: nobs.sas Copyright (C) 2007 Ronald J. Fehd ---------------------------------------------------------------------- Requirements : description : given a data set returns the number of observations)
 
m (fixed [header] code formatting)
Line 1: Line 1:
 
  /*      Name: nobs.sas            Copyright (C) 2007 Ronald J. Fehd
 
  /*      Name: nobs.sas            Copyright (C) 2007 Ronald J. Fehd
 
+
----------------------------------------------------------------------
+
----------------------------------------------------------------------
Requirements  : description  : given a data set
+
Requirements  : description  : given a data set
                              returns the number of observations
+
                                returns the number of observations
                purpose      : provide function
+
                purpose      : provide function
 
+
----------------------------------------------------------------------
+
----------------------------------------------------------------------
Contexts      : program group: development
+
Contexts      : program group: development
                program  type: subroutine
+
                program  type: subroutine
                SAS      type: macro, function
+
                SAS      type: macro, function
                uses routines: none
+
                uses routines: none
 
+
----------------------------------------------------------------------
+
----------------------------------------------------------------------
Specifications: input  : required: data set name
+
Specifications: input  : required: data set name
                        optional: name of attribute: in (nobs, nlobs)
+
                          optional: name of attribute: in (nobs, nlobs)
 
+
                process: check for errors
+
                process: check for errors
                        check for exist(data set)
+
                          check for exist(data set)
                        open  data set, get attribute
+
                          open  data set, get attribute
                        return value
+
                          return value
 
+
                output : value
+
                output : value

Revision as of 12:49, 28 September 2017

/*       Name: nobs.sas             Copyright (C) 2007 Ronald J. Fehd

----------------------------------------------------------------------
Requirements  : description  : given a data set
                               returns the number of observations
                purpose      : provide function

----------------------------------------------------------------------
Contexts      : program group: development
                program  type: subroutine
                SAS      type: macro, function
                uses routines: none

----------------------------------------------------------------------
Specifications: input  : required: data set name
                         optional: name of attribute: in (nobs, nlobs)

                process: check for errors
                         check for exist(data set)
                         open  data set, get attribute
                         return value

                output : value

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current12:38, 5 April 2007 (4 KB)Rjf2 (Talk | contribs) /* Name: nobs.sas Copyright (C) 2007 Ronald J. Fehd ---------------------------------------------------------------------- Requirements : description : given a data set returns the number of observation
  • You cannot overwrite this file.

The following page links to this file: