Customer Inquiry
CICS, Access a VSAM Data Set
  Table of Contents  v-24.01.01 - cu2inq01.htm 
  Introduction
  View a Customer File Record
  Technical Details
  Customer File, Access & Structure
  COBOL Program, Customer File Inquiry
  BMS Member, Customer File Inquiry
  COBOL Copy File, Record Structure
  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 transaction identifier (or Tran ID) for viewing the records in the Customer Master File is "CUI1" and the program is "CU2INQ". This program will prompt a user for the customer number. Once a customer number is entered the program accesses the Customer Master File (CUSTMAST) and displays the customer information at the 3270 Terminal. If a customer record is not found a message is displayed. A user may continue to enter customer numbers or exit the program. The programs use command level CICS statements and display information to a 3270 terminal or terminal emulator. The programs run on an IBM Mainframe System with CICS or a Microsoft Windows System with Micro Focus Server for Mainframe Migration.


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 View a Customer File Record

After selecting the menu option or starting the transaction "CUI1" the following screen should be displayed. The cursor should be position at the first character for the "New Customer #" field. When entering a customer number it is not necessary to type the leading zeroes. For example, customer number "000000000019" only requires "19 " followed by one space character (the program will remove any characters after the initial space character and right-adjust the field with leading zero-fill). Press the "Enter" key to retrieve and display the customer information. The following screen shows the results after pressing the "Enter" key.

 CU2INQ1                 Data Files and VSAM Data Sets               2009/08/03 
 STOA                       Customer Inquiry Option                 14:32:51:92

      New Customer #: 000000001900

          Customer #: 000000001900
           Last Name: Smith
               First: Sammy                         Middle:

              Addr-1: 1919 Carnoustie Drive
              Addr-2:
                City: Novato
      State/Province: CA                       Postal Code: 94919

        *--------------------------Telephone Numbers--------------------------* 
        Home                   Work                  Cell

        Last Activity Date:            Time:            Token:




                     PF3=Menu                                           F12=Esc

If another customer needs to be viewed simply position the cursor to the first position of the "New Customer #" field and enter a new customer number.

Note: PF3 will end this transaction and display the sub-Menu for "Data Files and VSAM Data Sets". PF12 will end this session and return to the CICS prompt screen.

Table of Contents Previous Section Next Section Technical Details

This section provides additional detail about the COBOL Programs, BMS Screens and Data Structures.

Table of Contents Previous Section Next Section Customer File, Access & Structure

The following describes the source members used to access the Customer Master File or define its record structure.

Table of Contents Previous Section Next Section COBOL Program, Customer File Inquiry

