PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Tue Dec 12, 2017 1:41 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Nov 17, 2014 1:51 am 
Offline
Forum Commoner

Joined: Fri Oct 10, 2014 2:30 am
Posts: 33
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?


Top
 Profile  
 
PostPosted: Mon Nov 17, 2014 2:34 pm 
Offline
Site Administrator
User avatar

Joined: Wed Aug 25, 2004 7:54 pm
Posts: 13457
Location: New York, NY, US
search for it

_________________
(#10850)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: refireturbo and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group