Wednesday, January 4, 2017

Reflection ERROR-CODES

In our Qedit product at Robelle, we have a command called REFLECT which uses Reflection to send or receive files. We cannot display the error message at the time of the error, but we can display the code after the fact, which only is a number. I was asked what a particular error meant and couldn't find online a summary of these ERROR-CODES anywhere.

I figured that the error was in the HLP files, which are of course no longer natively supported on Windows. So I downloaded the helper program for .HLP files and found the error-codes definitions in the RCL help file:

The magical ERROR-CODE meanings:
The following errors can be referenced with the ERROR-CODE function.

1 Transmit error.  CTS or DSR required; if modem connection, no DCD present.
2 EOF on file read.
3 Timeout while waiting for expected or specified data.
4 Received unexpected data from host.
5 File transfer aborted by user.
6 Fatal block number sequence error on a file transfer.
7 Received a nonprocessable message during file transfer.
8 Data message received during file transfer was not the correct packet type.

9 File transfer aborted by host program.
10 Local file does not exist.
11 File transfer failed.
12 File transfer software is incompatible with the host file transfer software.
13 Disk error detected.
14 Too many consecutive NAKs received or sent during a file transfer.
15 Could not create local file.
16 Could not execute host file transfer program.
17 User requested termination of file transfer with STOP (not ABORT).

18 Local file already exists.
19 Unexpected error detected.
20 Unsupported terminal class (relates to IBM hosts). 
21 VM in CP mode (relates to IBM hosts).
22 Bad syntax (relates to IBM hosts).
23 File transfer link failed.
24 File not updated.
25 No file selected.
26 Host software requires OLD-WRQ file transfer protocol.
101 No files were found to backup. 
103 Backup terminated by user. 

104 Backup terminated due to error. 
120 Not a valid state file. 
121 Error loading state file. 
122 Must have an external LATCI to exit.
160 Bad command. 
161 Command Language Syntax Error. 
162 Error detected while executing command. 
163 Decryption error. 
164 Buffer overflow while transmitting. 
201 System error, DDE operation not completed (DDE client error code). 
202 Insufficient memory available for the operation (DDE client error code). 

203 An invalid conversation was specified (DDE client error code). 
204 Maximum conversation count was exceeded (DDE client error code). 
205 Client message not acknowledged by server, timed out (DDE client error code). 
206 Server sent negative acknowledgment (DDE client error code). 
207 Server is busy, unable to complete DDE operation (DDE client error code).
208 Waiting for server acknowledgment of message (DDE client error code). 

209 Invalid advise-link was specified (DDE client error code). 
210 Maximum advise-link count exceeded (DDE client error code). 
211 Advise-link to item already exists (DDE client error code). 
212 Data from server is invalid or has invalid format (DDE client error code). 
251 VINT14.386 not installed. 
252 Invalid communications driver. 
253 Not enough memory to load driver. 
254 No more connection handles available. 

255 Cannot load communications driver. 
256 Cannot free overlay memory. 
257 Invalid handle. 
258 Can't find communication driver overlay. 
259 Error opening device through Windows. 
260 Required drivers not found. 
261 VINT14 memory allocation error. 
262 Port already in use. 
263 Connection already in use. 
264 Cannot connect to host. 
265 No host name specified. 
266 No more network handles available. 

267 Invalid connection name. 
268 Invalid password. 
269 Character Delay value is out of range. 
270 Line Delay value is out of range. 
271 VINT14 not compatible with DLL. 
272 Cannot delete default templates. 
273 Cannot load a library. 
274 Missing or invalid RCOMTASK.EXE. 
275 Subfunction invalid or not supported.
276 Subfunction call failed.
277 Waiting for connection to come up.

278 Cannot change a default saved connection.
279 Error attaching to server.
280 Machine setup requires using the Windows serial driver. From command window type 'SET ENHANCED-SERIAL-DATACOMM NO'.
281 Could not create socket for your  connection.Check your  network software installation and configuration.
282 Could not resolve host name.
283 Host unreachable.
284 Connection refused by host.