The following (CU2INQ.cbl) is the COBOL source code for the "Inquiry" Program that accesses the Customer Master File and displays record information to a 3270 device.

       IDENTIFICATION DIVISION.
       PROGRAM-ID.  CU2INQ.
       AUTHOR.      SIMOTIME TECHNOLOGIES.
      *****************************************************************
      * Copyright (C) 1987-2019 SimoTime Technologies.                *
      *                                                               *
      * All rights reserved.  Unpublished, all rights reserved under  *
      * copyright law and international treaty.  Use of a copyright   *
      * notice is precautionary only and does not imply publication   *
      * or disclosure.                                                *
      *                                                               *
      * Permission to use, copy, modify and distribute this software  *
      * for any non-commercial purpose and without fee is hereby      *
      * granted, 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.                                                 *
      *                                                               *
      * Permission to use, copy, modify and distribute this software  *
      * for any commercial purpose requires a fee to be paid to       *
      * SimoTime Technologies. Once the fee is received by SimoTime   *
      * the latest version of the software 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 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                                  *
      *                                                               *
      * SimoTime Technologies                                         *
      * 15 Carnoustie Drive                                           *
      * Novato, CA 94949-5849                                         *
      * 415.883.6565                                                  *
      *                                                               *
      * RESTRICTED RIGHTS LEGEND                                      *
      * Use, duplication, or disclosure by the Government is subject  *
      * to restrictions as set forth in subparagraph (c)(1)(ii) of    *
      * the Rights in Technical Data and Computer Software clause at  *
      * DFARS 52.227-7013 or subparagraphs (c)(1) and (2) of          *
      * Commercial  Computer Software - Restricted Rights  at 48      *
      * CFR 52.227-19, as applicable.  Contact SimoTime Technologies, *
      * 15 Carnoustie Drive, Novato, CA 94949-5849.                   *
      *                                                               *
      *****************************************************************
      *      This program is provided by SimoTime Technologies        *
      *        Our e-mail address is: helpdesk@simotime.com           *
      *     Also, visit our Web Site at http://www.simotime.com       *
      *****************************************************************
      *
      * MAINTENANCE
      * -----------
      * 1989/02/27 Simmons, Created program.
      * 1997/03/17 Simmons, Updated for SYSID.
      *
      *****************************************************************
      *
       ENVIRONMENT DIVISION.

      *****************************************************************
       DATA DIVISION.
       WORKING-STORAGE SECTION.
       01  PF-ROW-23.
           05  filler           pic X(3)   value SPACES.
           05  PF-ROW-23-04     pic X(8)   value SPACES.
           05  PF-ROW-23-12     pic X(8)   value SPACES.
           05  PF-ROW-23-20     pic X(8)   value 'F3=Menu '.
           05  PF-ROW-23-28     pic X(8)   value SPACES.
           05  PF-ROW-23-36     pic X(8)   value SPACES.
           05  PF-ROW-23-44     pic X(8)   value SPACES.
           05  PF-ROW-23-52     pic X(8)   value SPACES.
           05  PF-ROW-23-60     pic X(8)   value SPACES.
           05  PF-ROW-23-68     pic X(8)   value 'F12=Esc '.
           05  filler           pic X(3)   value SPACES.
       01  EOJ-MESSAGE          pic X(50)
           value '     - Enter Tran ID . . .        completed CU2INQ'.

       01  LGTH                 pic S9(4)  comp.
       01  WORK-RESP-CODE       pic 9(08)  comp.
       01  ESDS-RESP-CODE       pic 9(08)  comp.
       01  XCTL-RESP-CODE       pic 9(08)  comp.
       01  NUMBER-WORK-16       pic 9(16)  value 0.

       01  CUSTOMER-KEY         pic X(12).
       01  MSG-LINES.
           03  MSG-DATA         pic X(78)  value LOW-VALUES.

       01  SYS-PAGE             pic X(8)   value 'CU2INQ1 '.
       01  SYS-ID               pic X(4).

       01  WORK-DATE.
           05  WORK-DATE-CC     pic X(02).
           05  WORK-DATE-YY     pic 9(02).
           05  WORK-DATE-MM     pic X(02).
           05  WORK-DATE-DD     pic 9(02).
       01  WORK-TIME.
           05  WORK-TIME-HH     pic X(02).
           05  WORK-TIME-NN     pic X(02).
           05  WORK-TIME-SS     pic X(02).
           05  WORK-TIME-TT     pic X(02).

       01  W2-DATE              PIC S9(7)  COMP-3 value 0.
       01  W2-TIME              PIC S9(7)  COMP-3 value 0.

       01  Z-WORK-12            pic X(12)  value SPACES.
       01  IX-12                pic 9(3)   value 0.
       01  WORK-V-03            pic 9(3)   value 0.

       01  PROGRAM-NAME         pic x(8)   value SPACES.

       01  WS-RESPONSE         pic S9(8)   comp.
       01  WS-REASON-CODE      pic S9(8)   comp.

       01  LOCAL-TRAN-ID       pic X(4)    value 'CUI1'.

       01  PROGRAM-FLAGS.
           05  P-FLAG-ANIM     pic X       value 'N'.
           05  P-FLAG-JOURNAL  pic X       value 'Y'.

       01  WORK-ITEMS.
           05  WS-ESD128-RIDFLD PIC S9(8)  COMP VALUE +0.
           05  WS-ESD01K-RIDFLD PIC S9(8)  COMP VALUE +0.
           05  WS-ESD350-RIDFLD PIC S9(8)  COMP VALUE +0.

       01  WORK-DATE-TIME-PK    PIC S9(15)    COMP-3 VALUE +0.
       01  WORK-DATE-TIME-ZD    PIC 9(15)     value 0.
       01  WORK-DATE-TIME-ZD-2  PIC 9(15)     value 0.
       01  WORK-DATE-TIME-ZD-3  PIC 9(15)     value 0.
       01  WORK-DELAY-SS        PIC S9(8)     COMP   VALUE +0.
       01  WORK-DELAY-VALUE     PIC 9(9)      value 0.
       01  WORK-LOOP-COUNTER    PIC 9(9)      value 0.

       01  ESD128-RECORD.
           05  ESD128-DATA      pic X(128)     value SPACES.
       01  ESD128-FILE          pic X(8)       value 'ESDSC128'.

       01  ESD01K-RECORD.
           05  ESD01K-DATA      pic X(1024)    value SPACES.
       01  ESD01K-FILE          pic X(8)       value 'ESDSC01K'.

       01  ESD350-RECORD.
           05  ESD350-DATA      pic X(350)     value SPACES.
       01  ESD350-FILE          pic X(8)       value 'ESDSC350'.

          COPY CU2INQ1.
          COPY DFHBMSCA.
          COPY DFHAID.
      *   COPY DFHEIBLK.
          COPY CUSTCB01.
          COPY PAWAITER.

      *****************************************************************
       LINKAGE SECTION.
       01  DFHCOMMAREA.
           03  LS-CUSTNO         pic X(12).
           03  filler            pic X(200).

      *****************************************************************
       PROCEDURE DIVISION.
      *    if  P-FLAG-ANIM = 'Y'
      *        CALL 'CBL_DEBUGBREAK'
      *    end-if.

           perform CLEAR-MESSAGES

           evaluate TRUE
             when EIBCALEN = ZERO
                   move SPACES       to REQNUMBO
                                        CUNUMBO
                                        CULNAMEO
                                        CUFNAMEO
                                        CUMNAMEO
                                        CUADR1O
                                        CUADR2O
                                        CUCITYO
                                        CUSTATEO
                                        CUZIPO
                                        CUPHONHO
                                        CUPHONWO
                                        CUPHONCO
                                        CULDATEO
                                        CULTIMEO
                                        CUTOKENO
                                        SYSMSG1O
                                        SYSMSG2O
                  move -1 to REQNUMBL
                  perform SEND-INQUIRY-SCREEN
             when EIBAID   = DFHPF1
                  call 'CBPIPEC1'
                  move 'Help Info should be displayed in browser'
                  to MSG-LINES
                  perform RECOVERY-ROUTINE
             when EIBAID   = DFHPF3
                  perform END-OF-PROGRAM-03
             when EIBAID   = DFHPF12
                  perform END-OF-PROGRAM-12
             when EIBAID   = DFHENTER
                  perform GET-CUSTOMER-INFORMATION
             when other
                  move 'Please use a valid customer number'
                  to MSG-LINES
                  perform RECOVERY-ROUTINE
           end-evaluate.
      *    Should never get to here...
           perform END-OF-PROGRAM-12.

      *****************************************************************
       BUILD-HEADER-INFO.
           EXEC CICS ASSIGN
                SYSID(SYS-ID)
                END-EXEC.

           move SYS-ID to SYSIDO.
           move SYS-PAGE to SYSPAGEO.
           perform Z-GET-DATE-AND-TIME.
           perform Z-GET-DATE-AND-TIME-CICS.
           exit.

      *****************************************************************
       CLEAR-MESSAGES.
           move SPACES to MSG-LINES
           move SPACES to SYSMSG1O
           exit.

      *****************************************************************
       END-OF-PROGRAM-03.
           move 'MN1FMS  ' to PROGRAM-NAME
           perform TRANSFER-CONTROL
      *    Should never get to here...
           exit.

      *****************************************************************
       END-OF-PROGRAM-12.
           EXEC CICS SEND
                FROM   (EOJ-MESSAGE)
                LENGTH (50)
                ERASE
                END-EXEC

           EXEC CICS SEND
                CONTROL FREEKB
                END-EXEC

           EXEC CICS RETURN
                END-EXEC
           exit.

      *****************************************************************
       GET-CUSTOMER-INFORMATION.
           perform GET-CUSTOMER-NUMBER
           perform GET-CUSTOMER-RECORD
           perform POSSIBLE-SPECIAL-HANDLING
           perform SEND-INQUIRY-SCREEN
      *    Should never get to here...
           exit.

      *****************************************************************
       GET-CUSTOMER-NUMBER.
           EXEC CICS RECEIVE
                MAP    ('CU2INQ1')
                MAPSET ('CU2INQ1')
                RESP(WS-RESPONSE)
                RESP2(WS-REASON-CODE)
                END-EXEC.

           if  REQNUMBL > ZERO
               move REQNUMBI to Z-WORK-12
               perform Z-RIGHT-ADJUST-Z-WORK-12
               move Z-WORK-12 to REQNUMBI
               move REQNUMBI to LS-CUSTNO
           else
               move 'Please enter a 12 digit customer number...3'
                 to MSG-LINES
               perform RECOVERY-ROUTINE
           end-if.
           exit.

      *****************************************************************
       GET-CUSTOMER-RECORD.
           move LS-CUSTNO to CUSTOMER-KEY.
           move 512       to LGTH.
           EXEC CICS read
                DATASET   ('CUSTMAST')
                INTO      (CUST-RECORD)
                LENGTH    (LGTH)
                RIDFLD    (CUSTOMER-KEY)
                KEYLENGTH (12)
                RESP      (WORK-RESP-CODE)
                END-EXEC.

      *    If the read worked the data is moved to the screen
      *
           if  WORK-RESP-CODE = ZEROS
               move CUST-NUMBER      to REQNUMBO
               move CUST-NUMBER      to CUNUMBI
               move CUST-LAST-NAME   to CULNAMEO
               move CUST-FIRST-NAME  to CUFNAMEO
               move CUST-MID-NAME    to CUMNAMEO
               move CUST-ADDRESS-1   to CUADR1O
               move CUST-ADDRESS-2   to CUADR2O
               move CUST-CITY        to CUCITYO
               move CUST-STATE       to CUSTATEO
               move CUST-POSTAL-CODE to CUZIPO
               move CUST-PHONE-HOME  to CUPHONHO
               move CUST-PHONE-WORK  to CUPHONWO
               move CUST-PHONE-CELL  to CUPHONCO
               move CUST-LADATE      to CULDATEO
               move CUST-LATIME      to CULTIMEO
               move CUST-TOKEN       to CUTOKENO
               move LOW-VALUES       to SYSMSG1O
               move LOW-VALUES       to SYSMSG2O
           else
               move SPACES           to REQNUMBO
                                        CUNUMBO
                                        CULNAMEO
                                        CUFNAMEO
                                        CUMNAMEO
                                        CUADR1O
                                        CUADR2O
                                        CUCITYO
                                        CUSTATEO
                                        CUZIPO
                                        CUPHONHO
                                        CUPHONWO
                                        CUPHONCO
                                        CULDATEO
                                        CULTIMEO
                                        CUTOKENO
                                        SYSMSG1O
                                        SYSMSG2O
                move LS-CUSTNO to MSG-LINES
                move '* Customer number not found,please try again...'
                  to MSG-LINES(14:48)
                perform RECOVERY-ROUTINE
           end-if.

      *****************************************************************
       POSSIBLE-SPECIAL-HANDLING.
      *    The following is Work-in-Progress for User Coded journaling
      *    and Tracing plus a ROLLBACK test.
      *
           evaluate LS-CUSTNO
             when '000000000232' perform WIP-RECORD-232-REQUEST
             when '000000000222' perform WIP-RECORD-222-REQUEST
             when '000000000901' perform WIP-RECORD-901-REQUEST
             when '000000000911' perform WIP-RECORD-911-REQUEST
             when '000000000921' perform WIP-RECORD-921-REQUEST
             when '000000000931' perform WIP-RECORD-931-REQUEST
             when '000000000941' perform WIP-RECORD-941-REQUEST
             when '000000000991' perform WIP-RECORD-991-REQUEST
             when '000000000992' perform WIP-RECORD-992-REQUEST
             when '000000000993' perform WIP-RECORD-993-REQUEST
             when '000000000994' perform WIP-RECORD-994-REQUEST
           end-evaluate.

           exit.

      *****************************************************************
       RECOVERY-ROUTINE.
           move MSG-LINES to SYSMSG1O.
           move -1 to REQNUMBL
           perform SEND-INQUIRY-SCREEN
      *    Should never get to here...
           exit.

      *****************************************************************
       SEND-INQUIRY-SCREEN.
           perform BUILD-HEADER-INFO
           move PF-ROW-23 to PFROW23O

           EXEC CICS SEND
                MAP    ('CU2INQ1')
                MAPSET ('CU2INQ1')
                ERASE
                END-EXEC
           move LOW-VALUES to CU2INQ1O
           EXEC CICS RETURN
                TRANSID (LOCAL-TRAN-ID)
                COMMAREA (CU2INQ1O)
                LENGTH    (32)
                END-EXEC

      *    Should never get to here...
           exit.

      *****************************************************************
       TRANSFER-CONTROL.
           EXEC CICS XCTL
                PROGRAM(PROGRAM-NAME)
                RESP(XCTL-RESP-CODE)
                END-EXEC

      *    Should never get to here...
           move 'Program not found, &&&&&&&&' to MSG-LINES.
           inspect MSG-LINES replacing first '&&&&&&&&'
                                          by PROGRAM-NAME
           move -1 to REQNUMBL.
           perform RECOVERY-ROUTINE.
      *    exit.

      *****************************************************************
       WIP-RECORD-901-REQUEST.
           perform Z-GET-DATE-AND-TIME
           move WORK-DATE             to ESD128-DATA
           move WORK-TIME             to ESD128-DATA(10:8)
           move 'RECORD 901 request'  to ESD128-DATA(20:18)
           move 'EXEC CICS SYNCPOINT' to ESD128-DATA(40:19)
           move ESD128-DATA to SYSMSG2I
           EXEC CICS SYNCPOINT
                END-EXEC
           if EIBRESP = 0
              move 'EIBRESP = 0' to SYSMSG2I(40:11)
           else
              move 'EIBRESP not = 0' to SYSMSG2I(40:15)
           end-if
           exit.

      *****************************************************************
       WIP-RECORD-911-REQUEST.
           perform Z-GET-DATE-AND-TIME
           move WORK-DATE            to ESD128-DATA
           move WORK-TIME            to ESD128-DATA(10:8)
           move 'RECORD 911 request' to ESD128-DATA(20:18)
           move 'Write to ESDSC128'  to ESD128-DATA(40:17)
           move ESD128-DATA to MSG-LINES
           EXEC CICS WRITE
               FILE   (ESD128-FILE)
               FROM   (ESD128-RECORD)
               RIDFLD (WS-ESD128-RIDFLD)
               RBA
               LENGTH (LENGTH OF ESD128-RECORD)
               RESP   (ESDS-RESP-CODE)
               END-EXEC
           if  ESDS-RESP-CODE not = 0
               add  ESDS-RESP-CODE to ZERO giving NUMBER-WORK-16
               move NUMBER-WORK-16  to MSG-LINES(63:16)
               perform RECOVERY-ROUTINE
           end-if

           exit.

      *****************************************************************
       WIP-RECORD-921-REQUEST.
           perform Z-GET-DATE-AND-TIME
           move WORK-DATE            to ESD128-DATA
           move WORK-TIME            to ESD128-DATA(10:8)
           move 'RECORD 921 request' to ESD128-DATA(20:18)
           move 'ROLLBACK'           to SYSMSG2I(40:8)
           move ESD128-DATA to SYSMSG2I
           EXEC CICS SYNCPOINT
                ROLLBACK
                END-EXEC
           if EIBRESP = 0
              move 'EIBRESP = 0' to SYSMSG2I(40:11)
           else
              move 'EIBRESP not = 0' to SYSMSG2I(40:15)
           end-if

           exit.

      *****************************************************************
       WIP-RECORD-931-REQUEST.
           perform Z-GET-DATE-AND-TIME
           move WORK-DATE            to ESD128-DATA
           move WORK-TIME            to ESD128-DATA(10:8)
           move 'RECORD 931 request' to ESD128-DATA(20:18)
           move ESD128-DATA to SYSMSG2I

           EXEC CICS SYNCPOINT
                END-EXEC

           EXEC CICS WRITE
                FILE   (ESD128-FILE)
                FROM   (ESD128-RECORD)
                RIDFLD (WS-ESD128-RIDFLD)
                RBA
                LENGTH (LENGTH OF ESD128-RECORD)
                RESP   (ESDS-RESP-CODE)
                END-EXEC

           EXEC CICS DELAY
                FOR SECONDS (45)
                END-EXEC

           EXEC CICS SYNCPOINT
                ROLLBACK
                END-EXEC

           exit.

      *****************************************************************
       WIP-RECORD-941-REQUEST.
           perform Z-GET-DATE-AND-TIME
           move WORK-DATE            to ESD128-DATA
           move WORK-TIME            to ESD128-DATA(10:8)
           move 'RECORD 941 request' to ESD128-DATA(20:18)
           move ESD128-DATA to SYSMSG2I

           EXEC CICS SYNCPOINT
                ROLLBACK
                END-EXEC

           exit.

      *****************************************************************
       WIP-RECORD-991-REQUEST.
           EXEC CICS ASKTIME ABSTIME(WORK-DATE-TIME-PK) END-EXEC
           add WORK-DATE-TIME-PK to ZERO giving WORK-DATE-TIME-ZD
           move 'WIP-RECORD-991-REQUEST-1=' to ESD128-DATA
           move WORK-DATE-TIME-ZD           to ESD128-DATA(26:15)

           EXEC CICS DELAY FOR SECONDS(2) END-EXEC

           EXEC CICS ASKTIME ABSTIME(WORK-DATE-TIME-PK) END-EXEC
           add WORK-DATE-TIME-PK to ZERO giving WORK-DATE-TIME-ZD
           move WORK-DATE-TIME-ZD           to ESD128-DATA(44:15)
           move ESD128-DATA to SYSMSG1O.

           EXEC CICS WRITE
                FILE   (ESD128-FILE)
                FROM   (ESD128-RECORD)
                RIDFLD (WS-ESD128-RIDFLD)
                RBA
                LENGTH (LENGTH OF ESD128-RECORD)
                RESP   (ESDS-RESP-CODE)
                END-EXEC

           EXEC CICS DELAY FOR SECONDS(4) END-EXEC

           EXEC CICS ASKTIME ABSTIME(WORK-DATE-TIME-PK) END-EXEC
           add WORK-DATE-TIME-PK to ZERO giving WORK-DATE-TIME-ZD
           move SPACES                       to ESD128-DATA
           move 'WIP-RECORD-991-REQUEST-2='  to ESD128-DATA
           move WORK-DATE-TIME-ZD            to ESD128-DATA(26:15)
           move ESD128-DATA to SYSMSG2O

           EXEC CICS WRITE
                FILE   (ESD128-FILE)
                FROM   (ESD128-RECORD)
                RIDFLD (WS-ESD128-RIDFLD)
                RBA
                LENGTH (LENGTH OF ESD128-RECORD)
                RESP   (ESDS-RESP-CODE)
                END-EXEC
           exit.

      *****************************************************************
       WIP-RECORD-992-REQUEST.
           EXEC CICS ASKTIME ABSTIME(WORK-DATE-TIME-PK) END-EXEC
           add WORK-DATE-TIME-PK to ZERO giving WORK-DATE-TIME-ZD
           move 'WIP-RECORD-992-REQUEST-1=' to ESD128-DATA
           move WORK-DATE-TIME-ZD           to ESD128-DATA(26:15)

           add 1 to ZERO giving WORK-DELAY-SS
           move ZERO to WORK-LOOP-COUNTER
           perform 10 times
               EXEC CICS DELAY FOR SECONDS(WORK-DELAY-SS) END-EXEC
               add 1 to WORK-LOOP-COUNTER
           end-perform

           EXEC CICS ASKTIME ABSTIME(WORK-DATE-TIME-PK) END-EXEC
           add WORK-DATE-TIME-PK to ZERO giving WORK-DATE-TIME-ZD-2
           move WORK-DATE-TIME-ZD-2           to ESD128-DATA(44:15)
           if  WORK-DATE-TIME-ZD-2 > WORK-DATE-TIME-ZD
               subtract WORK-DATE-TIME-ZD from WORK-DATE-TIME-ZD-2
                 giving WORK-DATE-TIME-ZD-3
               move WORK-DATE-TIME-ZD-3       to ESD128-DATA(62:15)
           else
               move '???????????????'         to ESD128-DATA(62:15)
           end-if
           move WORK-LOOP-COUNTER             to ESD128-DATA(80:9)
           move ESD128-DATA to SYSMSG2O

           EXEC CICS WRITE
                FILE   (ESD128-FILE)
                FROM   (ESD128-RECORD)
                RIDFLD (WS-ESD128-RIDFLD)
                RBA
                LENGTH (LENGTH OF ESD128-RECORD)
                RESP   (ESDS-RESP-CODE)
                END-EXEC

           exit.

      *****************************************************************
       WIP-RECORD-993-REQUEST.
           add 2 to ZERO giving WORK-DELAY-SS
           add 2 to ZERO giving WORK-DELAY-VALUE
           move ZERO to WORK-LOOP-COUNTER
           perform 10 times
             EXEC CICS ASKTIME ABSTIME(WORK-DATE-TIME-PK) END-EXEC
             add WORK-DATE-TIME-PK to ZERO giving WORK-DATE-TIME-ZD
             move 'WIP-RECORD-993-REQUEST-1=' to ESD128-DATA
             move WORK-DATE-TIME-ZD           to ESD128-DATA(26:15)

             EXEC CICS DELAY FOR SECONDS(1) END-EXEC
             add 1 to WORK-LOOP-COUNTER

             EXEC CICS ASKTIME ABSTIME(WORK-DATE-TIME-PK) END-EXEC
             add WORK-DATE-TIME-PK to ZERO giving WORK-DATE-TIME-ZD-2
             move WORK-DATE-TIME-ZD-2           to ESD128-DATA(44:15)
             if  WORK-DATE-TIME-ZD-2 > WORK-DATE-TIME-ZD
                 subtract WORK-DATE-TIME-ZD from WORK-DATE-TIME-ZD-2
                   giving WORK-DATE-TIME-ZD-3
                 move WORK-DATE-TIME-ZD-3       to ESD128-DATA(62:15)
             else
                 move '???????????????'         to ESD128-DATA(62:15)
             end-if
             move WORK-LOOP-COUNTER             to ESD128-DATA(80:9)
             move WORK-DELAY-VALUE              to ESD128-DATA(90:9)

             EXEC CICS WRITE
                  FILE   (ESD128-FILE)
                  FROM   (ESD128-RECORD)
                  RIDFLD (WS-ESD128-RIDFLD)
                  RBA
                  LENGTH (LENGTH OF ESD128-RECORD)
                  RESP   (ESDS-RESP-CODE)
                  END-EXEC
           end-perform
           move ESD128-DATA to SYSMSG2O
           exit.

      *****************************************************************
       WIP-RECORD-994-REQUEST.
           add 1 to ZERO giving WORK-DELAY-SS
           move ZERO to WORK-LOOP-COUNTER
           add 11 to ZERO giving MFWAITER-LENGTH
           move '00:00:01:00' to MFWAITER-TIME
           perform 10 times
             EXEC CICS ASKTIME ABSTIME(WORK-DATE-TIME-PK) END-EXEC
             add WORK-DATE-TIME-PK to ZERO giving WORK-DATE-TIME-ZD
             move 'WIP-RECORD-994-REQUEST-1=' to ESD128-DATA
             move WORK-DATE-TIME-ZD           to ESD128-DATA(26:15)

             call 'MFWAITER' using MFWAITER-PASS-AREA
             add 1 to WORK-LOOP-COUNTER

             EXEC CICS ASKTIME ABSTIME(WORK-DATE-TIME-PK) END-EXEC
             add WORK-DATE-TIME-PK to ZERO giving WORK-DATE-TIME-ZD-2
             move WORK-DATE-TIME-ZD-2           to ESD128-DATA(44:15)
             if  WORK-DATE-TIME-ZD-2 > WORK-DATE-TIME-ZD
                 subtract WORK-DATE-TIME-ZD from WORK-DATE-TIME-ZD-2
                   giving WORK-DATE-TIME-ZD-3
                 move WORK-DATE-TIME-ZD-3       to ESD128-DATA(62:15)
             else
                 move '???????????????'         to ESD128-DATA(62:15)
             end-if
             move WORK-LOOP-COUNTER             to ESD128-DATA(80:9)

             EXEC CICS WRITE
                  FILE   (ESD128-FILE)
                  FROM   (ESD128-RECORD)
                  RIDFLD (WS-ESD128-RIDFLD)
                  RBA
                  LENGTH (LENGTH OF ESD128-RECORD)
                  RESP   (ESDS-RESP-CODE)
                  END-EXEC
           end-perform
           move ESD128-DATA to SYSMSG2O
           exit.

      *****************************************************************
       WIP-RECORD-232-REQUEST.
           perform Z-GET-DATE-AND-TIME
           move WORK-DATE            to ESD128-DATA
           move WORK-TIME            to ESD128-DATA(10:8)
           move 'RECORD 232 request' to ESD128-DATA(20:18)
           move 'Write to ESDSC128'  to ESD128-DATA(40:17)

           move ESD128-DATA to SYSMSG2I

           EXEC CICS WRITE
               FILE   (ESD128-FILE)
               FROM   (ESD128-RECORD)
               RIDFLD (WS-ESD128-RIDFLD)
               RBA
               LENGTH (LENGTH OF ESD128-RECORD)
               RESP   (ESDS-RESP-CODE)
               END-EXEC
           if  ESDS-RESP-CODE not = 0
               add  ESDS-RESP-CODE to ZERO giving NUMBER-WORK-16
               move NUMBER-WORK-16  to MSG-LINES(63:16)
               perform RECOVERY-ROUTINE
           end-if

           move WORK-DATE            to ESD01K-DATA
           move WORK-TIME            to ESD01K-DATA(10:8)
           move 'RECORD 232 request' to ESD01K-DATA(20:18)
           move 'Write to ESDSC01K'  to ESD01K-DATA(40:17)
           move ESD01K-DATA to SYSMSG2I

           EXEC CICS WRITE
               FILE   (ESD01K-FILE)
               FROM   (ESD01K-RECORD)
               RIDFLD (WS-ESD01K-RIDFLD)
               RBA
               LENGTH (LENGTH OF ESD01K-RECORD)
               RESP   (ESDS-RESP-CODE)
               END-EXEC
           if  ESDS-RESP-CODE not = 0
               add  ESDS-RESP-CODE to ZERO giving NUMBER-WORK-16
               move NUMBER-WORK-16  to MSG-LINES(63:16)
               go to RECOVERY-ROUTINE
           end-if

           add 1 to ZERO giving WORK-V-03
           perform 3 times
              perform Z-GET-DATE-AND-TIME
              move WORK-DATE            to ESD350-DATA
              move WORK-TIME            to ESD350-DATA(10:8)
              move 'RECORD 232 request' to ESD350-DATA(20:18)
              move 'Write to ESDSC350'  to ESD350-DATA(40:17)
              move WORK-V-03            to ESD350-DATA(60:3)
              move ESD350-DATA to SYSMSG2I
              EXEC CICS WRITE
                  FILE   (ESD350-FILE)
                  FROM   (ESD350-RECORD)
                  RIDFLD (WS-ESD350-RIDFLD)
                  RBA
                  LENGTH (LENGTH OF ESD350-RECORD)
                  RESP   (ESDS-RESP-CODE)
                  END-EXEC
              if  ESDS-RESP-CODE not = 0
                  add  ESDS-RESP-CODE to ZERO giving NUMBER-WORK-16
                  move NUMBER-WORK-16  to MSG-LINES(1:16)
                  move 'ESDS-RESP-CODE not ZERO' to MSG-LINES(20:23)
                  go to RECOVERY-ROUTINE
              end-if
              add 1 to WORK-V-03
           end-perform

      *    EXEC CICS UNLOCK
      *        DATASET (ESD350-FILE)
      *        END-EXEC
      *    if  ESDS-RESP-CODE not = 0
      *        add  ESDS-RESP-CODE to ZERO giving NUMBER-WORK-16
      *        move NUMBER-WORK-16  to MSG-LINES(1:16)
      *        move 'ESDS-RESP-CODE not ZERO' to MSG-LINES(20:23)
      *        go to RECOVERY-ROUTINE
      *    end-if

      *    EXEC CICS DELAY
      *         FOR SECONDS (45)
      *         END-EXEC

      *    perform WIP-RECORD-222-REQUEST

           exit.

      *****************************************************************
       WIP-RECORD-233-REQUEST.
           perform Z-GET-DATE-AND-TIME
           move WORK-DATE            to ESD128-DATA
           move WORK-TIME            to ESD128-DATA(10:8)
           move 'RECORD 233 request' to ESD128-DATA(20:18)
           move 'Write to ESDSC128'  to ESD128-DATA(40:17)

           move ESD128-DATA to SYSMSG2I

           EXEC CICS WRITE
               FILE   (ESD128-FILE)
               FROM   (ESD128-RECORD)
               RIDFLD (WS-ESD128-RIDFLD)
               RBA
               LENGTH (LENGTH OF ESD128-RECORD)
               RESP   (ESDS-RESP-CODE)
               END-EXEC
           if  ESDS-RESP-CODE not = 0
               add  ESDS-RESP-CODE to ZERO giving NUMBER-WORK-16
               move NUMBER-WORK-16  to MSG-LINES(63:16)
               perform RECOVERY-ROUTINE
           end-if

           perform WIP-RECORD-232-REQUEST
           perform WIP-RECORD-222-REQUEST
           exit.

      *****************************************************************
       WIP-RECORD-222-REQUEST.
           perform Z-GET-DATE-AND-TIME
           move WORK-DATE            to SYSMSG2I
           move WORK-TIME            to SYSMSG2I(10:8)
           move 'RECORD 222 request' to SYSMSG2I(20:18)
           move 'ROLLBACK'           to SYSMSG2I(40:8)
           EXEC CICS SYNCPOINT
                ROLLBACK
                END-EXEC
           if EIBRESP = 0
              move 'EIBRESP = 0' to SYSMSG2I(40:11)
           else
              move 'EIBRESP not = 0' to SYSMSG2I(40:15)
           end-if

           exit.

      *****************************************************************
      * Delete all characters to the right of the first space then
      * right-adjust with zero fill. This routine works with a single,
      * twelve character field and does not require a work area.
      *****************************************************************
       Z-RIGHT-ADJUST-Z-WORK-12.
           inspect Z-WORK-12
                   replacing CHARACTERS by ' ' after initial ' '
           perform until Z-WORK-12(12:1) not = SPACE
               if  Z-WORK-12(12:1) = SPACE
                   add 11 to ZERO giving IX-12
                   perform 11 times
                     move Z-WORK-12(IX-12:1) to Z-WORK-12(IX-12 + 1:1)
                     subtract 1 from IX-12
                   end-perform
                   move ZERO to Z-WORK-12(1:1)
               end-if
           end-perform
           exit.

      *****************************************************************
       Z-GET-DATE-AND-TIME.
           accept WORK-DATE from DATE YYYYMMDD
           accept WORK-TIME from TIME

           move 'ccyy/mm/dd'   to SYSDATEO
           move WORK-DATE(1:4) to SYSDATEO(1:4)
           move WORK-DATE(5:2) to SYSDATEO(6:2)
           move WORK-DATE(7:2) to SYSDATEO(9:2)

           move 'hh:mm:ss:dd'  to SYSTIMEO
           move WORK-TIME(1:2) to SYSTIMEO(1:2)
           move WORK-TIME(3:2) to SYSTIMEO(4:2)
           move WORK-TIME(5:2) to SYSTIMEO(7:2)
           move WORK-TIME(7:2) to SYSTIMEO(10:2)

           exit.

      *****************************************************************
       Z-GET-DATE-AND-TIME-CICS.
           EXEC CICS ASKTIME END-EXEC
           MOVE EIBDATE TO W2-DATE
           MOVE EIBTIME TO W2-TIME
           exit.

