Hexadecimal Dump
Sequential File, 256-byte Records
  Table of Contents  v-24.01.01 - hxn25601.htm 
  Introduction
  Programming Objectives
  Programming Overview
  Programming Requirements
  Data Input and Output
  Data Input
  Data Output from EBCDIC-encoded File
  Data Output from ASCII-encoded File
  Hex-Dump, non-Display Data
  CMD for Hex-Dump
  JCL for Hex-Dump
  Summary
  Software Agreement and Disclaimer
  Downloads and Links
  Current Server or Internet Access
  Internet Access Required
  Glossary of Terms
  Contact or Feedback
  Company Overview
The SimoTime Home Page 

Table of Contents Previous Section Next Section Introduction

This suite of programs performs Sequential File I/O and HEX-Dump formatting (or hexadecimal display) of a Sequential File containing 256-Byte, fixed-length records using Micro Focus COBOL. The COBOL programs read the sequential file and dumps the input records to an output file in Hexadecimal format. This suite of programs will run on a Mainframe System with ZOS or a Linux, UNIX or Windows System with Micro Focus Enterprise Developer/Server.

This document will focus on how to create hexadecimal dump information and is 1 of 5 documents from the following list.

The following is a list of the five (5) documents included in this model for data management functions of non-relational data structures. The functions include data conversion (file structure and record content), record presentation in hexadecimal format with possible ASCII and EBCDIC character translations and the accumulation of summary totals with record counts.

Link to Internet   Link to Server   Explore the ASCII and EBCDIC data conversion techniques for a file that contains text strings and numeric fields of various formats such as BINARY, PACKED-Decimal and ZONED-Decimal. A Mainframe System and the COBOL programming language supports a variety of different numeric formats that will be discussed in this document.

Link to Internet   Link to Server   Explore how to create hexadecimal dump information of the records in a sequential file. The records may contain text strings and numeric fields of various formats such as BINARY, PACKED-Decimal and ZONED-Decimal. In addition to the Hex-Dump information the possible ASCII and EBCDIC character will be identified.

Link to Internet   Link to Server   Explore how to accumulate summary totals for currency or numeric fields that are defined (or formatted) as Binary, Packed Decimal or Zoned Decimal. The record count is included as one of the summary totals.

Link to Internet   Link to Server   Explore how to create a file that contains text and binary data. This document describes a model for creating a record sequential file that contains text strings that use EBCDIC or ASCII encoding and various numeric formats such as BINARY, PACKED-Decimal and ZONED-Decimal. This model has the capability of creating a test file for an ASCII or EBCDIC encoded environment. This document will address many of the challenges of doing a record content conversion of a file that will be transferred between an EBCDIC-encoded Mainframe System and an ASCII-encoded Linux, UNIX or Windows System.

Link to Internet   Link to Server   Explore how to generate programs (or COBOL source code) to perform various data management functions for non-relational data structures. The functions described in this document include data conversion (file structure and record content), hexadecimal dumps and summary totals accumulation.


We have made a significant effort to ensure the documents and software technologies are correct and accurate. We reserve the right to make changes without notice at any time. The function delivered in this version is based upon the enhancement requests from a specific group of users. The intent is to provide changes as the need arises and in a timeframe that is dependent upon the availability of resources.

Copyright © 1987-2025
SimoTime Technologies and Services
All Rights Reserved

Table of Contents Previous Section Next Section Programming Objectives

This example illustrates the following functions.

1 Describe how to read a sequential file containing 256-byte fixed-length records..
2 Describe how to translate each character within a record to it's two-byte hexadecimal equivalent. Write the Hex information along with the ASCII and EBCDIC characters to a new file.
3 Provide an example of JCL to run the job on a Mainframe System with ZOS or a Linux, UNIX or Windows System with Micro Focus Enterprise Developer.
4 Maintain a single set of COBOL source code that will run on OS/390 Windows and UNIX.
  Objectives and Functions of the Hexadecimal Dump Programs

