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

Zoned Decimal to Char
Hi,
I have a data file containing data in Zoned Decimal. Is it possible to
change it into a different data type, so that its more readable. Is it
possible to convert it to char ?
Thanks in advance


Report this thread to moderator Post Follow-up to this message
Old Post
Zeta
07-10-06 11:55 PM


Re: Zoned Decimal to Char
In article <1152549434.960229.10980@m79g2000cwm.googlegroups.com>,
Zeta <jeevitha.k@gmail.com> wrote:
>Hi,
>I have a data file containing data in Zoned Decimal. Is it possible to
>change it into a different data type, so that its more readable. Is it
>possible to convert it to char ?

It might be possible, yes.  Please post what you have tried so far in
order to decrease the possibility of duplicating errors.

DD


Report this thread to moderator Post Follow-up to this message
Old Post

07-10-06 11:55 PM


Re: Zoned Decimal to Char
Zeta wrote:
> Hi,
> I have a data file containing data in Zoned Decimal. Is it possible to
> change it into a different data type, so that its more readable. Is it
> possible to convert it to char ?
> Thanks in advance

1. HINT: Can you read some of the characters? If so, which ones do not
appear to be numeric digits?

2. For background go to http://www.flexus.com/download.html and
download cobdata.zip. This is a tutorial on COBOL data formats written
by Michael Mattias, one of the regular contributors to this newsgroup.

-- elliot


Report this thread to moderator Post Follow-up to this message
Old Post
epc8@juno.com
07-10-06 11:55 PM


Re: Zoned Decimal to Char
In article <1152549434.960229.10980@m79g2000cwm.googlegroups.com>,
Zeta <jeevitha.k@gmail.com> wrote:
>Hi,
>I have a data file containing data in Zoned Decimal. Is it possible to
>change it into a different data type, so that its more readable. Is it
>possible to convert it to char ?

For both this question and your question re EBCDIC-ASCII, I really suggest
you first read my tutorial at:
http://www.talsystems.com/tsihome_h...oads/C2IEEE.htm

(Hey, it's free! No, I can't do it for less than that!)

That will tell you some other information you will have to supply to the
newsgroup members if you would like to obtain quality assistance from those
members.

--
Michael C. Mattias
Tal Systems Inc.
Racine WI
mmattias@talsystems.com
ph 262-681-3895
Outside WI Toll Free 1-877-264-2847




Report this thread to moderator Post Follow-up to this message
Old Post
Michael Mattias
07-10-06 11:55 PM


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 04:34 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.