Table of Contents Previous Section Next Section BMS Member, Customer File Inquiry

The following (CU2INQ1.bms) is the BMS source code for the "Inquiry" screen map that is used to display the Customer Master Record to a 3270 device.

***********************************************************************
*        This BMS 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                  *
***********************************************************************
CU2INQ1 DFHMSD CTRL=(FREEKB),                                          -
               LANG=COBOL,                                             -
               MODE=INOUT,                                             -
               STORAGE=AUTO,                                           -
               TERM=3270,                                              -
               TIOAPFX=YES,                                            -
               TYPE=&&SYSPARM
*
CU2INQ1 DFHMDI SIZE=(24,80),                                           -
               TIOAPFX=YES
SYSPAGE DFHMDF ATTRB=(ASKIP,FSET,NORM),                                -
               LENGTH=8,                                               -
               POS=(1,1)
        DFHMDF LENGTH=0,                                               -
               POS=(1,10)
        DFHMDF ATTRB=(ASKIP,BRT),                                      -
               LENGTH=29,                                              -
               POS=(1,25),                                             -
               INITIAL='Data Files and VSAM Data Sets'
* UPDATE-MAP-DATE
SYSDATE DFHMDF ATTRB=(ASKIP,NORM),                                     -
               LENGTH=10,                                              -
               POS=(1,69)
