Skip to Content
Designing and Programming CICS Applications
book

Designing and Programming CICS Applications

by John Horswill, Members of the CICS Development Team at IBM Hursley
July 2000
Intermediate to advanced
414 pages
9h 41m
English
O'Reilly Media, Inc.
Content preview from Designing and Programming CICS Applications

Chapter 11. Programming the 3270 Presentation Logic Component

In this chapter:

There are three steps that are necessary to build up this component:

  • Defining screens using Basic Mapping Support (BMS)

  • Sending and receiving data (NACT01)

  • Local printing (NACT03)

Part way through the chapter, we’ll have a digression and introduce a little background about symbolic description maps.

First, a recap about the purpose of the component that we are going to write. This program is the first one executed when the NACT transaction is entered on a 3270 terminal. Apart from local printing, all of the code in the presentation logic has been placed in a single program. This is because the application is not big enough to justify multiple programs. NACT01, the name of our program, displays the menu screen, which prompts the user for request input, and ends when it returns control to CICS. In returning, it specifies that the same transaction (NACT) is to be executed when the next input is received from this terminal. NACT01 will be invoked repeatedly to process the input from the menu. A typical piece of code that does this is:

X-RETURN-COM-AREA SECTION. * * This routine saves data and ends the task * * This section is performed from the following sections - * B-GET-MENU-DATA * DB-SEND-DETAIL-WITH MESSAGE * DE-SEND-MENU-WITH-MESSAGE * U-SEND-EMPTY-MENU ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ABCs of IBM z/OS System Programming Volume 1

ABCs of IBM z/OS System Programming Volume 1

Karan Singh, Paul Rogers
ABCs of IBM z/OS System Programming Volume 1

ABCs of IBM z/OS System Programming Volume 1

Lydia Parziale, Luiz Fadel, Stanley Jon
Application Development for IBM CICS Web Services

Application Development for IBM CICS Web Services

James O'Grady, Ian Burnett, Jim Harrison, San Yong Liu, Xue Yong Zhang
Architect's Guide to IBM CICS on System z

Architect's Guide to IBM CICS on System z

Phil Wakelin, Ahmed Farrag, Steve Hobson, Manuel Jaen, Tommy Joergensen, Thiago Rotta

Publisher Resources

ISBN: 9781449311933Errata Page