Re: field validation (was Re: COBOL/DB2 Date edit question)



On Mon, 13 Aug 2007 11:26:01 -0600 "Frank Swarbrick"
<Frank.Swarbrick@xxxxxxxxxxxxxx> wrote:

:>Prior to the mid-1990s all of our data input to the mainframe was your good
:>ol' 3270 green screens. For better or for worse, presentation logic and
:>business logic were implemented in the same CICS program. Data validation
:>was hard coded directly in to the same CICS program.

:>We then started utilizing some distributed (Windows) applications to perform
:>some of these functions. The same (if slightly modified) CICS programs
:>still existed on the back end and were utilized by the distributed
:>applications to actually get the data from there to here (the mainframe).
:>All of the existing data validation remained in the CICS programs, but much
:>of the same logic was also put in to the distributed application.

There are two kinds of validations, syntax and appropriateness.

An amount must be numeric (syntax) and be within a certain range
(appropriate).

February 30th fails on syntax, while Mar 23rd may fail due to being in the
wrong quarter, or wrong day of the week.

--
Binyamin Dissen <bdissen@xxxxxxxxxxxxxxxxxx>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.
.



Relevant Pages

  • field validation (was Re: COBOL/DB2 Date edit question)
    ... Prior to the mid-1990s all of our data input to the mainframe was your good ... business logic were implemented in the same CICS program. ... We then started utilizing some distributed applications to perform ... even if we wanted to pass the edits through to ...
    (comp.lang.cobol)
  • Re: field validation (was Re: COBOL/DB2 Date edit question)
    ... Prior to the mid-1990s all of our data input to the mainframe was your good ... business logic were implemented in the same CICS program. ... We then started utilizing some distributed applications to perform ... even if we wanted to pass the edits through to ...
    (comp.lang.cobol)
  • Re: How do you open a file in CICS?
    ... Talking mainframe here: ... The system takes care of this mundane stuff most times. ... I've never written a CICS program where I've had to open or close a file. ...
    (comp.lang.cobol)