SYSID   DFHMDF ATTRB=(ASKIP,NORM),                                     -
               LENGTH=4,                                               -
               POS=(2,1)
        DFHMDF ATTRB=(ASKIP,BRT),                                      -
               LENGTH=23,                                              -
               POS=(2,28),                                             -
               INITIAL='Customer Inquiry Option'
* UPDATE-MAP-TIME
SYSTIME DFHMDF ATTRB=(ASKIP,NORM),                                     -
               LENGTH=11,                                              -
               POS=(2,68)
        DFHMDF ATTRB=(ASKIP,BRT),                                      -
               LENGTH=15,                                              -
               POS=(4,5),                                              -
               INITIAL='New Customer #:'
* UPDATE-SSN
REQNUMB DFHMDF ATTRB=(BRT,FSET,IC,UNPROT),                             -
               LENGTH=12,                                              -
               POS=(4,21)
        DFHMDF LENGTH=0,                                               -
               POS=(4,34)
        DFHMDF ATTRB=(ASKIP,NORM),                                     -
               LENGTH=11,                                              -
               POS=(6,9),                                              -
               INITIAL='Customer #:'
* UPDATE-SSN
CUNUMB  DFHMDF ATTRB=(ASKIP,BRT,FSET),                                 -
               LENGTH=12,                                              -
               POS=(6,21)
        DFHMDF LENGTH=10,                                              -
               POS=(7,10),                                             -
               INITIAL='Last Name:'
