How do you convert an alphanumeric data field?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
Darrel
Forum Commoner
Posts: 33
Joined: Fri Oct 10, 2014 2:30 am

How do you convert an alphanumeric data field?

Post by Darrel »

How do you convert an alphanumeric data field into a Comp3 or numeric data field in COBOL?

I am writting a program that takes in input from a downloaded report and produces a data file. Most of it is simple moves but I have a field with a pic clause of X(18) and I'm tring to get it into one with a pic clause of S9(13)V9(2). Typical values for this field would be "-1,040.40" or "10,700,060.53" and so on. Any suggestions?
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: How do you convert an alphanumeric data field?

Post by Christopher »

(#10850)
Post Reply