Question & Answer
Question
How to insert a page break character (Hex 0x0C) into the output data of a map via an extended rule (SCI83846) *|* -785FD5E0F1964511852579180040FEE2- *|*
Answer
Technote (FAQ)
Question
How to insert a page break character (Hex 0x0C) into the output data of a map via an extended rule (SCI83846)
Answer
A hex value can be assigned to the an output field or the WriteBlock function can be used to write a hex value to the output file.
Example of assigning the Page Break hex value to a field
#field = "^0C";
Example of using the WriteBlock Function to write the Page Break hex value to the output file.
WriteBlock("^0C");
Note for Gentran Integration Suite users only: The WriteBlock function is not supported with the XML file format. If the output side of the map is XML the hex value will have to be assigned to an actual PCDATA or attribute.
| Segment | Product | Component | Platform | Version | Edition |
|---|---|---|---|---|---|
| Commerce | Sterling Gentran:Server for UNIX | Mapping and Translation | |||
| Commerce | Sterling Gentran:Server for Microsoft Windows | Mapping and Translation |
Historical Number
PRI30309
Product Alias/Synonym
Fact
Gentran Integration Suite All Releases
Gentran:Server for Windows
All Releases
GENTRAN:Server for Windows NT All Releases
Gentran:Server for UNIX Release 6.0
Gentran:Server for UNIX Release
6.1
SCI83846
Goal
How to insert a hex character into the output data of a map via an extended
rule
Was this topic helpful?
Document Information
Modified date:
12 October 2021
UID
ibm10767505