285 Connection timed out.
286 General connection failure.
287 Host currently busy.
288 Insufficient resources for operation.
289 Host is not in service table.
290 LAT session control block is corrupt.
291 Connection terminated by user.
292 The VINT14.386 driver defined in SYSTEM.INIis a lower version level than RCOMNG.DLL.
293 Reflection communication module is an illegal version.
294 User canceled.

295 Invalid command issued to modem.
296 Failed to detect dialtone.Modem not hooked to telephone network.
297 Remote computer did not answer. NO ANSWER
298 Could not connect to remote computer. NO CARRIER
299 Could not connect to remote computer. Line is busy.
300 Could not communicate with the modem. Modem power is off or connection path is incorrect.
301 No modems installed.
302 Could not translate international phone number.No dialing plans defined.

303 User Changed Connection Options.
304 Could not connect using saved connection.The saved connection has been removed.
305 Required communication software is not supported in this environment.
306 Not attached to server.
307 Cannot detach from server while other NLAT connections are open.
308 Configuration string contains no keywords.
309 Value for keyword is invalid.
310 Configuration string contains an unknown keyword.

311 A keyword was found that has no value setting.
312 Unknown connection type requested.
313 Keyword value cannot be changed while a connection is open.
314 Changing a connection type while a connection exists is not allowed.
315 A value for a keyword exceeds the maximum allowable length.
316 Length of the keyword is too long.
317 Attempt to set a keyword to an unknown value.
318 Unable to open the reflect.ini file.

319 The reflect.ini file is write protected.
320 Could not translate phone number.Unbalanced dialing variable expression.
321 Could not translate phone number.Unknown dialing variable used.
322 Reflection cannot establish another session because this would exceed the limit established by your system administrator.
323 Invalid phone number.
324 Configuration string contains an inappropriate keyword for the current connection type.

325 Cannot open specified com port.
326 Cannot set transmit and receive buffer size for the specified com port.
327 Cannot set time out value for the specified com port.
328 Cannot configure the specified com port.
329 Connection failure. Please make sure your TCP/IP network is properly is installed. Push Help for network trouble shooting information.
330 Your modem responded to the command  with an error.  Click OK to ignore the error and continue.

331 NetWare User Name is invalid.
332 NetWare Password is required.
333 NetWare User Name or Password is invalid.
334 NetWare User Name required.
335 Unable to load all NLAT resources.Try quitting some other applications.
336 Unable to start NLAT.The NLATTask module is missing.
337  has a version level of .Reflection requires that this module have a version level greater than or equal to .

Thursday, December 8, 2016

Extracting Pieces of Binary Dates

Extracting Pieces of Binary Dates

We recently received the following inquiry about extracting out portions of year, month and day, from numeric dates: Support Team,
Here is what I need to do, I have an I2 field with a date stored in YYYYMMDD format and what I need to be able to do is redefine the field so I can get to each piece. example:
    booking-date[1],4 = Century
    booking-date[5],2 = Month
    booking-date[7],2 = Day
Our response:
There is a way to isolate year, month and day in one step. It just involves some simple math in order to do what you want. It is not entirely obvious how to do this though. Myfile is a file with a double integer date field called "a" in the format ccyymmdd, below is a method to extract each portion.
>in myfile
>def year,1,4,display
>def month,1,2,display
>def day,1,2,display
>ext year=a / 10000
>ext month=(a / 100) mod 100
>ext day=a mod 100
>list
>xeq
>IN MYFILE.NEIL.GREEN (0) >OUT $NULL (0)
YEAR            = 2005           MONTH           = 2
DAY             = 7
You can also use the $edit function to isolate portions of the date and make the date more readable.
>in myfile
>def dispdata,1,10,byte
>ext dispdata=$edit(a,"9999 99 99")
>list
>xeq
>IN MYFILE.NEIL.GREEN (0) >OUT $NULL (0)
DISPDATA        = 2005 02 07

HP-UX for MPE users

My paper on HP-UX for MPE users. Posted for posterity. HP-UX for MPE Users

Disk IO papers and Anecdotes

An older disc IO paper that still have some relevance still in this day and age.

Living with 400 IO's per second

 However, it is interesting to note that with IO performance even on SSD has interesting anecdotes. 

The Myth of SSD Performance Degredation

Thursday, December 1, 2016

