home *** CD-ROM | disk | FTP | other *** search
- ;C
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ EXAMPLE # 6 ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ │
- └─────────────────────────────────────────────────────────────────────────────┘
- ┌─────────────────────────────────────────────────────────────────────────────┐
- │ │
- │ │
- │ THE INPUT FILE: List of applicants at a hiring agency. This file is a │
- │ fixed-length (non-text) file, so there are no carriage │
- │ returns or line feeds. Each record is 123 characters │
- │ wide. │
- │ │
- │ │
- │ WHAT WE WANT: Convert the file to comma-delimited format. │
- │ │
- │ │
- │ HOW WE DO IT: (1) We use the CHOP command to break up fixed-length │
- │ data into individual 123-character lines. │
- │ (2) We use TRIM to remove spaces. │
- │ │
- │ │
- └─────────────────────────────────────────────────────────────────────────────┘
-
- ;P
-