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

Uploading a file from Application server

Former Member
0 Likes
413

hi all,

could any one help me to solve the problem:

we are uploading a file from application server which is having some status information. last field in each record will be status number, sometimes it can be blank. if it is initial then only we need to consider it for processing. when it is initial the end of character which is # is occupying that field, which it is not identifying as empty field.

how can we avoid it......

thx in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
393

Are you doing cross platform transfers? I mean is the file comming from a UNIX sytem to a Windows system or vice versa. read dataset normally doesnt read the end of line character unless the file was transfered incorrectly. IF you are doing cross platfor transfers you have to select the appropriate transfer mode so that the unix end of line character is replaced by windows end of line character or vice versa.

hi all,

could any one help me to solve the problem:

we are uploading a file from application server which is having some status information. last field in each record will be status number, sometimes it can be blank. if it is initial then only we need to consider it for processing. when it is initial the end of character which is # is occupying that field, which it is not identifying as empty field.

how can we avoid it......

thx in advance.

1 REPLY 1
Read only

Former Member
0 Likes
394

Are you doing cross platform transfers? I mean is the file comming from a UNIX sytem to a Windows system or vice versa. read dataset normally doesnt read the end of line character unless the file was transfered incorrectly. IF you are doing cross platfor transfers you have to select the appropriate transfer mode so that the unix end of line character is replaced by windows end of line character or vice versa.