|
View previous topic :: View next topic
|
| Author |
Message |
bcmohanty
New User
Joined: 17 May 2006 Posts: 17
|
|
|
|
is there any utility to count number of charecter in a file........
WARNING: TITLE EDITED |
|
| Back to top |
|
 |
cpuhawg
Active User

Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
If you can edit or browse the file in TSO, you can search using a picture string:
| Code: |
Example - ===> find p'?' 1 find non-blank in column 1
A picture string is a quoted string that is preceded or followed by the
letter "P". It can contain blanks, alphabetic and numeric characters
which represent themselves, or any of the special characters listed
below, each of which represents a class of characters.
= any character . invalid characters
@ alphabetic characters - non-numeric characters
# numeric characters < lower case alphabetics
$ special characters > upper case alphabetics
? non-blank characters
|
The command would be:
? can be found using SHIFT and the number 6. This would not count blanks. If you want to include blanks:
|
|
| Back to top |
|
 |
chayanath
New User
Joined: 07 Mar 2005 Posts: 6 Location: vijayawda
|
|
|
|
hi,
Go to fileaid,,In primary option menu select option 8...Give ur data set in single quotes...u will be taken to next screen asking for the function to enter.. then type TALLY hit enter...all the statistics pertaining to file that includes no of rec's.. no of characters..etc r displayed..type enter when u r prompted again....
Hope This may help uuu
Chaya |
|
| Back to top |
|
 |
bcmohanty
New User
Joined: 17 May 2006 Posts: 17
|
|
|
|
no friend,
in file aid u can coynt only the number of records but not number of charecters |
|
| Back to top |
|
 |
|
|