HP MPE Manuals and Papers

HP MPE Manuals

ALLBASE NET User’s Guide
ALLBASE/SQL Advanced Application Programming Guide
ALLBASE/SQL C Application Programming Guide
ALLBASE/SQL COBOL Application Programming Guide
ALLBASE/SQL Database Administration Guide
ALLBASE/SQL FORTRAN Application Programming Guide
ALLBASE/SQL Message Manual
ALLBASE/SQL Pascal Application Programming Guide
ALLBASE/SQL Performance and Monitoring Guidelines
ALLBASE/SQL Reference Manual
APPC Subsystem on MPE/XL Node Manager’s Guide
Accessing Files Programmer’s Guide
Accessing Files Programmer’s Guide
Add-On Membory Card Installation Guide, 99X and T-Class
Allbase/SQL Reference Manual
Allbase/SQL Release 3 Notes
Allbase/SQL Release G2 Release Notes
Asynchronous Serial Communications Programmer’s Reference Manual
Auto/Restart/XL User’s Guide
Avoiding Pitfalls in Multi-language ProgrammingHigh Availability Cluster/iX User’s Manual
BSTORE Reference Manual
Basic System Problem Analysis
Berkeley Sockets/iX Reference Guide
CI Programming 2004 HP World
CPU Upgrade Manual (9x9KS)
Command Interpreter Access and Variables Programmer’s Guide
Communicator 3000 (6.0)
Communicator 3000 (6.5)
Communicator 3000 (PowerPatch 1 based on 6.0)
Communicator 3000 (PowerPatch 7 based on 5.5)
Communicator 7.0 PowerPatch 2
Communicator 7.5
Communicator MPE/IX 6.5 PP 5
Communicator MPE/iX 6.5 Express 2
Communicator MPE/iX 6.5 PP 6
Communicator MPE/iX 7.0 Express 1
Communicator MPE/iX 7.0 PP3
Communicator MPE/iX 7.5 PP 1
Communicator MPE/iX 7.5 PP 5
Communicator MPE/iX 7.5 PP2
Communicator MPE/iX 7.5 PP3
Configuration and Managing MPE/iX Internet Services
Configuring Systems for Terminals, Printers, and Other Serial Devices
Configuring Systems for Terminals, Printers, and Other Serial Devices
Configuring and Managing Host-Based X.25 Links
Configuring and Managing MPE/iX Internet Services
Configuring and Managing MPE/iX Internet Services
Configuring and Managing MPE/iX Internet Services
Customizing Terminal and Printer Type Files with the Workstation Configurator
DBChange Plus Technical Addendum for MPE/iX Release 4.0
DBChange Plus User’s Guide
DCE for the HP 3000
DCE for the HP e3000
Data Types Conversion Programmer’s Guide
Database Management system Reference Manual
Database Update
Dictionary/3000
EDIT/3000 Reference Manual
Enhancing the HP e3000 User Interface
Expansion Cabinet Installation Guide (99X/Family)
FC MPE Paths
FCOPY Reference Manual
Firmware Update Guide (99X/Family)
Firmware Update Quick Reference (99X/T-Class)
Generic Disk Driver Enhancement
Getting Started as an MPE/iX Programmer
Getting Started with HP IMAGE/SQL
Getting Started with Sendmail
HAFO Training Session
HP 3000 9X9KS Site Preparation and Requirements Guide
HP 3000 CS 99x/890/T500 Families Operator’s GuideA
HP 3000 MPE/iX System Software Maintenance Manual (5.5)
HP 3000 MPE/iX System Software Maintenance Manual (6.0)
HP 3000 MPE/iX System Software Maintenance Manual (6.5)
HP 3000 Machine Instruction Set
HP 3000 Middleware
HP 3000 Series 9X8LX Computer Systems: Commands Reference
HP 3000 Series 9X8LX Computer Systems: Getting Started
HP 3000 Series 9X8LX Computer Systems: Task Reference Man- ual
HP 3000 Series 9X8LX Computer Systems: Understanding Your System
HP 3000 Series 9X8LX/RX Computer Systems Inst. and Configu- ration Guide
HP 3000 and HP 9000 PA-RISC Computer System Support Log
HP 3000/iX Network Planning and Configuration Guide
HP ALLBASE/4GL Developer Administration Manual
HP ALLBASE/4GL Developer Quick Reference Guide
HP ALLBASE/4GL Developer Reference Manual Vol 1
HP ALLBASE/4GL Developer Reference Manual Vol 2
HP ALLBASE/4GL Developer Self-Paced Training Guide
HP ALLBASE/BRW Reference Manual
HP ALLBASE/BRW SW Update Notice for MPE/iX (BRW A.01.50)
HP ALLBASE/BRW Tutorial
HP ARPA File Transfer Protocol User’s Guide
HP Allbase / 4GL Software Update Notice
HP Allbase/4GL
HP Browse/XL User’s Guide
HP Business Basic/XL Reference Manual
HP C Programmer’s Guide
HP C/iX Library Reference Manual
HP C/iX Reference Manual
HP COBOL II/XL Programmer’s Guide
HP COBOL II/XL Quick Reference Guide
HP COBOL II/XL Reference Manual
HP Data Entry and Forms Mgmt System (VPLUS) Reference Manual
HP Driver for JDBC User’s Manual
HP EDIT Reference Manual
HP Edit Reference Manual
HP FORTRAN 77/iX Migration Guide
HP FORTRAN 77/iX Programmer’s Guide
HP FORTRAN 77/iX Reference Manual
HP GlancePlus User’s Manual
HP IMAGE/SQL Administration Guide
HP Link Editor/iX Reference Manual
HP Link Editor/iX Technical Addendum
HP OpenView Console Manager’s Guide
HP OpenView Console User’s Guide
HP PA-RISC Computer Systems Integrated Cabinet Installation Guide (9X9KS)
HP PA-RISC Computer Systems System Upgrade Guide (9X9KS)
HP Pascal/iX Programmer’s Manual
HP Pascal/iX Reference Manual
HP Performance Collection Software User’s Manual
HP RPG/XL Programmer’s Guide
HP RPG/XL Utilities
HP RPG/iX Reference Manual
HP RPG/iX Reference Manual Software Update Notice
HP SNA Products Remote System Configuration Guide
HP SNMP/XL User’s Guide
HP SRC Technical Addendum
HP Search/XL User’s Guide
HP Security Monitor/iX Manager’s Guide
HP Security Monitor/iX User’s Guide
HP Symbolic Debugger/iX User’s Guide
HP System Dictionary XL Gen Ref. Vol. 2
HP System Dictionary/XL Cobol Definition Extractor Reference Manual
HP System Dictionary/XL SDMAIN
HP System Dictionary/XL Utilities
HP TRANSACT Documentation Update Notice
HP TRANSACT Quick Reference Guide
HP TRANSACT Reference Manual
HP Telnet/iX User’s Guide
HP Transact Documentation Update Notice
HP e3000 Web Server CGI Programming
HP e3000 fibre Channel Mass Storage Adapters Service and User Manual
HP e3000/iX Network Planning and Configuration Guide
HP-PB 100Base-T Network Adapter Installation and Service Guide
HP-PB 100VG-AnyLAN Network Adapter Installation and Ser- vice Guide
HP3000/9x9KS Installation Guide3000-9x9ks
High-Level Screen Management Intrinsics Library Reference Manual
I/O Upgrade Manual (9X9KS)
IPC Communications Programmer’s Guide
ISQL Reference Manual for ALLBASE/SQL and IMAGE/SQL
Image threads Investigation Report
Installation Guide (99X Family)
Installation Guide HP 30000 9x9KS
Installation/Upgrade Procedures for SHAREPLEX
Installing and Managing HP ARPA File Transfer Protocol Network Manager’s Guide
Internal Peripherals Update Guide (9X9KS)
Introduction to MPE/XL for MPE V Programmers
Introduction to MPE/XL for MPE V System Administrators
Introduction to MPE/XL for MPE V System Administrators
Is Your e3000 Environment Secure
KSAM/3000 Reference Manual
LU 6.2 API Application Programmer’s Reference Guide
Learning HP EDIT
Legato NetWorker ClientPak and Storage Node for MPE/iX Users Guide
Legato NetWorker ClientPak and Storage Node for MPE/iX Installation Guide
Legato NetWorker ClientPak for MPE/iX Installation Guide
Legato NetWorker ClientPak for MPE/iX Release 5.0 Supplement
Legato NetWorker ClientPak for MPE/iX Users Guide
Legato Networker ClientPak and Storage Node for MPE/iX Release 5.5 Supplement
LineJet Printers Cabinet and Pedestal Model Installation Instructions
MPE 7.5 Transitions
MPE CI Programming for 7.5
MPE Segmenter Reference Manual30000-90011
MPE System Analysis
MPE V to MPE XL: Getting Started Mentor’s Guide
MPE V to MPE XL: Getting Started Self-Paced Training
MPE/iX 7.5 Enhancements
MPE/iX 7.5 Performance
MPE/iX 7.5 Update
MPE/iX AIF: OS Reference Manual
MPE/iX Commands Reference Manual
MPE/iX Commands Reference Manual
MPE/iX Commands Reference Manual
MPE/iX Commands Reference Manual
MPE/iX Developer’s Kit Reference Manual Vol 1
MPE/iX Developer’s Kit Reference Manual Vol 2
MPE/iX Documentation Guide
MPE/iX Documentation Guide
MPE/iX Error Messages Manual Vol 1
MPE/iX Error Messages Manual Vol 2
MPE/iX Error Messages Manual Vol 3
MPE/iX Error Messages Manual Volume II
MPE/iX Error Messages Manual Volume II
MPE/iX Error Messages Manual Volume III
MPE/iX Glossary of Terms and Acronyms
MPE/iX Glossary of Terms and Acronyms
MPE/iX Glossary of Terms and Acronyms
MPE/iX HP 3000 Series 99X Software Startup Manual
MPE/iX Intrinsics Reference Manual
MPE/iX Intrinsics Reference Manual
MPE/iX Intrinsics Reference Manual
MPE/iX Quick Reference Guide
MPE/iX Quick Reference Guide
MPE/iX Shell and Utilities Reference Manual Vol 1
MPE/iX Shell and Utilities Reference Manual Vol 2
MPE/iX System Utilities Reference Manual
MPE/iX System Utilities Reference Manual
MPE/iX System Utilities Reference Manual
Manager’s Guide to MPE/iX Security
Mark Bixby Internet and Interoperability Update
Mark Bixby Is Your e3000 Environment Secure
Mark Bixby Open-Source Development on MPE
Message Catalogs Programmer’s Guide
Migration Process Guide30367-90019
Migration Process Guide
Mirrored Disk/iX User’s Guide30349-90005
Mirrored Disk/iX User’s Guide
NBSpool Release Notes Version 9.7
NBSpool for MPE Reference Guide
NS 3000/iX Error Messages Reference Manual
NS 3000/iX NMMGR Screens Reference Manual
NS 30000/iX Operations and Maintenance Reference Manual
NS3000/iX Error Messages Reference Manual
NS3000/iX NMMGR Screens Reference Manual
NS3000/iX Operations and Maintenance Reference Manual
Native Language Programmer’s Guide
Native Mode Spooler Reference Manual
NetBase Release Notes Version 9.7
NetBase SQL Shadowing Handbook
NetBase for MPE Reference Guide
NetIPC 3000/XL Programmer’s Reference Manual
NetIPC to BSD Sockets and DSCOPY to FTP
Network Performance: An MPE/iX Overview
Network Performance
Network Security: An MPE/iX Overview
New Features of MPE/iX: Using the Hierarchical File System
ODBCLINK/SE Reference Manual
ODBCLink/SE Reference Manual
OnOn Hong Internet Security on your HP 3000
Operator’s Guide (99X Family)
Optimizing Backup with HP Turbo Store/iX
Options for Managing a DTC Remotely
PCL-II LinePrinter Plus
Performance Migrated Applications
Performance of Migrated HP e3000 Applications Kevin Cooper
Performing System Management Tasks
Performing System Operation Tasks
Perl Programming on MPE/iX 2001
Perl Programming on MPE/iX
Porting Open Source applications on MPE/iX
Power Patch 5 Communicator for MPE/iX 5.5
Process Management Programmer’s Guide
Programming and Posix HP
Programming and Posix SS 2001
Programming and Posix
QMS Code V Technical Reference Manual
QRG HP Software Revision Controller
QUERY Reference Manual for MPE/iX
Query/V Reference Manual
Resource Management Programmer’s Guide
SCSI Fibre Channel Router
SCSI Pass Through Programmers Guide
SCSI-FC Router
SCSI-Fibre Channel Router Support Handbook
SIB 04 CI Info functions
SNA IMF Programmer’s Reference Manual
SNA IMF/XL Node Manager’s Guide
SNA Link/iX Node Manager’s Guide
SNA NRJE Node Manager’s Guide
SNA NRJE User/Programmer Reference Manual
SORT-MERGE/XL General User’s Guide
SORT-MERGE/XL Programmer’s Guide
SPL to HP C/XL
STORE and TurboSTORE/iX Products Manual
Securing FTP on MPE/iX
Server Side Java with Apache/iX
Site Preparation and Requirements Guide (99X Family)
Software Maintenance Manual MPE/iX 6.5
Sort-MERGE/XL General Users Guide
Sort-Merge/XL Programmer’s Guide
Store and TurboStore/iX
Switch Programming Guide
System Debug Reference Manual
System Debug Reference Manual
System Debug Reference Manual
System Dictionary/XL General Reference VOL 1
System Memory Upgrade Guide (9X9KS)
System Software Maintenance Manual C.75.00
System Startup, Configuration, and Shutdown Reference Manual
System Startup, Configuration, and Shutdown Reference Manual
System Startup, Configuration, and Shutdown Reference Manual
System Upgrade Installation Guide (CS 99X Family) (991/995 to 996)
System Upgrade Installation Guide (CS 99X Family) (990/992 to 996)
System Upgrade Installation Guide HP 3000 99x Family, T-Class
Systems Programming Language Reference Manual
Trap Handling Programmer’s Guide
Troubleshooting Terminal, Printer and Serial Device Connections
Troubleshooting Terminal, Printer, and Serial Device Connections
TurboIMAGE/XL Database Management System Reference Manual
TurboImage Database tools
Turbostore 7×24 Overview
Up and Running with ALLBASE/SQL
User Logging Programmer’s Guide
User’s Guide to MPE/iX Security
Using HP 3000: Advanced Skills Tutorial
Using HP 3000: Fundamental Skills Tutorial
Using KSAM XL
Using KSAM/XL
Using NS 3000/iX Network Services
Using NS3000/iX Network Services
Using SNA IMF Pass Thru
Using VPLUS An Intro to Forms Design Self-Paced Training Guide
Using VPLUS An Introl to forms Design Self-Paced Training Guide
Using the HP 3000 Workload Manager
Using the Node Management Services (NMS) Utilities
Using the Node Management Services NMS Utilities
VISTA Plus for MPE Administrators Guide
VISTA Plus for MPE User’s Guide
VISTA Release Notes Version A.07
Volume Management Reference Manual
Web Enabling Your HP e3000 Applications and Data Access

