on 05-01-2006 4:26 PM
Hi All,
I am trying to upload a ASCII file.
The problem I am facing is
the last column which is key figure type Number( DEC) is not being picked up. If I try to adjust it, its showing up with the first key figure in the first key figure's column. So please let me know what I'm doing wrong.
Also can somebody give me the basics of creating a ASCII file.
Thanks,
Harini
Hi Harini,
The decimal and Integer values should be specified in the ASCII file with preceding zeros.
For example if your field is an interger of length 7 then the values should be like
0004000
0000300
And for Decimals the values should be like
004000.00
002300.45
Regards,
Prema
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Harini,
When you load data directly from ASCII you need to take care of data type of the associated objects.
say you have 2 objects in your structure one with CHAR20 and other is Char 10 then make sure in your file first 20 character will be object one i.e. make the value as right aligned and from character 21 your value for next object will start, so if you have say "Upload" as your value for the second object put this value from 25 th place upto 30.
-Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harini
As per Ashish's suggestion & depending upon the length of your fields , you have to format your flat file (Ashish has already explained this with example )
Alternatively use CSV file and then you don't have to count the spaces as required.
Hope this helps
Regards
Pradip
(Friends : Don't forget to assign points !!)
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.