Welcome To T24All
Welcome, Guest
Username Password:

Writing d data onto a file
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Writing d data onto a file

Writing d data onto a file 1 year, 8 months ago #5133

  • coolkimu
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
Dear all,

Can u tel me hw to write the data extracted from bank database to a file name, destination path, fromat mentioned in my local param table.

Eg: My param table:

File name : Extracted data
File path : C:\TEST\DATA
File format: .pdf (or) .xls (or) .txt

I am storing the extracted data in an array.

Extracted data : USER,INPUTTER,SUPER.USER,1

Nw the Extracted data should be written onto the file with name as (mentined in File name) in the path (mentioned in File path) & in the format (mentioned in File format).

Thanks & Regards,

KIMU

Re:Writing d data onto a file 1 year, 8 months ago #5144

  • Lior
  • OFFLINE
  • Expert Boarder
  • Posts: 107
  • Karma: 0

Re:Writing d data onto a file 1 year, 8 months ago #5194

  • kripesh
  • OFFLINE
  • Gold Boarder
  • Posts: 170
  • Karma: 6
Do a WRITESEQ and when you give the record Id just give MYFILE.txt

Assume R.FINAL contains the final list of data to be put into the file.
FN.BP = "BP"
FV.BP = ""
You should have opened this file using OPENSEQ before you do a WRITESEQ.

WRITESEQ R.FINAL TO FV.BP,MYFILE.txt
MYFILE.pdf
MYFILE.xls


Hope it helps
Regards,

Re:Writing d data onto a file 1 year, 8 months ago #5202

  • coolkimu
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
  • Karma: 0
Dear Kripesh,

Thanks. It's working fine

Regards,

KIMU
  • Page:
  • 1
Time to create page: 0.44 seconds