Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Question on Cobol Move statement - mixed move x to zzz9.
On Mon, 21 May 2007 16:32:56 -0400, Michael Schey
<mscheynjSPAMBLOCK@yahoo.com> wrote:

>On Mon, 21 May 2007 14:29:58 -0600, Howard Brazee <howard@brazee.net>
>wrote:
> 
>
>Yup.  I'm not stupid and work on many platforms.  Shit, I used to
>teach Cobol (a long time ago) and understand how moves work.  The
>sending field is moving the data left to right, one byte at a time.  I
>just can't explain why the result is coming out the way it is.
>Michael

Depending on the platform and possible low-order zone, the blanks are
treated as zeros.  I could see this causing a data exception (S0C7) on
an IBM z series unless the PACK was followed by an OR IMMEDIATE on the
sign position because the packed value of the field would be
x'030004'.  Other platforms would have their own peculiarities.
>(http://michaelschey.blogspot.com/)

Report this thread to moderator Post Follow-up to this message
Old Post
Clark F Morris
05-22-07 02:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:11 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.