For Programmers: Free Programming Magazines  


Home > Archive > Cobol > May 2007 > Re: Question on Cobol Move statement - mixed move x to zzz9.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Question on Cobol Move statement - mixed move x to zzz9.
Karl Kiesel

2007-05-23, 3:55 am


"Alistair" <alistair@ld50macca.demon.co.uk> schrieb im Newsbeitrag
> No PACK involved. The move was a simple move. If EBCDIC then
> X'F3404040' would result in an S0C7 (I presume) unless only the low-
> order nibbles are moved for each character and the X'F' nibble put in
> to all high order positions ie X'F3404040' becomes X'F3F0F0F0'. My
> money says that as there was no reported abend then it isn't IBM
> hardware.


not necessarily - depends on the generate instructions: we also generate
code for IBM hardware interface, but we include a ZAP which leads to an
interrupt if the sending field is not numeric though the COBOL standard
requests it to be. We do this on special customer request, in order to
'detect' such nonnumeric sending fields.

regards
K. Kiesel
Fujitsu Siemens Computers, München


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com