Table of Contents Previous Section Next Section Programming Overview

The following is a flowchart of the job for executing the HEX-Dump programs.

             
Entry Point
ZOS
Entry Point
Windows
   
   
HXN256J1
jcl
HXN256W1
cmd
Submit or start the Job
   
   
IEFBR14
Utility
IF Exist
statement
Delete previously created output files
   
   
 
 
   
   
 
 
   
   
SYSUT1
rseq/256
 
 
HXR256C1
cbl
   
   
SYSPROBE
vseq
Read Sequential File, create HEX Dump outputn
   
   
   
   
   
SIMOHEX4
cbl
CallableHex-Dump Routine
   
EOJ
End-Of-Job
 
Overview for Sequential File to Hex Dump Logic Flow

The main program (HXR256C1) will read a Sequential file containing 256-byte, fixed-length records and write a block of records containing Hex-Dump formatted information to an output file. The source code for the CMD file, the JCL member and the COBOL programs is provided and may need to be modified to compile and execute in your environment.

Color Associations: The  light-green  boxes are unique to SIMOTIME Technologies using an IBM Mainframe System or Micro Focus Enterprise Developer. The  light-red  boxes are unique to the SIMOTIME Technologies using a Linux, UNIX or Windows System and COBOL Technologies such as Micro Focus. The  light-yellow  boxes are SIMOTIME Technologies, Third-party Technologies, decision points or program transitions in the processing logic or program generations. The  light-blue  boxes identify the input/output data structures such as Documents, Spreadsheets, Data Files, VSAM Data Sets, Partitioned Data Set Members (PDSM's) or Relational Tables. The  light-gray  boxes identify a system function or an informational item.

Table of Contents Previous Section Next Section Programming Requirements

This suite of samples programs will run on the following platforms.

1 Executes on an IBM Mainframe running ZOS. The COBOL programs comply with ANSI/85 and run with COBOL/2, COBOL for MVS and COBOL for OS/390.
2 Executes on Windows/XP, Windows/7 or Windows Server using Micro Focus Enterprise Developer.
3 May be ported to run on the Linux or UNIX platforms supported by Micro Focus.
  Operating System and Supporting Software Requirements

Table of Contents Previous Section Next Section Data Input and Output

The following sub-sections describe the hex-dump information is presented to the user.

Table of Contents Previous Section Next Section Data Input

The input is a record sequential file containing fixed-length records. The record length is 256 bytes. The records contain text strings and various numeric values that are defined as binary, packed-decimal or zoned-decimal (COMPUTATIONAL, COMPUTATIONAL-3 or USAGE IS DISPLAY).

Table of Contents Previous Section Next Section Data Output from EBCDIC-encoded File

The hexadecimal dump for a data file is presented as five (5) lines of information. The 1st line is a position indicator. The 2nd line is the possible character interpretation for an ASCII encoding schema. The 3rd line is the hexadecimal value (0-9 and A-F) for the high-order nibble (or first 4 bits) of the byte. The 4th line is the hexadecimal value (0-9 and A-F) for the low-order nibble (or second 4 bits) of the byte. The 5th line is the possible character interpretation for an EBCDIC encoding schema.

The following is an example of a hex-dump for an EBCDIC encoded file.

*******************************************************************************
* HXR256C1 Batch, HEX-Dump for RSEQ LRECL=256 v15.09.23   helpdesk@simotime.com
* HXR256C1 This Data File HexDump Member was generated by SimoTime Technologies
*******************************************************************************
Starting  - Batch, HEX-Dump for RSEQ LRECL=256          http://www.SimoTime.com
*
....:...10....:...20....:...30....:...40....:...50....:...60....:...70....:...80....:...90....:..100....:..110....:..120....:..130....:..140....:..150....:..160....:..170....:..180....:..190....:..200....:..210....:..220....:..230....:..240....:..250......
ÁãÁÇ....ñ@@@@@@@@@@@@@@@@@@@@@@@ÿÿÎNÿÿÏÇÿí)¦ÿ..Àÿô..1...09..ÖZ..â@.....r-.4].4R-.#Em.-...r/.4_.4R/.#Eo./....ñò.òÒñòóôÕñòóôõòÒñòóôõÖñÒ....ñò.òòñòóôõñòóôõòòñòóôõöñò@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ÅÕÄ....ñ
CECCFFFFF44444444444444444444444FFC4FFCCFE2AFF1CFF003B003301D500E400001721351352024602001721351352024602FFFFFFFFDFFFFDFFFFFFDFFFFFDFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFF44444444444444444444444444444444444444444444444444444444444444444444444444444444444444CDCFFFFF
13170000100000000000000000000000FFEEFFF7FD96FED0F400120009026A01200C0022D24D242D135D1D0022F24F242F135F1F00001272212345123452212345612000012722123451234522123456120000000000000000000000000000000000000000000000000000000000000000000000000000000000000055400001
ATAG00001                       ŸŸó+ŸŸõGŸÒ.wŸÚ.{Ÿ4...¥......O!..S .....Ê...)..ê...á_.....Ê...¬..ê...á?..00001272K1234N123452K12345O1K00001272212345123452212345612                                                                                      END00001
*
....:...10....:...20....:...30....:...40....:...50....:...60....:...70....:...80....:...90....:..100....:..110....:..120....:..130....:..140....:..150....:..160....:..170....:..180....:..190....:..200....:..210....:..220....:..230....:..240....:..250......
ÁãÁÇ....ò@@@@@@@@@@@@@@@@@@@@@@@....ÿÿü.ÿÿÿ8ÿÿÿýÿü.......è...È................ ....=.M.......... ....?.O..........ñ.......ò.......Ó.Ô..........ñ.......ò.......ó.ô@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ÅÕÄ....ò
CECCFFFFF444444444444444444444440000FFF1FFF3FFFFFF0000000E000C000000000000000020000304000000000020000304FFFFFFFFFFFFFDFFFFFFDFFFFFDFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFF44444444444444444444444444444444444444444444444444444444444444444444444444444444444444CDCFFFFF
131700002000000000000000000000000000FFC8FFF8FFFDFC0000003800080003040000C10D000D000D0D0000F10F000F000F0F00000000001000000020000000304000000000010000000200000003040000000000000000000000000000000000000000000000000000000000000000000000000000000000000055400002
ATAG00002                       ....ŸŸÜ.ŸŸŸ.ŸŸŸÙŸÜ.......Y...H................€......(..........€......|0000000000100}000020}00000L0M00000000001000000020000000304                                                                                      END00002
*
....:...10....:...20....:...30....:...40....:...50....:...60....:...70....:...80....:...90....:..100....:..110....:..120....:..130....:..140....:..150....:..160....:..170....:..180....:..190....:..200....:..210....:..220....:..230....:..240....:..250......
ÁãÁÇ....ó@@@@@@@@@@@@@@@@@@@@@@@ÿÿ..ÿÿè.ÿÿýDÿÿÿøÿ....ô...p.............P......p..........P......p......Ÿ......õ...ö...............Ø.Ù......õ...ö...............ø.ù@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ÅÕÄ....ó
CECCFFFFF44444444444444444444444FFF0FFE9FFF4FFFFFF000F0017000B000000000500000070000809000500000070000809FFFFFFFFDFFFFDFFFFFFDFFFFFDFDFFFFFFFFFFFFFFFFFFFFFFFFFFFFF44444444444444444444444444444444444444444444444444444444444444444444444444444444444444CDCFFFFF
13170000300000000000000000000000FFECFF80FFD4FFF8F700140070002C0008090000D60D000D000D0D0000F60F000F000F0F00000050006000000070000000809000000500060000000700000008090000000000000000000000000000000000000000000000000000000000000000000000000000000000000055400003
ATAG00003                       ŸŸÚ.ŸŸY.ŸŸÙàŸŸŸ8Ÿ7...4...ø.............&......ø....ý.....&......ø....+..00000050}0600}000070}00000Q0R00000050006000000070000000809                                                                                      END00003

