CICS BMS Maps Concepts and commands.

Slides:



Advertisements
Similar presentations
Chapter 11 Introduction to Programming in C
Advertisements

The Assembly Language Level
Microsoft Access Course 1. Introduction to the user interface.
 2005 Pearson Education, Inc. All rights reserved Introduction.
Introduction to C++ Programming. A Simple Program: Print a Line of Text // My First C++ Program #include int main( ) { cout
 C++ programming facilitates a disciplined approach to program design. ◦ If you learn the correct way, you will be spared a lot of work and frustration.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
1 ICS103 Programming in C Lecture 3: Introduction to C (2)
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Chapter 2: Input, Processing, and Output
Screen guidelines For data entry. Screen Layout for Data Entry Identify screen (name and purpose). Keep number of screens to a minimum. Ensure that all.
University of Southern California Enterprise Wide Information Systems Getting Started in R/3 Instructor: Richard W. Vawter.
CICS Basic Commands COBOL programming statements.
Intro to Program Development
CICS-Dbg1 Testing and Debugging Programmers responsibility that program works correctly! Can write program incrementally You must test anything that the.
1 Chapter 2 Reviewing Tables and Queries. 2 Chapter Objectives Identify the steps required to develop an Access application Specify the characteristics.
1 Introduction to CICS. 2 Contents Introduction History Compatibility Typical Usage Components of CICS CICS Structure – Domains CICS Management Functions.
Microsoft Office Word 2013 Expert Microsoft Office Word 2013 Expert Courseware # 3251 Lesson 4: Working with Forms.
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
RDz Workbench – BMS Map Editor
Chapter 2 Software Tools and Assembly Language Syntax.
Forms and Form Controls Chapter What is a Form?
Defining Styles and Automatically Creating Table of Contents and Indexes Word Processing 4.03.
CICS-Prg1 Terminal Handling CURSOR Positioning (in SEND MAP) IC option in DFHMDF Macro (ATTRB Parm)  If more than one – LAST position is used. DIRECT.
Fortran 1- Basics Chapters 1-2 in your Fortran book.
CICS – Mainframe (LC) 2 Copyright © 2005, Infosys Technologies Ltd ER/CORP/CRS/TP01/003 Version No: 1.0 Course Schedule Day1 - Introduction to CICS Day2.
RDz Workbench – BMS and MFS Map Editors
Dr Masri Ayob TK 2633: Microprocessor & Interfacing Lecture 7: Assembly Language.
A Simple Two-Pass Assembler
Chapter 6 Generating Form Letters, Mailing Labels, and a Directory
Chapter 3 Elements of Assembly Language. 3.1 Assembly Language Statements.
225 City Avenue, Suite 106 Bala Cynwyd, PA , phone , fax presents… HTML Lists, Tables and Forms v2.0.
Keyboarding Vocabulary Key Computer Terms. Click To rapidly press and release the mouse button To rapidly press and release the mouse button.
Basic Mapping Support Day2 2 Copyright © 2005, Infosys Technologies Ltd ER/CORP/CRS/TP01/003 Version No: 1.0 Objectives Introduction to BMS –Screen Layout.
Chapter 2 Overview of C Part I J. H. Wang ( 王正豪 ), Ph. D. Assistant Professor Dept. Computer Science and Information Engineering National Taipei University.
CICS-Int1 Introduction to On-Line BATCH – Transactions are accumulated into groups (batches) before processing. ON-LINE – Interactive Transactions entered.
PowerBuilder Online Courses - by Prasad Bodepudi
Chapter 7 File I/O 1. File, Record & Field 2 The file is just a chunk of disk space set aside for data and given a name. The computer has no idea what.
Introduction to ABAP Selection Screens. Slide 2 Screens (Types) There are three types of screens Selection screens get parameter input for reports List.
CPS4200 System Programming 2007 Spring 1 Systems Programming Chapter 2 Assembler II.
Week 1 Algorithmization and Programming Languages.
COMPUTER PROGRAMMING. A Typical C++ Environment Phases of C++ Programs: 1- Edit 2- Preprocess 3- Compile 4- Link 5- Load 6- Execute Loader Primary Memory.
1 Programming in C Hello World! Soon I will control the world! Soon I will control the world!
IBM MAINFRAMES CICS Training Class-01.
Page 1 Non-Payroll Cost Transfer Enhancements Last update January 24, 2008 What are the some of the new enhancements of the Non-Payroll Cost Transfer?
Lecture 21 Lecture 2: Using TSO and ISPF Tuesday, January 20, 2009.
Algorithms  Problem: Write pseudocode for a program that keeps asking the user to input integers until the user enters zero, and then determines and outputs.
IBC233 Lecture 2 Updated Winter 2008 Agenda Test next Week – Jan 23 ISeries Architecture CL (Control Language) Library Lists Operations Navigator.
C programming language was developed in the seventies by a group of at the Bell Telephone lab. The C language was the outline of two earlier languages.
Introduction Basics.
1.  Introduction  The Benefits of the Report Writer Module ◦ For Detail and Summary Printing ◦ For Control Break Processing ◦ For Printing Headings.
 2008 Pearson Education, Inc. All rights reserved JavaScript: Introduction to Scripting.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Chapter Topics 2.1 Designing a Program 2.2 Output, Input, and Variables 2.3 Variable Assignment and Calculations 2.4 Variable Declarations and Data Types.
