Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

COBOL Programming :: RE: Alphanumeric to Numeric move on UNIX

$
0
0
Author: mistah kurtz
Posted: Wed Aug 03, 2016 11:47 pm (GMT 5.5)

Hi,

As suggested by vendor, we tried the several compiler options that was provided.

But in all the cases, when we move an X(4) with all spaces to 9(4), the result is all zeros
Code:
'0000'
and not as in Mainframe
Code:
'   0'


And since this file goes to another system so everyone feels that we should make it as per mainframe (the last working thing). Hence we have decided that after the output is produced, we will add a post script in UNIX to make that field look like the way they want it before FTP.

Thank you all for your valuable suggestions. I was not able to convince them to change the requirements, nevertheless I have learnt a few more things which are of great value.

Thanks
K.


Viewing all articles
Browse latest Browse all 8500

Trending Articles