* UPDATE-LAST-NAME
CULNAME DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=28,                                              -
               POS=(7,21)
        DFHMDF LENGTH=6,                                               -
               POS=(8,14),                                             -
               INITIAL='First:'
* UPDATE-FIRST-NAME
CUFNAME DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=20,                                              -
               POS=(8,21)
        DFHMDF ATTRB=(ASKIP),                                          -
               LENGTH=7,                                               -
               POS=(8,47),                                             -
               INITIAL='Middle:'
* UPDATE-MIDDLE-NAME
CUMNAME DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=20,                                              -
               POS=(8,55)
        DFHMDF LENGTH=7,                                               -
               POS=(10,13),                                            -
               INITIAL='Addr-1:'
CUADR1  DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=48,                                              -
               POS=(10,21)
        DFHMDF LENGTH=7,                                               -
               POS=(11,13),                                            -
               INITIAL='Addr-2:'
CUADR2  DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=48,                                              -
               POS=(11,21)
        DFHMDF LENGTH=5,                                               -
               POS=(12,15),                                            -
               INITIAL='City:'
CUCITY  DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=28,                                              -
               POS=(12,21)
        DFHMDF LENGTH=15,                                              -
               POS=(13,5),                                             -
               INITIAL='State/Province:'
CUSTATE DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=28,                                              -
               POS=(13,21)
        DFHMDF LENGTH=12,                                              -
               POS=(13,51),                                            -
               INITIAL='Postal Code:'