Ascii,Octal,Decimal, Binary data Table

Ascii Table

Dec Hex Oct HTML Chr Binary
00000NUL(null)00000000
11001 (start of heading)00000001
22002 (start of text)00000010
33003 ETX(end of text)00000011
44004EOT(end of transmission)00000100
55005ENQ(enquiry)00000101
66006ACK(acknowledge)00000110
77007BEL(bell)00000111
88010BS(backspace)00001000
99011TAB(horizontal tab)00001001
10A012LF(LineFeed)00001010
11B013VT(vertical tab)00001011
12C014FF(NP form feed)00001100
13D015CR(carriage return)00001101
14E016SO(shift out)00001110
15F017SI(shift in)00001111
1610020DLE(device link escape)00010000
1711021DC1(device control 1)00010001
1812022 DC2(device control 2)00010010
1913023DC3(device control 3)00010011
2014024DC4(device control 4)00010100
2115025NAK(negative acknowledge)00010101
2216026SYN(synchronous idle)00010110
2317027ETB(end of trans. block)00010111
2418030CAN(cancel)00011000
2519031EM(end of medium)00011001
261A032SUB(substitute)00011010
271B033ESC(escape) 00011011
281C034FS(file separator)00011100
291D035GS(group separator)00011101
301E036RS(record separator) 00011110
311F037US(unit separator)00011111
3220040 Space00100000
3321041!!00100001
3422042""00100010
3523043##00100011
3624044$$00100100
3725045%%00100101
3826046&&00100110
3927047''00100111
4028050((00101000
4129051))00101001
422A052**00101010
432B053++00101011
442C054,,00101100
452D055--00101101
462E056..00101110
472F057//00101111
48300600000110000
49310611100110001
50320622200110010
51330633300110011
52340644400110100
53350655500110101
54360666600110110
55370677700110111
56380708800111000
57390719900111001
583A072::00111010
593B073&#59;;00111011
603C074&#60;<00111100
613D075&#61;=00111101
623E076&#62;>00111110
633F077&#63;?00111111
6440100&#64;@01000000
6541101&#65;A01000001
6642102&#66;B01000010
6743103&#67;C01000011
6844104&#68;D01000100
6945105&#69;E01000101
7046106&#70;F01000110
7147107&#71;G01000111
7248110&#72;H01001000
7349111&#73;I01001001
744A112&#74;J01001010
754B113&#75;K01001011
764C114&#76;L01001100
774D115&#77;M01001101
784E116&#78;N01001110
794F117&#79;O01001111
8050120&#80;P01010000
8151121&#81;Q01010001
8252122&#82;R01010010
8353123&#83;S01010011
8454124&#84;T01010100
8555125&#85;U01010101
8656126&#86;V01010110
8757127&#87;W01010111
8858130&#88;X01011000
8959131&#89;Y01011001
905A132&#90;Z01011010
915B133&#91;[01011011
925C134&#92;\01011100
935D135&#93;]01011101
945E136&#94;^01011110
955F137&#95;_01011111
9660140&#96;`01100000
9761141&#97;a01100001
9862142&#98;b01100010
9963143&#99;c01100011
10064144&#100;d01100100
10165145&#101;e01100101
10266146&#102;f01100110
10367147&#103;g01100111
10468150&#104;h01101000
10569151&#105;i01101001
1066A152&#106;j01101010
1076B153&#107;k01101011
1086C154&#108;l01101100
1096D155&#109;m01101101
1106E156&#110;n01100100
1116F157&#111;o01100101
11270160&#112;p01110000
11371161&#113;q01110001
11472162&#114;r01110010
11573163&#115;s01110011
11674164&#116;t01110100
11775165&#117;u01110101
11876166&#118;v01110110
11977167&#119;w01110111
12078170&#120;x01111001
12179171&#121;y01111010
1227A172&#122;z01111011
1237B173&#123;{01111111
1247C174&#124;|01111100
1257D175&#125;}01111101
1267E176&#126;~01111110
1277F177&#127;DEL01111111

