Hybrid Integration 10.2 | Integrating On-Premises Applications | Processing Flat Files | Flat File Byte Count Parser | Stateful Encodings
 
Stateful Encodings
 
Writing Stateful Encodings
The parser can read any well-formed document that adheres to the rules of the document’s particular kind of encoding. The parser can only write to files that have fixed length fields or delimited records.
Note: Escape encodings behave similarly to stateful encodings. The parser truncates characters preceding the escape sequence so that the integrity of the escape sequence is maintained.
Stateful encodings have two specific bytes that indicate when the record’s state has changed:
*| is a “shift-in” byte that indicates a change from the normal state to an alternate state
*O (the character O, not zero) is a “shift-out” byte that indicates a change from the alternate state to the normal state

Copyright © 2015- 2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release