View previous topic :: View next topic
|
Author |
Message |
janmejay Warnings : 1 New User
Joined: 22 Jun 2007 Posts: 85 Location: bangalore
|
|
|
|
hello
my reqmt is dump the data in CSV format in output file.
I have declared my output file structure as
Code: |
01 outrec
10 emp-name pic x(10)
10 filler pic x(1) value ','.
10 emp-addrs pic X(30).
10 Filler pic x(1) value ','.
10 emp salay pic s 9(5) comp-3
10 filler pic x(1) value ','.
10 emp-phone pic 9(10)
|
my output should like :
Code: |
mainppss ,ukusbangalore ,50000,9861098610
|
after reading the input file , i am moving the values to corresponding outrec fields but when i am writing to output file the comma (,) is not displaying after end of fields. it showing blank.
it is coming as
Code: |
mainppss ukusbangalore 50000 9861098610 |
can let me know the reason |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
since You did not post also the code
all You did is whine that something did not behave according to Your expectations
after 9 years of hanging around You should know how to post meaningful questions |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
Duplicate of post in COBOL programming - locked. |
|
Back to top |
|
|
|