CUZIP   DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=12,                                              -
               POS=(13,64)
        DFHMDF LENGTH=71,                                              -
               POS=(15,7),                                             -
               INITIAL='*--------------------------Telephone Numbers----
               -----------------------*'
        DFHMDF LENGTH=4,                                               -
               POS=(16,2),                                             -
               INITIAL='Home'
CUPHONH DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=18,                                              -
               POS=(16,7)
        DFHMDF LENGTH=4,                                               -
               POS=(16,28),                                            -
               INITIAL='Work'
CUPHONW DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=18,                                              -
               POS=(16,33)
        DFHMDF LENGTH=4,                                               -
               POS=(16,55),                                            -
               INITIAL='Cell'
CUPHONC DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=18,                                              -
               POS=(16,60)
        DFHMDF LENGTH=19,                                              -
               POS=(18,11),                                            -
               INITIAL='Last Activity Date:'
CULDATE DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=10,                                              -
               POS=(18,31)
        DFHMDF LENGTH=5,                                               -
               POS=(18,43),                                            -
               INITIAL='Time:'
CULTIME DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=11,                                              -
               POS=(18,49)
        DFHMDF LENGTH=6,                                               -
               POS=(18,62),                                            -
               INITIAL='Token:'
CUTOKEN DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=3,                                               -
               POS=(18,69)