Removing Spaces

Removing Spaces

I recently needed to remove a bunch of spaces and needed to compress some data down and found that tr -s was exactly what I needed.


 more taxref
 6212301245700000123456    00000588005617512580            JOHN SMITH           0042158657802577
 6212301245700000123456    00000588005617512580            JOHN SMITH           0042198757802577
 6212301245700000123456    00000600005617512580            SHARON JONES         0042198757802577
 6212301245700000123456    00000588005617512580            JOHN SMITH                     0042158657802577
 6212301245700000123456    00000588005617512580            JOHN SMITH                     0042198757802577
 6212301245700000123456    00000600005617512580            SHARON JONES              0042198757802577
 tr -s " " >newtax
 more newtax
 6212301245700000123456 00000588005617512580 JOHN SMITH 0042158657802577
 6212301245700000123456 00000588005617512580 JOHN SMITH 0042198757802577
 6212301245700000123456 00000600005617512580 SHARON JONES 0042198757802577
 6212301245700000123456 00000588005617512580 JOHN SMITH 0042158657802577
 6212301245700000123456 00000588005617512580 JOHN SMITH 0042198757802577
 6212301245700000123456 00000600005617512580 SHARON JONES 0042198757802577					

Although this may not be exactly what you need it certainly helped me compress down some data and get ride of a lot of extraneous spaces.