1 Week # 4 Introduction to PDM PDM is a workbench environment that lets programmers and system operators navigate the three levels of the AS/400’s object-based.
Microsoft Visual Basic 2012 CHAPTER FOUR Variables and Arithmetic Operations.
Microsoft Access Prepared by the Academic Faculty Members of IT.
1 Types of Programming Language (1) Three types of programming languages 1.Machine languages Strings of numbers giving machine specific instructions Example:
HTML Structure II (Form) WEEK 2.2. Contents Table Form.
Some of the utilities associated with the development of programs. These program development tools allow users to write and construct programs that the.
Introduction Every program takes some data as input and generate processed data as out put . It is important to know how to provide the input data and.
Chapter 3 Machine Language and Assembly Language.
Chapter 3 Machine Language and Assembly Language.
Variables and Arithmetic Operations
Chapter 7 LC-2 Assembly Language.
DB2.
Chapter 7 LC-2 Assembly Language.
A Simple Two-Pass Assembler
Data Groupings: File File: a group of related records
Presentation transcript:

CICS BMS Maps Concepts and commands

What is a Map? A map defines a set of formatted fields used when communicating with a 3270 terminal. The symbolic representation of a map is used in an application program for easy reference of individual map fields.

Mapsets A mapset can hold several maps, but most mapsets hold one map, thus the term map can sometimes generically refer to the mapset with its map. Screen Definition Facility II is an online map definition product available for use with various mainframe operating systems. Every map must be a part of a mapset!

Assembler Macros used to define a map DFHMSD – defines beginning and end of the mapset DFHMDI – defines a map in mapset DFHMDF – defines each field on the map

Assembler Macros so Assembler rules Assembler coding rules Label begins in column 1 Macro begins in column 10 Operands begin in column 16 or 17 if macro names are six characters. Continued lines must have a non-blank continuation character in column 72; operands continue in column 16 Syntax of assembler statements Label Macro operands

The BMS mapset PRINT NOGEN – first statement entered when typing mapset into program Assembler command Do not print statements generated when expanding the assembler macros END – last statement entered when typing mapset into program Assembler command used to indicate end of a mapset source statements to the compiler

The BMS mapset Each map has 2 forms: Physical – table of screen display information; resides in program load library need an entry in PPT before CICS can load map Systems programmer will update PPT with CEDA transaction or DFHPPT system macro Physical mapset is loaded when the executing program requests SEND or RECEIVE services. Symbolic – group structure of COBOL field definitions; resides in the COPY library. Placed in the source program by the compiler. If changes affect symbolic map then all programs using map must be recompiled. Mapset is a resource so it must be included in table where programs are defined to CICS.

DFHMSD Macro - Mapset Definition Operands TYPE=&SYSPARM Usually set in JCL to 1 of following 2: DSECT – symbolic map MAP – physical map MODE=INOUT Determines how many symbolic map areas you are using (INOUT = 1) Gives you a map input area mapnameI and map output area mapnameO TERM=ALL (what types of terminals? All 3270) LANG=COBOL TIOAPFX=YES (always) Use 12 byte Terminal Input/Output Area prefix (Used by CICS mgmt services when initiating a task) CTRL=(FREEKB) unlock keyboard

DFHMDI Macro – Map Definition Operands SIZE=(24,80) screen has 24 rows by 80 columns to be used to layout the map LINE=1 Map begins on line 1 COLUMN=1 Map begins in column 1

Defining Fields with Attribute Bytes Every field is defined by the presence of an attribute byte. They take up space on the screen but are not visible. Controls appearance and operation of the field. Bit pattern of the byte determines the characteristics of the field. Setting initially based on values coded in the map Settings can be changed within the program Copybook exist for use in changing attribute byte settings Marks the beginning of a display only field Marks the beginning and end of a data entry field

Attribute Bytes continued… Has characteristics associated with it that define the field data that follows it. Like: Protection tells if operated is allowed to enter data in field or not PROTECTED/UNPROTECTED/AUTOSKIP Intensity tells how to display the field NORMAL/BRIGHT/NONDISPLAY NORMAL is default MDT (Modified Data Tag) tells if the user entered or changed data in the field. ON/OFF

DFHMDF Macro – Field Definition Operands POS=(Line#,Column#) LENGTH=X where X is number of bytes after the attribute byte INITIAL=‘value given by programmer’ Puts an initial value in the physical map like a field identifying label ATTRB=1 to many possible settings for protection, intensity and MDT

Protection Setting - Auto-skip Option Skip field is similar to a protected field because user can not enter data into it. When cursor moved to a skip field it automatically skips to the next unprotected field. Used at the end of an entry field so when user fills entry area, the cursor will automatically move to next entry field.

Example of DFHMDF macro CUSTNO DFHMDF POS=(5,26), X LENGTH= 6, X ATTRIB=(NORM,UNPROT) DFHMDF POS=(5,33), X LENGTH=1, X ATTRIB=ASKIP First macro occurrence defines the customer number field. It is displayed in normal mode and unprotected so the user can enter up to 6 characters in it. Second macro occurrence defines a skip field. It marks the end of the customer number field and causes the cursor to skip to the next unprotected field. (5,26) is location of attribute byte (5,27) – (5,32) is the customer number field data See page 115 for more examples

Symbolic Map The copy member created by the assembler translation of the macros defined in the mapset. Use the symbolic map in the program to process data for the fields named in the map. For each DFHMDF macro with a label the symbolic map contains five data fields. Each one has the same name as the label, followed by a single letter (L,F,A,I or O).

Data Name Suffixes labelL – length of the data returned in the input field labelF – flag byte used to identify if field was modified without entering data on input operation labelA – redefines of flag byte; used to change attributes defined in physical map for a field on output operation labelI – Input data field; data sent from from terminal to program labelO – redefines the Input data field; Output data field; data sent from program to terminal