![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Numbers of records in SAS dataset | sasaliasim | Shell Programming and Scripting | 2 | 04-21-2008 01:55 PM |
| loop number of records. | vasuarjula | Shell Programming and Scripting | 1 | 02-16-2008 07:11 PM |
| finding null records in data file | dsravan | Shell Programming and Scripting | 3 | 01-09-2007 11:46 AM |
| awk - Number of records | suman_jakkula | Shell Programming and Scripting | 1 | 09-08-2006 05:13 AM |
| Number of records in a file | sish78 | Shell Programming and Scripting | 20 | 07-05-2006 07:14 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Finding number of records in SAS dataset
I am running the following Korn shell script:
#!/usr/bin/ksh num_records=`sas "select count(*) from /users/abc/123/sasdata.sas7bdat"` echo "$num_records" The script keeps returning an invalid file error even though I am certain that the file really exists. Does anyone see anything wrong with the syntax of the "select" statement? |
| Forum Sponsor | ||
|
|