Roland Schiradin wrote:
Craig, interesting I thought NUMPROC(PFD) would cause an abend but PACK wouldn't get a data exception (0C7).
Roland



There does not appear to be a combination of NUMPROC and OPT that will

cause

an abend.

NUMPROC(PFD) tells the compiler all your numeric display
and packed-decimal (comp-3 for you old timers) fields
have valid signs; the compiler takes you at your word
and uses non-packed decimal instructions whenever possible
(because they are generally faster). So a MOVE of such
data will generate an MVC, which will never S0C7, instead
of a ZAP, which can S0C7; separate issue: and of course,
PACK never gets a S0C7; if you have bad data, its the use
of packed decimal arithmetic or editing operations on bad
data that can S0C7 (and, of course, CVB if that's
generated along the way).



Kind regards,

-Steve Comstock
The Trainer's Friend, Inc.

303-393-8716
http://www.trainersfriend.com

  z/OS Application development made easier
    * Our classes include
       + How things work
       + Programming examples with realistic applications
       + Starter / skeleton code
       + Complete working programs
       + Useful utilities and subroutines
       + Tips and techniques

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to