* UPDATE-ERROR-MESSAGE
SYSMSG1 DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=78,                                              -
               POS=(21,1)
* UPDATE-ERROR-MESSAGE
SYSMSG2 DFHMDF ATTRB=(BRT,PROT),                                       -
               LENGTH=78,                                              -
               POS=(22,1)
PFROW23 DFHMDF ATTRB=(ASKIP,NORM),                                     -
               LENGTH=78,                                              -
               POS=(23,1)
        DFHMSD TYPE=FINAL
        END

Table of Contents Previous Section Next Section COBOL Copy File, Record Structure

The following (CUSTCB01.cpy) is the source code for the COBOL Copy File that defines the record structure for the Customer Master File.

      *****************************************************************
      *               CUSTCB01.cpy - a COBOL Copy Member              *
      *    Customer Master File used for Quality Assurance Testing    *
      *       This is a VSAM Keyed-Sequential-Data-Set or KSDS        *
      *         Copyright (C) 1987-2020 SimoTime Technologies         *
      *                     All Rights Reserved                       *
      *              Provided by SimoTime Technologies                *
      *        Our e-mail address is: helpdesk@simotime.com           *
      *     Also, visit our Web Site at http://www.simotime.com       *
      *****************************************************************
      *    CUST-RECORD size is 512 bytes.
      *    RMIN is 512    RMAX is 512
      *    KPOS is   1    KLEN is 012
      *