*******************************************************************************
Conclude  - Batch, HEX-Dump for RSEQ LRECL=256
000000003 - Record count for SYSUT1
000000000 - Record count for SYSUT2

Table of Contents Previous Section Next Section Data Output from ASCII-encoded File

The hexadecimal dump for a data file is presented as five (5) lines of information. The 1st line is a position indicator. The 2nd line is the possible character interpretation for an ASCII encoding schema. The 3rd line is the hexadecimal value (0-9 and A-F) for the high-order nibble (or first 4 bits) of the byte. The 4th line is the hexadecimal value (0-9 and A-F) for the low-order nibble (or second 4 bits) of the byte. The 5th line is the possible character interpretation for an EBCDIC encoding schema.

The following is an example of a hex-dump for an ASCII encoded file.

*******************************************************************************
* HXR256C1 Batch, HEX-Dump for RSEQ LRECL=256 v15.09.23   helpdesk@simotime.com
* HXR256C1 This Data File HexDump Member was generated by SimoTime Technologies
*******************************************************************************
Starting  - Batch, HEX-Dump for RSEQ LRECL=256          http://www.SimoTime.com
*
....:...10....:...20....:...30....:...40....:...50....:...60....:...70....:...80....:...90....:..100....:..110....:..120....:..130....:..140....:..150....:..160....:..170....:..180....:..190....:..200....:..210....:..220....:..230....:..240....:..250......
ATAG00001                       ÿÿÎNÿÿÏÇÿí)¦ÿ..Àÿô..1...09..ÖZ..â@.....r-.4].4R-.#Em.-...r/.4_.4R/.#Eo./00001272r1234u123452r12345v1r00001272212345123452212345612                                                                                      END00001
45443333322222222222222222222222FFC4FFCCFE2AFF1CFF003B003301D500E40000172135135202460200172135135202460233333333733337333333733333737333333333333333333333333333332222222222222222222222222222222222222222222222222222222222222222222222222222222222222244433333
14170000100000000000000000000000FFEEFFF7FD96FED0F400120009026A01200C0022D24D242D135D1D0022F24F242F135F1F0000127221234512345221234561200001272212345123452212345612000000000000000000000000000000000000000000000000000000000000000000000000000000000000005E400001
.è.å.....€€€€€€€€€€€€€€€€€€€€€€€ŸŸó+ŸŸõGŸÒ.wŸÚ.{Ÿ4...¥......O!..S .....Ê...)..ê...á_.....Ê...¬..ê...á?..........Ê....Í......Ê.....Î.Ê.............................€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€á+à.....
*
....:...10....:...20....:...30....:...40....:...50....:...60....:...70....:...80....:...90....:..100....:..110....:..120....:..130....:..140....:..150....:..160....:..170....:..180....:..190....:..200....:..210....:..220....:..230....:..240....:..250......
ATAG00002                       ....ÿÿü.ÿÿÿ8ÿÿÿýÿü.......è...È................ ....=.M.......... ....?.O0000000000100p000020p00000s0t00000000001000000020000000304                                                                                      END00002
454433333222222222222222222222220000FFF1FFF3FFFFFF0000000E000C00000000000000002000030400000000002000030433333333333337333333733333737333333333333333333333333333332222222222222222222222222222222222222222222222222222222222222222222222222222222222222244433333
141700002000000000000000000000000000FFC8FFF8FFFDFC0000003800080003040000C10D000D000D0D0000F10F000F000F0F0000000000100000002000000030400000000001000000020000000304000000000000000000000000000000000000000000000000000000000000000000000000000000000000005E400002
.è.å.....€€€€€€€€€€€€€€€€€€€€€€€....ŸŸÜ.ŸŸŸ.ŸŸŸÙŸÜ.......Y...H................€......(..........€......|.............ø......ø.....Ë.È.............................€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€á+à.....
*
....:...10....:...20....:...30....:...40....:...50....:...60....:...70....:...80....:...90....:..100....:..110....:..120....:..130....:..140....:..150....:..160....:..170....:..180....:..190....:..200....:..210....:..220....:..230....:..240....:..250......
ATAG00003                       ÿÿ..ÿÿè.ÿÿýDÿÿÿøÿ....ô...p.............P......p..........P......p......Ÿ00000050p0600p000070p00000x0y00000050006000000070000000809                                                                                      END00003
45443333322222222222222222222222FFF0FFE9FFF4FFFFFF000F0017000B00000000050000007000080900050000007000080933333333733337333333733333737333333333333333333333333333332222222222222222222222222222222222222222222222222222222222222222222222222222222222222244433333
14170000300000000000000000000000FFECFF80FFD4FFF8F700140070002C0008090000D60D000D000D0D0000F60F000F000F0F0000005000600000007000000080900000050006000000070000000809000000000000000000000000000000000000000000000000000000000000000000000000000000000000005E400003
.è.å.....€€€€€€€€€€€€€€€€€€€€€€€ŸŸÚ.ŸŸY.ŸŸÙàŸŸŸ8Ÿ7...4...ø.............&......ø....ý.....&......ø....+..........ø....ø......ø.....Ì.`.............................€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€á+à.....

*******************************************************************************
Conclude  - Batch, HEX-Dump for RSEQ LRECL=256
000000003 - Record count for SYSUT1
000000000 - Record count for SYSUT2

Table of Contents Previous Section Next Section Hex-Dump, non-Display Data

The following sub-sections describe the CMD file and JCL Member used to create a file of Hex-Dump information of a file that contains non-display characters (i.e. packed and binary numbers).

Table of Contents Previous Section Next Section CMD for Hex-Dump

The following (HXN256W1.cmd) is an example of a Windows CMD needed to run this job and produce a file of HEX-Dump information. This CMD will also run on a Windows platform using Micro Focus COBOL.

@echo OFF
rem  * *******************************************************************
rem  *               HXN256W1.CMD - a Windows Command File               *
rem  *         This program is provided by SimoTime Technologies         *
rem  *           (C) Copyright 1987-2019 All Rights Reserved             *
rem  *             Web Site URL:   http://www.simotime.com               *
rem  *                   e-mail:   helpdesk@simotime.com                 *
rem  * *******************************************************************
rem  *
rem  * Text   - Read RSEQ, write HEX-Dump RSEQ.
rem  * Author - SimoTime Technologies
rem  * Date   - January 24, 1996
rem  *
rem  * The job will read an ASCII-encoded record sequential file and
rem  * write to a new Hex-Dump record sequential file.
rem  *
rem  *    ************
rem  *    * HXN256W1 *
rem  *    ********cmd*
rem  *         *
rem  *         *
rem  *    ************
rem  *    * ENV1BASE *
rem  *    ********cmd*
rem  *         *
rem  *         *
rem  *    ************
rem  *    * SimoNOTE *
rem  *    ********cmd*
rem  *         *
rem  *         *
rem  *    ************
rem  *    *   CMD    *---------------------------*
rem  *    ********win*                           *
rem  *         *           ************     ************     ************
rem  *         *           * INSTREAM *-----*   ECHO   *-----* GETLS080 *
rem  *         *           *******lseq*     ********cmd*     *******lseq*
rem  *         *
rem  *         *
rem  *    ************
rem  *    *   RUN    *---------------------------*
rem  *    ********rts*                           *
rem  *         *           ************     ************     ************
rem  *         *           * GETLS080 *-----* CV80ALAR *-----* PUTRS080 *
rem  *         *           *******lseq*     ********cmd*     *******rseq*
rem  *         *
rem  *         *
rem  *    ************
rem  *    *   RUN    *---------------------------*
rem  *    ********rts*                           *
rem  *         *           ************     ************
rem  *         *           *  SYSUT1  *--*--* HXR256C1 *
rem  *         *           *******rseq*  *  ********cbl*
rem  *         *                         *       *
rem  *         *           ************  *  ************     ************
rem  *         *           *  SYSUT3  *--*  * SIMOV32K *-----* SYSPROBE *
rem  *         *           *******rseq*     ********cbl*     *******vseq*
rem  *    ************
rem  *    *   EOJ    *
rem  *    ************
rem  *
rem  * *******************************************************************
rem  * Set Environment Variables and map system file names.
rem  *
     call ..\Env1BASE
     set CmdName=HXN256W1
     set SYSOUT=%BaseLib1%\LOGS\SYSOUT_%CmdName%.txt
rem  *
     call SimoNOTE "*******************************************************%CmdName%"
     call SimoNOTE "Starting JobName %CmdName%, User is %USERNAME%"
rem  *
rem  * *******************************************************************
rem  * Step 1, Pipe records to LSEQ Control file using ECHO command
rem  *
     call SimoNOTE "Identify JobStep Step-1, Pipe records to LSEQ Control file using ECHO command"
     set GETLS080=%BaseLib1%\DATA\WRK1\SIMOTIME.HEXCNTL.MKN256U0.DAT
     echo /RANGE     2 10>%GETLS080%
rem  *
rem  * *******************************************************************
rem  * Step 2, Read LSEQ, create an RSEQ Control file
rem  *
     call SimoNOTE "Identify JobStep Step-2, Read LSEQ, create an RSEQ Control file"
     set PUTRS080=%BaseLib1%\DATA\APPL\SIMOTIME.HEXCNTL.MKN256U1.DAT
     run CV80ALAR
rem  *
rem  * *******************************************************************
rem  * Step 3, Read RSEQ Control and Data file, create Hex-Dump VREC
rem  *
     call SimoNOTE "Identify JobStep Step-3, Read RSEQ Control and Data file, create Hex-Dump VREC"
     set   SYSUT1=%BaseLib1%\DATA\ASC1\SIMOASC1.HEXDATA.MKN256D1.DAT
     set   SYSUT3=%PUTRS080%
     set SYSPROBE=%BaseLib1%\DATA\ASC1\SIMOASC1.HEXDUMP.MKN25601.DAT
     call SimoNOTE "DataTake RSEQ   SYSUT1=%SYSUT1%"
     call SimoNOTE "RecRange RSEQ   SYSUT3=%SYSUT3%"
     call SimoNOTE "DataDump VSEQ SYSPROBE=%SYSPROBE%"
     run HXR256C1
     if not "%ERRORLEVEL%" == "0" set JobStatus=0010
     if not "%JobStatus%" == "0000" goto EojNOK
rem  *
rem  * *******************************************************************
rem  * End-of-Job processing...
rem  *
:EojAOK
     call SimoNOTE "Finished CmdName %CmdName%, Job Status is %JobStatus%"
     goto :End
:EojNOK
     call SimoNOTE "ABENDING CmdName %CmdName%, Job Status is %JobStatus%"
     echo %DATE% - %TIME% Starting User ABEND Processing...>>%SYSLOG%
     set >>%SYSLOG%
     echo %DATE% - %TIME% Complete User ABEND Processing...>>%SYSLOG%
     goto :End
:End
     call SimoNOTE "Conclude SYSOUT is %SYSOUT%"
     if not "%1" == "nopause" pause
     exit /B %JobStatus%

Table of Contents Previous Section Next Section JCL for Hex-Dump

The following (HXN256J1.jcl) is an example of a JCL member needed to run this job and produce a file of HEX-Dump information. This job will run on a Mainframe System with ZOS or a Linux, UNIX or Windows System with Micro Focus Enterprise Developer.

//HXN256J21 JOB SIMOTIME,CLASS=1,MSGCLASS=0,NOTIFY=CSIP1
//* *******************************************************************
//*       HXN256J1.jcl - a JCL Member for Batch Job Processing        *
//*       This JCL Member is provided by SimoTime Technologies        *
//*           (C) Copyright 1987-2019 All Rights Reserved             *
//*             Web Site URL:   http://www.simotime.com               *
//*                   e-mail:   helpdesk@simotime.com                 *
//* *******************************************************************
//*
//* Text   - Hex-Dump of Sequential file containing 256-byte records.
//* Author - SimoTime Technologies
//* Date   - January 24, 1996
//*
//* This job will read an ASCII-encoded record sequential file.
//* Step 1, JOBSETUP will delete any previously.
//* Step 2, HEXDUMP1 will produce a Hex-Dump of the user data file.
//*
//* This set of programs will run on a mainframe under ZOS or on a
//* Windows System and Micro Focus Enterprise Server or Studio.
//*
//* 1. Demonstrate how to use IEFBR14 with DD statements to delete
//*    files that have been created by a previous execution of this
//*    job.
//* 5. Demonstrate how to create a Hexadecimal Dump of a Sequential
//*    file containing 256-byte, fixed-length records.
//*
//* *******************************************************************
//* Step 1 of 2, Delete any previously created file...
//*
//JOBSETUP EXEC PGM=IEFBR14
//IEFUT1   DD  DSN=SIMOTIME.HEXDUMP.MKA256D1,
//             DISP=(MOD,DELETE,DELETE),
//             STORCLAS=MFI,
//             SPACE=(TRK,5),
//             DCB=(RECFM=FB,LRECL=256,DSORG=PS)
//SYSPROBE DD  DSN=SIMOTIME.HEXDUMP.MKA256V1,
//             DISP=(MOD,DELETE,DELETE),
//             STORCLAS=MFI,
//             SPACE=(TRK,5),
//             DCB=(RECFM=V,LRECL=32760,DSORG=PS)
//*
//* *******************************************************************
//* Step 2 of 2, Produce a Hex-Dump of the ASCII-encoded file...
//*
//HEXDUMP1 EXEC PGM=HXR256C1
//SYSUT1   DD  DSN=SIMOTIME.HEXRSEQ.MKA256D1,
//             DISP=SHR
//SYSUT2   DD  DSN=SIMOTIME.HEXDUMP.MKA256D1,
//             DISP=(NEW,CATLG,DELETE),
//             STORCLAS=MFI,
//             SPACE=(TRK,5),
//             DCB=(RECFM=FB,LRECL=256,DSORG=PS)
//SYSPROBE DD  DSN=SIMOTIME.HEXDUMP.MKA256V1,
//             DISP=(NEW,CATLG,DELETE),
//             STORCLAS=MFI,
//             SPACE=(TRK,5),
//             DCB=(RECFM=V,LRECL=32760,DSORG=PS)
//SYSOUT   DD  SYSOUT=*
//*
//

Table of Contents Previous Section Next Section Summary

The purpose of this program is to provide examples for accessing a Sequential file and creating a new Sequential file containing Hexadecimal Dump information. This document may be used as a tutorial for new programmers or as a quick reference for experienced programmers.

In the world of programming there are many ways to solve a problem. This documentation and software were developed and tested on systems that are configured for a SIMOTIME environment based on the hardware, operating systems, user requirements and security requirements. Therefore, adjustments may be needed to execute the jobs and programs when transferred to a system of a different architecture or configuration.

SIMOTIME Services has experience in moving or sharing data or application processing across a variety of systems. For additional information about SIMOTIME Services or Technologies please contact us using the information in the  Contact or Feedback  section of this document.

Table of Contents Previous Section Next Section Software Agreement and Disclaimer

Permission to use, copy, modify and distribute this software, documentation or training material for any purpose requires a fee to be paid to SimoTime Technologies. Once the fee is received by SimoTime the latest version of the software, documentation or training material will be delivered and a license will be granted for use within an enterprise, provided the SimoTime copyright notice appear on all copies of the software. The SimoTime name or Logo may not be used in any advertising or publicity pertaining to the use of the software without the written permission of SimoTime Technologies.

SimoTime Technologies makes no warranty or representations about the suitability of the software, documentation or learning material for any purpose. It is provided "AS IS" without any expressed or implied warranty, including the implied warranties of merchantability, fitness for a particular purpose and non-infringement. SimoTime Technologies shall not be liable for any direct, indirect, special or consequential damages resulting from the loss of use, data or projects, whether in an action of contract or tort, arising out of or in connection with the use or performance of this software, documentation or training material.

Table of Contents Previous Section Next Section Downloads and Links

This section includes links to documents with additional information that are beyond the scope and purpose of this document. The first group of documents may be available from a local system or via an internet connection, the second group of documents will require an internet connection.

Note: A SimoTime License is required for the items to be made available on a local system or server.

Table of Contents Previous Section Next Section Current Server or Internet Access

The following links may be to the current server or to the Internet.

Note: The latest versions of the SimoTime Documents and Program Suites are available on the Internet and may be accessed using the Link to Internet icon. If a user has a SimoTime Enterprise License the Documents and Program Suites may be available on a local server and accessed using the Link to Server icon.

Link to Internet   Link to Server   Explore The ASCII and EBCDIC Translation Tables. These tables are provided for individuals that need to better understand the bit structures and differences of the encoding formats.

Link to Internet   Link to Server   Explore The File Status Return Codes that are used to interpret the results of accessing VSAM data sets and/or QSAM files.

Table of Contents Previous Section Next Section Internet Access Required

The following links will require an internet connect.

A good place to start is The SimoTime Home Page for access to white papers, program examples and product information. This link requires an Internet Connection

Explore The Micro Focus Web Site for more information about products (including Micro Focus COBOL) and services available from Micro Focus. This link requires an Internet Connection.

Table of Contents Previous Section Next Section Glossary of Terms

Link to Internet   Link to Server   Explore the Glossary of Terms for a list of terms and definitions used in this suite of documents and white papers.

Table of Contents Previous Section Next Section Contact or Feedback

This document was created and is maintained by SimoTime Technologies. If you have any questions, suggestions, comments or feedback please use the following contact information.

1. Send an e-mail to our helpdesk.
1.1. helpdesk@simotime.com.
2. Our telephone numbers are as follows.
2.1. 1 415 763-9430 office-helpdesk
2.2. 1 415 827-7045 mobile

 

We appreciate hearing from you.

Table of Contents Previous Section Next Section Company Overview

SimoTime Technologies was founded in 1987 and is a privately owned company. We specialize in the creation and deployment of business applications using new or existing technologies and services. We have a team of individuals that understand the broad range of technologies being used in today's environments. Our customers include small businesses using Internet technologies to corporations using very large mainframe systems.

Quite often, to reach larger markets or provide a higher level of service to existing customers it requires the newer Internet technologies to work in a complementary manner with existing corporate mainframe systems. We specialize in preparing applications and the associated data that are currently residing on a single platform to be distributed across a variety of platforms.

Preparing the application programs will require the transfer of source members that will be compiled and deployed on the target platform. The data will need to be transferred between the systems and may need to be converted and validated at various stages within the process. SimoTime has the technology, services and experience to assist in the application and data management tasks involved with doing business in a multi-system environment.

Whether you want to use the Internet to expand into new market segments or as a delivery vehicle for existing business functions simply give us a call or check the web site at http://www.simotime.com


Return-to-Top
Hexadecimal Dump of a Sequential or ASCII/Text File
Copyright © 1987-2025
SimoTime Technologies and Services
All Rights Reserved
When technology complements business
http://www.simotime.com