Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Unix file problem

Former Member
0 Likes
627

Hi gurus,

I am creating program which reads the data from unix file and print it.

but i am having one major problem while reading that data. when i read the currency value from the file it displays #sign every time wht can i do to eliminate this

please give me the solution ASAP.

thanks in advance.

Vinod

1 ACCEPTED SOLUTION
Read only

former_member156446
Active Contributor
0 Likes
606

Hi

  1. sign comes ... when the mode of writing that file is other than ASC.

if you write the file to app server in ASC.. things will solv in many cases..

4 REPLIES 4
Read only

Former Member
0 Likes
606

when you are dealing with application server files, you have to define all your fields as character fields. after reading you have to convert the char fields to quantity or currency fields.

Read only

0 Likes
606

yes u r right,

i am having problem with minus sign value how can i read that.

thansk vinod

Read only

0 Likes
606

are you using the fixed length files or tabdelimited file. show the code how you are doing..?

Read only

former_member156446
Active Contributor
0 Likes
607

Hi

  1. sign comes ... when the mode of writing that file is other than ASC.

if you write the file to app server in ASC.. things will solv in many cases..