CUDUMP01
Hex Dump for Customer Master
  Table of Contents  v-24.01.01 - cudump01.htm 
  Introduction
  Execute
  Diagram of Hex-Dump Process
  Sample Hex-Dump Output
  CMD, Hex-Dump
  JCL, Hex-Dump
  Prepare
  Generate a Hex-Dump Program
  Technical Details
  Compiler Directives
  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

The generated program will create a Hexadecimal dump file (or HEXDUMP) of user-defined records in the Customer Master VSAM, Key Sequenced Data Set (KSDS).

The CUDUMP01 program was generated using SimoTime Technologies. The generated program will compile and execute on a Linux, UNIX or Windows System with Micro Focus Enterprise Developer/Server, version 2.2 or later.

The CUDUMP01 program should compile and execute on a ZOS Mainframe. The JOB statement and the data set names (DSN's) will need to be changed to comply with security and naming standards on the host mainframe system. A call to a sub-program is used to write the Hex-Dump information to a sequential file that contains variable length records. Both the generated program and the sub-program would need to be compiled on the target system for execution.

Note:  The unit testing was done on a Windows System with Micro Focus Enterprise Developer configured for an ASCII-encoded environment.


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-2024
SimoTime Technologies and Services
All Rights Reserved

Table of Contents Previous Section Next Section Execute

This section will focus on the execution process for unit testing.

Table of Contents Previous Section Next Section Diagram of Hex-Dump Process

The following diagram shows the batch processing and data flow for a job that will do a HEX-Dump of user-defined records in a VSAM, KSDS.

                 
CUDUMPJ1
jcl
CUDUMPW1
cmd
Start Hex-Dump processing for a VSAM, KSDS
   
   
 
 
   
   
 
 
   
   
   
   
 
 
 
 
   
   
   
SYSUT1
see Note-1
   
   
CUDUMPC1
cbl
Read files and call Dump routine
   
   
   
   
SYSUT2
see Note-2
   
   
if SYSUT2
End-of-File
 
 
Yes
 
 
EOJ
if End-of-File go to End-of-Job
   
No
   
call
 
 
SIMOV32K
see Note-3
 
 
SYSPROBE
vrec
Post Dump Info to SYSPROBE
   
   
 
 
 
 
 
 
 
 
   
   
 
Note-1: SYSUT1 identifies the VSAM, KSDS Customer Master.
Note-2: SYSUT2 identifies the Record Sequential File that contains a list of primary keys.
Note-3: A callable program that does the dump formatting and write to SYSPROBE file.
Batch Processing, A Hexadecimal Dump Program

The VSAM, KSDS for this example is the Customer Master.

Table of Contents Previous Section Next Section Sample Hex-Dump Output

The following shows the HEX-Dump of user-defined records in a VSAM, KSDS.

This is the Hex-Dump of the records in the Customer Master File. The records were selected by using a control file that contained a list of primary keys.

The 1st line is the record position indicator.
The 2nd line is the possible EBCDIC character or symbol.
The 3rd line is the high-order nibble of the byte for the Hex-dump.
The 4th line is the low-order nibble of the byte for the Hex-dump.
The 5th line is the possible ASCII character or symbol.

********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
* CUHEXKC3 HEX-Dump by Key for KSDS 512/1-12  v18.06.01   helpdesk@simotime.com
* CUHEXKC3 This Data File HexDump Member was generated by SimoTime Technologies
********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
Starting, HEX-Dump by Key for KSDS 512/1-12  http://www.SimoTime.com
/USERKEY   000000000010
....:...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....:..260....:..270....:..280....:..290....:..300....:..310....:..320....:..330....:..340....:..350....:..360....:..370....:..380....:..390....:..400....:..410....:..420....:..430....:..440....:..450....:..460....:..470....:..480....:..490....:..500....:..510..
............€θ/`%?Κ€€€€€€€€€€€€€€€€€€€€€€α%Ρ:/ΒΑΘΗ€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€.€η/`ΑΛ€λΘΚΑΑΘ€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€.>ΕΑ%ΑΛ€€€€€€€€€€€€€€€€€€€€€&κ€€€€€€€€€€€€€€€€€€€€€€€€€€.....€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€...........€€€€€€€€.......€€€€€€€€.......€€€€€€€€...................€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€
33333333333325676672222222222222222222222466766676222222222222222222222222222222232467672577667222222222222222222222222222222222222222222222222222222222222222222222222222222222246666672222222222222222222225522222222222222222222222222333332222222222222222222222222222222222222222222222222222222222222000000333332222222200333332222222200333332222222233333333333333333332222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000100419CF200000000000000000000005C9A1254800000000000000000000000000000008081953034255400000000000000000000000000000000000000000000000000000000000000000000000000000000001E75C530000000000000000000000200000000000000000000000000006110000000000000000000000000000000000000000000000000000000000000000F00000000000000000000000000000000000000000000020180703134025850000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000010 Taylor                      Elizabeth                               8 Hayes Street                                                                                  Angeles                     PR                          00611                                                             ......00000        ..00000        ..00000        2018070313402585000
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
/USERKEY   123456789012, Record not found
/USERKEY   000000000225
....:...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....:..260....:..270....:..280....:..290....:..300....:..310....:..320....:..330....:..340....:..350....:..360....:..370....:..380....:..390....:..400....:..410....:..420....:..430....:..440....:..450....:..460....:..470....:..480....:..490....:..500....:..510..
............€η/ΚΞΑ`€€€€€€€€€€€€€€€€€€€€€€+?Κ_/>€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€....€&/ΔΡΓΡΔ€.ΞΑ>ΝΑ€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€η?%`?,Α€€€€€€€€€€€€€€€€€€€€€(.€€€€€€€€€€€€€€€€€€€€€€€€€€.....€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€...........€€€€€€€€.......€€€€€€€€.......€€€€€€€€...................€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€
33333333333324677672222222222222222222222467666222222222222222222222222222222222233332566666624766762222222222222222222222222222222222222222222222222222222222222222222222222222246676662222222222222222222224422222222222222222222222222333332222222222222222222222222222222222222222222222222222222222222000000333332222222200333332222222200333332222222233333333333333333332222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
00000000022508126590000000000000000000000EF2D1E00000000000000000000000000000000008607001396930165E55000000000000000000000000000000000000000000000000000000000000000000000000000008FC9FB5000000000000000000000D100000000000000000000000000010400000000000000000000000000000000000000000000000000000000000000000F00000000000000000000000000000000000000000000020180703134025850000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000225 Harvey                      Norman                                  8607 Pacific Avenue                                                                             Holyoke                     MA                          01040                                                             ......00000        ..00000        ..00000        2018070313402585000
/USERKEY   000000000194
....:...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....:..260....:..270....:..280....:..290....:..300....:..310....:..320....:..330....:..340....:..350....:..360....:..370....:..380....:..390....:..400....:..410....:..420....:..430....:..440....:..450....:..460....:..470....:..480....:..490....:..500....:..510..
............€δΗ/ΞΑ:€€€€€€€€€€€€€€€€€€€€€€.>>ΡΑ€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€..€οΡ%%?Ο€δ?ΝΚΘ€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€δ/Κ?%Ρ>/€€€€€€€€€€€€€€€€€€€€&κ€€€€€€€€€€€€€€€€€€€€€€€€€€.....€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€...........€€€€€€€€.......€€€€€€€€.......€€€€€€€€...................€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€
33333333333324667672222222222222222222222466662222222222222222222222222222222222233256666724677722222222222222222222222222222222222222222222222222222222222222222222222222222222246766666222222222222222222225522222222222222222222222222333332222222222222222222222222222222222222222222222222222222222222000000333332222222200333332222222200333332222222233333333333333333332222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
000000000194038165A00000000000000000000001EE950000000000000000000000000000000000089079CCF703F524000000000000000000000000000000000000000000000000000000000000000000000000000000000312FC9E1000000000000000000000200000000000000000000000000009880000000000000000000000000000000000000000000000000000000000000000F00000000000000000000000000000000000000000000020180703134025850000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000194 Chavez                      Annie                                   89 Willow Court                                                                                 Carolina                    PR                          00988                                                             ......00000        ..00000        ..00000        2018070313402585000
/USERKEY   000000000020
....:...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....:..260....:..270....:..280....:..290....:..300....:..310....:..320....:..330....:..340....:..350....:..360....:..370....:..380....:..390....:..400....:..410....:..420....:..430....:..440....:..450....:..460....:..470....:..480....:..490....:..500....:..510..
............€κ?ΒΡ>Λ?>€€€€€€€€€€€€€€€€€€€€ΰ?Κ?ΘΗ`€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€....€λ/>Λ?_Α€λΘΚΑΑΘ€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€δ/ΛΘ/>ΑΚ€€€€€€€€€€€€€€€€€€€€&κ€€€€€€€€€€€€€€€€€€€€€€€€€€.....€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€...........€€€€€€€€.......€€€€€€€€.......€€€€€€€€...................€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€€
33333333333325666676622222222222222222222467676722222222222222222222222222222222233332566766625776672222222222222222222222222222222222222222222222222222222222222222222222222222246776667222222222222222222225522222222222222222222222222333332222222222222222222222222222222222222222222222222222222222222000000333332222222200333332222222200333332222222233333333333333333332222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
00000000002002F29E3FE000000000000000000004F2F4890000000000000000000000000000000009805031E3FD503425540000000000000000000000000000000000000000000000000000000000000000000000000000031341E52000000000000000000000200000000000000000000000000006310000000000000000000000000000000000000000000000000000000000000000F00000000000000000000000000000000000000000000020180703134025850000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000020 Robinson                    Dorothy                                 9805 Sansome Street                                                                             Castaner                    PR                          00631                                                             ......00000        ..00000        ..00000        2018070313402585000

********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
Conclude, HEX-Dump by Key for KSDS 512/1-12
000000004 - Line count for SYSUT1
000000004 - Line count for SYSUT2

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

The following is a Windows Command File (CUDUMPW1.cmd) that is used to produce a Hex Dump of user-defined records contained within a VSAM, KSDS.

@echo OFF
rem  * *******************************************************************
rem  *               CUDUMPW1.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 KSDS, write HEX-Dump RSEQ.
rem  * Author - SimoTime Technologies
rem  * Date   - January 24, 1996
rem  *
rem  * The job will read a VSAM, KSDS and write
rem  * to a new Hex-Dump record sequential file.
rem  *
rem  *    ************
rem  *    * CUDUMPW1 *
rem  *    ********cmd*
rem  *         *
rem  *         *
rem  *    ************
rem  *    * ENV1BASE *
rem  *    ********cmd*
rem  *         *
rem  *         *
rem  *    ************
rem  *    * SimoNOTE *
rem  *    ********cmd*
rem  *         *
rem  *         *
rem  *    ************
rem  *    *   RUN    *---------------------------*
rem  *    ********rts*                           *
rem  *         *           ************     ************
rem  *         *           *  SYSUT1  *--*--* CUDUMPC1 *
rem  *         *           *******ksds*  *  ********cbl*
rem  *         *                         *       *
rem  *         *           ************  *  ************     ************
rem  *         *           *  SYSUT3  *--*  * SIMOV32K *-----* SYSPROBE *
rem  *         *           *******rseq*     ********cbl*     *******vseq*
rem  *    ************
rem  *    *   EOJ    *
rem  *    ************
rem  *
rem  * *******************************************************************
rem  * Step 1, Set Environment Variables
rem  *         Delete any previously created ASCII-encoded file...
rem  *
     call ..\Env1BASE
     set CmdName=CUDUMPW1
     set SYSOUT=%BaseLib1%\LOGS\SYSOUT_%CmdName%.txt
rem  *
     call SimoNOTE "*******************************************************%CmdName%"
     call SimoNOTE "Starting JobName %CmdName%, User is %USERNAME%"
     call SimoNOTE "Identify JobStep Step-1, Housekeeping tasks"
     set   SYSUT1=%BaseLib1%\DATA\APPL\SIMOTIME.DATA.CUSTMAST.DAT
     set   SYSUT3=%BaseLib1%\DATA\APPL\SIMOTIME.HEXDUMP.USERKEYS.DAT
     set SYSPROBE=%BaseLib1%\DATA\APPL\SIMOTIME.HEXDUMP.SYSPROBE.DAT
rem  *
rem  * *******************************************************************
rem  * Step 2, Create a file that is a list of Customer Numbers...
rem  *
     call SimoNOTE "Identify JobStep Step-2, Create a list of keys"
     set SYSWORK=%BaseLib1%\DATA\TXT1\SIMOTIME.HEXDUMP.USERKEYS.txt
     if exist %SYSWORK% del %SYSWORK%
rem  * ..:....1....:....2....:....3....:....4....:....5....:....6....
echo /USERKEY   000000000010>>%SYSWORK%
echo /USERKEY   000000000020>>%SYSWORK%
     call SimoNOTE "StepInfo Convert Line Sequential to Record Sequential"
     set GETLS080=%SYSWORK%
     set PUTRS080=%SYSUT3%
     if exist %PUTRS080% del %PUTRS080%
     run CV80ALAR
     if not ERRORLEVEL = 0 set JobStatus=0030
     if not %JobStatus% == 0000 goto :EojNok
rem  *
rem  * *******************************************************************
rem  * Step 3, Read KSDS, create a new Hex-Dump VREC
rem  *
     call SimoNOTE "Identify JobStep Step-3, Execute Hex-Dump Program"
     call SimoNOTE "DataTake KSA   SYSUT1=%SYSUT1%"
     call SimoNOTE "DataKeys RSA   SYSUT3=%SYSUT3%"
     call SimoNOTE "DataDump VSA SYSPROBE=%SYSPROBE%"
     run CUDUMPC1
     if not "%ERRORLEVEL%" == "0" set JobStatus=0010
     if not "%JobStatus%" == "0000" goto EojNOK
rem  *
rem  * *******************************************************************
rem  * Step 4, 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, Hex-Dump

The following is a JCL member (CUDUMPJ1.jcl) that is used to produce a Hex Dump of user-defined records contained within a VSAM, KSDS.

//CUDUMPJ1 JOB (SIMOTIME),'VSAM KSDS HEXDUMP',CLASS=1,MSGCLASS=0,
//             NOTIFY=CSIP1
//* *******************************************************************
//*       CUDUMPJ1.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 if a VSAM, KSDS for batch processing.
//* Author - SimoTime Technologies
//* Date   - January 24, 1996
//*
//*
//* This set of programs will run on a ZOS Mainframe System or on a
//* Windows System and Micro Focus Technologies.
//*
//*                     ************
//*                     * CUDUMPJ1 *
//*                     ********jcl*
//*                          *
//*    ************     ************     ************
//*    *  SYSUT1  *--*--* CUDUMPC1 *--*--* SYSPROBE *
//*    *******ksds*  *  ********cbl*  *  ************
//*                  *       *        *
//*    ************  *       *        *  ************
//*    *  SYSUT2  *--*       *        *--*  SYSOUT  *
//*    *******rseq*  *       *           ************
//*                  *       *
//*                          *
//*                     ************
//*                     *   EOJ    *
//*                     ************
//*
//* *******************************************************************
//* Step 1 of 3, Delete the previously created SYSPROBE file.
//*
//SYSLOGDT EXEC PGM=IEFBR14
//SYSPROBE DD  DSN=SIMOTIME.HEXDUMP.SYSPROBE,DISP=(MOD,DELETE,DELETE),
//             STORCLAS=MFI,
//             SPACE=(TRK,5),
//             DCB=(RECFM=V,LRECL=32760,DSORG=PS)
//*
//* *******************************************************************
//* Step 2 of 3, Allocate a new SYSPROBE file.
//* Note: The LRECL is four (4) bytes bigger than the logical record
//*       that is defined in the program that writes to SYSPROBE. This
//*       allows for the four (4) byte Record Descriptor Word (RDW)
//*       that is appended to the front of each record. The program
//*       defines the records as varying in size from 4 to 32,756.
//* Note: It is necessary to pre-allocate the SYSPROBE file. The
//*       program that does the actual file processing will do an
//*       "OPEN EXTEND".
//*       If the file is not pre-allocated, an open error will be
//*       posted and the program will execute but will only display
//*       truncated information to SYSOUT.
//*
//SYSLOGCT EXEC PGM=IEFBR14
//SYSPROBE DD  DSN=SIMOTIME.HEXDUMP.SYSPROBE,DISP=(NEW,CATLG,DELETE),
//             STORCLAS=MFI,
//             SPACE=(TRK,5),
//             DCB=(RECFM=V,LRECL=32760,DSORG=PS)
//*
//* *******************************************************************
//* Step 3 of 3, Execute the HEX Dump program.
//* Note: the dump information will be written to the SYSPROBEG file
//* *******************************************************************
//* Dump the content of the user-defined records within a VSAM, KSDS.
//*
//* The results of the dump processing is posted to the SYSPROBE File.
//*
//CUDUMPEX EXEC PGM=CUDUMPC1
//STEPLIB  DD  DSN=SIMOTIME.DEMO.LOADLIB1,DISP=SHR
//SYSUT1   DD  DSN=SIMOTIME.DATA.CUSTMAST,DISP=SHR
//SYSUT2   DD  DSN=SIMOTIME.PDS.PARMLIB(USERKEYS),DISP=SHR
//SYSPROBE DD  DSN=SIMOTIME.HEXDUMP.SYSPROBE,DISP=SHR
//SYSOUT   DD  SYSOUT=*
//

Table of Contents Previous Section Next Section Prepare

This section describes the tasks that are required prior to executing the programs in a unit testing environment.

Table of Contents Previous Section Next Section Generate a Hex-Dump Program

The following is the Process Control File (CUDUMP01.pcf) that is used to produce a Hex Dump.

***********************************************************************
*                CUDUMP01.pcf - a Process Control File                *
*    Hex-Dump for User-Defined records in the Customer Master File    *
*             (C) Copyright 1987-2019 All Rights Reserved             *
*               Web Site URL:   http://www.simotime.com               *
*                     e-mail:   helpdesk@simotime.com                 *
***********************************************************************
* SYSUT1 is the Customer Master File, Indexed, 512-byte records.       *
* SYSUT2 is a Record Sequential file, 80-byte fixed-length records.   *
***********************************************************************
* This Process Control File will be used to generate a COBOL program
* that will do a hexadecimal dump of user-defined records contained
* in the Policy Master File.
*
* Refer to http://www.simotime.com/utcomp01.htm for additional detail
* about the PCF statements for Data Validate, Dump and Compare.
*
* The following group of statements will define the high level
* functions and processes to be performed.
*
&SIMOPREP  call ..\Env1BASE
&USERPREP  call USERCOGI
&CONFORM   IBM
&COPYFILE  CUSTCB01.CPY
&HTMLFILE  custcb01.htm
&USRMODEL  SYSHEXK3.txt
*
* The following group of statements will define the behavioral
* characteristics and environment variable for the file I/O Program
* to be generated.
*
*HEAD34    ....:....1....:....2....:....3....
&HEAD34    Batch, HEX-Dump for KSDS 512/1-12
&PROGID    CUDUMPC1
*UT1READ   RANDOM
&SYSUT1    name=SYSUT1 org=indexed    recfm=fixed rlen=512 kpos=1 klen=12
&SYSUT2    name=SYSUT2 org=Sequential recfm=FIXED rlen=512
&SYSUT3    name=SYSUT3 org=Sequential recfm=FIXED rlen=80
*
* WIP...
*
&HEXDUMP   SYSUT1 pos 0001 len 512
*
&END

Table of Contents Previous Section Next Section Technical Details

This section describes additional technical details not covered in previous sections of this document.

Table of Contents Previous Section Next Section Compiler Directives

The following compiler directives were used to compile the CUDUMP01 program.

DIALECT"ENTCOBOL"
CHARSET"ASCII"
ASSIGN"EXTERNAL"
IDXFORMAT"8"
IBMCOMP
NOTRUNC
HOSTNUMMOVE
HOSTNUMCOMPARE
NOSIGNFIXUP
HOSTARITHMETIC
NOHOSTFD
CHECKNUM
ANIM
COBIDY
NOOPTIONAL-FILE
outdd"SYSOUT 121 L"
SHARE-OUTDD
DATE
TIME
DATAMAP
settings
list()
noform

Table of Contents Previous Section Next Section Summary

The generated program will create a Hexadecimal dump file (or HEXDUMP) of user-defined records in the Customer Master VSAM, Key Sequenced Data Set (KSDS). This document may be used to assist 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 How to Create Hexadecimal Dump information for the records in a Customer Master file. The Customer Master file is a VSAM, KSDS. This document describes a process for generating a single COBOL program that will read a VSAM/KSDS and write hexadecimal dump information to a sequential file. The user may define the records to be dumped by providing a list of primary keys in a control file. The Hex-Dump information is written to a user-defined sequential file. The Hex-Dump formatting and file I-O are done within the generated COBOL program. The Hex-Dump formatting provides a record structure containing all text characters. Therefore, the contents may be easily viewed using a text editor of choice.

Link to Internet   Link to Server   Explore An Enterprise System Model that describes and demonstrates how Applications that were running on a Mainframe System and non-relational data that was located on the Mainframe System were copied and deployed in a Microsoft Windows environment with Micro Focus Enterprise Server.

Link to Internet   Link to Server   Explore the COBOL Connection for more examples of COBOL programming techniques and sample code.

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 connection.

This suite of programs and documentation is available for download. Link to an Evaluation zPAK Option that includes the program members, documentation and control files.

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
CUDUMP01, Hex Dump for Customer Master
Copyright © 1987-2024
SimoTime Technologies and Services
All Rights Reserved
When technology complements business
http://www.simotime.com