Skip to Content
Using IBM Application Development Tools for z/OS and OS/390
book

Using IBM Application Development Tools for z/OS and OS/390

by Joe DeCarlo, Peter Henningsen, Paula Hesketh, Lars-Erik Olsson
May 2004
Intermediate to advanced
608 pages
14h 44m
English
IBM Redbooks
Content preview from Using IBM Application Development Tools for z/OS and OS/390
Chapter 28. Scenario 3: Is the error in DB2 data or program logic? 519
Example 28-1 shows the updated code in the CALCULATE-SHARES-SOLD paragraph.
Example 28-1 Coding changes in MYTRADD to correct the error
IF NO-OF-SHARES-DEC IS GREATER THAN NO-SHARES
THEN
MOVE INvaLID-SALE TO RETURN-vaLUE
MOVE TOO-MANY-SHARES-MSG TO COMMENT-FIELD
ELSE
SUBTRACT NO-OF-SHARES-DEC FROM NO-SHARES
GIVING NO-SHARES
MOVE NO-SHARES TO NO-OF-SHARES-DEC
END-IF
.
Figure 28-15 Check the SHARES-OVERFLOW variable
Remember: To enable the corrected programs for CICS, first you have to remove the old
ones. Follow these instructions:
TSO:
򐂰 Delete the ...
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

Introduction to the IBM Application Development Tools on z/OS and OS/390

Introduction to the IBM Application Development Tools on z/OS and OS/390

Joe DeCarlo, Sylvie Delahaye, Sergei Litvak, Wilfried Van Hecke
IBM Problem Determination Tools for z/OS

IBM Problem Determination Tools for z/OS

Rufus Credle, Vikram Manchala, Dana Shelton, Kenichi Yoshimura
Implementing the IBM FlashSystem 5010 and FlashSystem 5030 with IBM Spectrum Virtualize V8.3.1

Implementing the IBM FlashSystem 5010 and FlashSystem 5030 with IBM Spectrum Virtualize V8.3.1

Jack Armstrong, Tiago Bastos, Pawel Brodacki, Markus Döllinger, Jon Herd, Sergey Kubin, Carsten Larsen, Hartmut Lonzer, Jon Tate
IBM System Storage SAN Volume Controller, IBM Storwize V7000, and IBM FlashSystem 7200 Best Practices and Performance Guidelines

IBM System Storage SAN Volume Controller, IBM Storwize V7000, and IBM FlashSystem 7200 Best Practices and Performance Guidelines

Jon Tate, Tiago Moreira Candelaria Bastos, Jon Herd, Sang-hyun Kim, Sergey Kubin, Dirk Peitzmann, Antonio Rainero

Publisher Resources

ISBN: 0738497525Purchase book