Skip to main content

Problem:

The Sample demonstrates how to call _CODESET to translate character data between ASCII and EBCDIC.

Resolution:

BUILD W/RELEASE:     Any version of Server Express or Net Express

                                    or Object Cobol Developer Suite

SOURCE FILES:

==========

Program Files      Description

----------------     -----------------------------------------------------------

atoe.cbl              Sample of ASCII to EBCDIC to ASCII conversion

Note: Source is in Unix format.  It will not display correctly in Windows Notepad, but will display corectly in Wordpad. It will display, compile, and animate correctly in NetExpress.

OPERATION:

========

On NetExpress, do a debug build and animate.

On Unix: cob atoe.cbl; anim atoe.

   Step through animation, monitoring data item text-string.

   Observe translation take place on calls to _CODESET.

REFERENCES

==========

Server Express manual "Program Development",  Chapter "Internationalization Support",  Section "Converting ASCII/EBCDIC Data Using the CODESET Program"

Net Express manual "File Handling",  Chapter "Converting Data Files", Section "Converting between EBCDIC and ASCII"

==========================================================

Keywords: Example, sample, demo, demonstration, UNIX, atoe.zip

demo.ex

demo.ne

demo.se

Attachments:

Atoe.zip

Old KB# 3683