....:.*..1....:....2....:....3....:....4....:....5....:....6....:....7....:....8
       01  CUST-RECORD.
           05  CUST-NUMBER             PIC X(12).                       col A
           05  CUST-DATA.
               10  CUST-STATUS         PIC X.                           col B
               10  CUST-NAME.
                   15  CUST-LAST-NAME  PIC X(28).                       col C
                   15  CUST-FIRST-NAME PIC X(20).                       col D
                   15  CUST-MID-NAME   PIC X(20).                       col E
               10  CUST-ADDRESS-1      PIC X(48).                       col F
               10  CUST-ADDRESS-2      PIC X(48).                       col G
               10  CUST-CITY           PIC X(28).                       col H
               10  CUST-STATE          PIC X(28).                       col I
               10  CUST-POSTAL-CODE    PIC X(12).                       col J
               10  CUST-PHONE-HOME     PIC X(18).                       col K
               10  CUST-PHONE-WORK     PIC X(18).                       col L
               10  CUST-PHONE-CELL     PIC X(18).                       col M
               10  CUST-CREDIT-LIMIT   PIC 9(7)        COMP-3.          col N
               10  CUST-DISCOUNT       OCCURS 3 TIMES.
                   15  CUST-DISCOUNT-CODE  PIC S9(3)   COMP.            col ORU
                   15  CUST-DISCOUNT-RATE  PIC S9(2)V999.               col PSV
                   15  CUST-DISCOUNT-DATE  PIC X(8).                    col QTW
               10  CUST-LADATE         PIC X(8).                        col X
               10  CUST-LATIME         PIC X(8).                        col Y
               10  CUST-TOKEN          PIC 9(3).                        col Z
               10  FILLER              PIC X(145).
      *
      ***  CUSTCB01 - End-of-Copy File - - - - - - - - - - - CUSTCB01 *
      *****************************************************************
      *

Table of Contents Previous Section Next Section Summary

The purpose of this suite of program is to provide examples that use command level CICS in COBOL programs to access VSAM, Key-Sequenced-Data-Sets (KSDS) and display the information using standard BMS screen definitions to a 3270 terminal or terminal emulator. 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 CICS Connection for more examples of mainframe CICS coding techniques and sample code.

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

This suite of programs and documentation is available to download for review and evaluation purposes. Other uses will require a SimoTime Software License. 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
Customer Master, Record Inquiry, Access to a VSAM Data Set using CICS
Copyright © 1987-2024
SimoTime Technologies and Services
All Rights Reserved
When technology complements business
http://www.simotime.com