IBM Support

Insert a page break character (Hex 0x0C) into the output data of a map with an extended rule in Sterling B2B Integrator, Sterling Gentran:Server for Microsoft Windows, or Sterling Gentran:Server for UNIX

Question & Answer


Question

How do you insert a page break character (Hex 0x0C) into the output data of a map with an extended rule?

Cause

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 Sterling B2B Integrator 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 must be assigned to an actual PCDATA or attribute.

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Mapping and Translation","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF027","label":"Solaris"},{"code":"PF016","label":"Linux"},{"code":"PF012","label":"IBM i"},{"code":"PF010","label":"HP-UX"},{"code":"PF002","label":"AIX"}],"Version":"5.2.6;5.2.5;5.2.4;5.2.3;5.2.2;5.2.1;5.2;5.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6V5U","label":"Sterling Gentran:Server for UNIX"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Mapping and Translation","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6V3G","label":"Sterling Gentran:Server for Microsoft Windows"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"Mapping and Translation","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

PRI13553;SCI78760

Document Information

Modified date:
04 January 2019

UID

swg21525807