Display or Log a Message Post to SYSOUT, Console or File |
![]() |
The SimoTime Home Page |
This suite of programs will test the functions provided by the SIMOLOGS callable routine. The following shows the functions.
| ||||||||
A Summary of the Functions provided by the SIMOLOGS Callable Routine |
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-2016
SimoTime Technologies
All Rights Reserved
This section will decribe the JCL Members that are used to test and demonstrate the functions of SIMOLOGS.
The following member (IVLOGSJ1.jcl) is the JCL for displaying a message to the System Operator Console.
//IVLOGSJ1 JOB SIMOTIME,ACCOUNT,CLASS=1,MSGCLASS=0,NOTIFY=CSIP1 //* ******************************************************************* //* IVLOGSJ1.JCL - a JCL Member for Batch Job Processing * //* This JCL Member is provided by SimoTime Technologies * //* (C) Copyright 1987-2016 All Rights Reserved * //* Web Site URL: http://www.simotime.com * //* e-mail: helpdesk@simotime.com * //* ******************************************************************* //* //* Text - Post a Message to a User-defined device. //* Author - SimoTime Technologies //* Date - September 23, 2001 //* Version - 01.09.22 //* //* The IVLOGSC1 program will attempt to display a message on the //* System Operator Console. //* //* ******************************************************************* //* Step 1 of 1, Test for making a call to SIMOLOGS. //* //STEP0010 EXEC PGM=IVLOGSC1 //SYSOUT DD SYSOUT=* //*
The following member (IVLOGSJ2.jcl) is the JCL for displaying a message to the User-Defines SYSOUT and Writing to a Log file.
//IVLOGSJ2 JOB SIMOTIME,ACCOUNT,CLASS=1,MSGCLASS=0,NOTIFY=CSIP1 //* ******************************************************************* //* IVLOGSJ2.JCL - a JCL Member for Batch Job Processing * //* This JCL Member is provided by SimoTime Technologies * //* (C) Copyright 1987-2016 All Rights Reserved * //* Web Site URL: http://www.simotime.com * //* e-mail: helpdesk@simotime.com * //* ******************************************************************* //* //* Text - Post a Message to a User-defined device. //* Author - SimoTime Technologies //* Date - September 23, 2006 //* Version - 07.01.22 //* //* The IVLOGSC2 program will attempt to display a message on the //* user-defined SYSOUT device and writ the same message to a //* user-defined SYSLOG file. //* //* ******************************************************************* //* Step 1 of 3, Delete any previously created SYSLOG file //* //QSAMDELT EXEC PGM=IEFBR14 //SYSUT2 DD DSN=SIMOTIME.UTIL.SYSLOG,DISP=(MOD,DELETE,DELETE), // STORCLAS=MFI, // SPACE=(TRK,5), // DCB=(RECFM=FB,LRECL=80,BLKSIZE=800,DSORG=PS) //* //* ******************************************************************* //* Step 2 of 3, Create a new RSEQ file with variable length records //* //QCRTDIN1 EXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=* //SYSIN DD DUMMY //* :....1....:....2....:....3....:....4....:....5....:....6....:....7. //SYSUT1 DD * /* //SYSUT2 DD DSN=SIMOTIME.UTIL.SYSLOG, // DISP=(NEW,CATLG,DELETE), // STORCLAS=MFI, // SPACE=(TRK,5), // DCB=(RECFM=V,LRECL=1055,DSORG=PS) //* //* ******************************************************************* //* Step 3 of 3, Test for making a call to SIMOLOGS. //* //IVLOGSS1 EXEC PGM=IVLOGSC2 //SYSLOG DD DSN=SIMOTIME.UTIL.SYSLOG,DISP=SHR //SYSOUT DD SYSOUT=* //*
This section will decribe the COBOL programs that are used to test and demonstrate the functions of SIMOLOGS.
The following member (IVLOGSC1.cbl) is the COBOL program that is used to test and demonstrate the displaying a message to the System Operator Console.
IDENTIFICATION DIVISION. PROGRAM-ID. IVLOGSC1. AUTHOR. SIMOTIME TECHNOLOGIES. ***************************************************************** * SOURCE MODULE IVLOGSC1.CBL ***************************************************************** * IVLOGSC1 - Test for making a call to SIMOLOGS. * * DESCRIPTION * ----------- * This program will post a message to the following devices. * 1. The user-defined SYSOUT. * 2. The Operator or System Console. * 3. A used-defined log file. * ***************************************************************** * MAINTENANCE * ----------- * 1999/03/89 SimoTime, Created program. * 1999/03/89 SimoTime, No changes to date. * ***************************************************************** ENVIRONMENT DIVISION. ***************************************************************** DATA DIVISION. WORKING-STORAGE SECTION. ***************************************************************** * Data-structure for Title and Copyright... * ------------------------------------------------------------ 01 SIM-TITLE. 05 T1 pic X(11) value '* IVLOGSC1 '. 05 T2 pic X(34) value 'Test for making a call to SIMOLOGS'. 05 T3 pic X(10) value ' v08.06.05'. 05 T4 pic X(24) value ' http://www.simotime.com'. 01 SIM-COPYRIGHT. 05 C1 pic X(11) value '* IVLOGSC1 '. 05 C2 pic X(20) value 'Copyright 1987-2016 '. 05 C3 pic X(28) value ' SimoTime Technologies '. 05 C4 pic X(20) value ' All Rights Reserved'. COPY PASSLOGS. ***************************************************************** PROCEDURE DIVISION. perform POST-STARTUP-INFO MOVE '* IVLOGSC1 Hello World' to SIMOLOGS-MESSAGE MOVE 'OPR1' to SIMOLOGS-REQUEST CALL 'SIMOLOGS' using SIMOLOGS-PASS-AREA GOBACK. ***************************************************************** POST-STARTUP-INFO. display SIM-TITLE display SIM-COPYRIGHT exit.
The following member (IVLOGSC2.cbl) is the COBOL program that is used to test and demonstrate the displaying a message to the user-defined SYSOUT a device and write the same message to the user-defined SYSLOG file.
IDENTIFICATION DIVISION. PROGRAM-ID. IVLOGSC2. AUTHOR. SIMOTIME TECHNOLOGIES. ***************************************************************** * SOURCE MODULE IVLOGSC2.CBL ***************************************************************** * IVLOGSC2 - Test for making a call to SIMOLOGS. * * DESCRIPTION * ----------- * This program will post a message to the following devices. * 1. The user-defined SYSOUT. * 2. The Operator or System Console. * 3. A used-defined log file. * ***************************************************************** * MAINTENANCE * ----------- * 1999/03/89 SimoTime, Created program. * 1999/03/89 SimoTime, No changes to date. * ***************************************************************** ENVIRONMENT DIVISION. ***************************************************************** DATA DIVISION. WORKING-STORAGE SECTION. ***************************************************************** * Data-structure for Title and Copyright... * ------------------------------------------------------------ 01 SIM-TITLE. 05 T1 pic X(11) value '* IVLOGSC2 '. 05 T2 pic X(34) value 'Test for making a call to SIMOLOGS'. 05 T3 pic X(10) value ' v08.06.05'. 05 T4 pic X(24) value ' http://www.simotime.com'. 01 SIM-COPYRIGHT. 05 C1 pic X(11) value '* IVLOGSC2 '. 05 C2 pic X(20) value 'Copyright 1987-2016 '. 05 C3 pic X(28) value ' SimoTime Technologies '. 05 C4 pic X(20) value ' All Rights Reserved'. COPY PASSLOGS. ***************************************************************** PROCEDURE DIVISION. perform POST-STARTUP-INFO MOVE '* IVLOGSC2 Hello World' to SIMOLOGS-MESSAGE MOVE 'OUT2' to SIMOLOGS-REQUEST CALL 'SIMOLOGS' using SIMOLOGS-PASS-AREA GOBACK. ***************************************************************** POST-STARTUP-INFO. display SIM-TITLE display SIM-COPYRIGHT exit.
The purpose of this document is 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 document and the links to other documents are intended to provide a choice of alternatives.
Permission to use, copy, modify and distribute this software, documentation or training material for any purpose requires a fee to be paid to SimoTime Enterprises. 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 Enterprises.
SimoTime Enterprises 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 Enterprises 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.
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.
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 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
icon.
Explore the COBOL Connection for more examples of COBOL programming techniques and sample code.
Explore an Extended List of Software Technologies that are available for review and evaluation. The software technologies (or Z-Packs) provide individual programming examples, documentation and test data files in a single package. The Z-Packs are usually in zip format to reduce the amount of time to download.
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.
Explore The File Status Return Codes to interpret the results of accessing VSAM data sets and/or QSAM files.
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 via Internet Connect for access to white papers, program examples and product information.
Explore The Micro Focus Web Site via Internet Connect for more information about products and services available from Micro Focus.
Explore the Glossary of Terms for a list of terms and definitions used in this suite of documents and white papers.
This document was created and is copyrighted and maintained by SimoTime Technologies.
If you have any questions, suggestions, comments or feedback please call or send an e-mail to: helpdesk@simotime.com
We appreciate hearing from you.
Founded in 1987, SimoTime Technologies 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. This includes the smallest thin client using the Internet and the very large mainframe systems. There is more to making the Internet work for your company's business than just having a nice looking WEB site. It is about combining the latest technologies and existing technologies with practical business experience. It's about the business of doing business and looking good in the process. 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.
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 |
Post a Message to a User-Defined Device |
Copyright © 1987-2016 SimoTime Technologies All Rights Reserved |
When technology complements business |
http://www.simotime.com |