Hi,
I want to write data into a text file which is obtained from ds administrator command line.
for eg
SELECT * FROM DS_AUDIT
The results has to be populated into a text file.
Any solution
Thanks
Vinod
Retrieving data from command line
Moderators: chulett, rschirm, roy
Vinod,
I would use the COMO command in TCL. This duplicates all screen IO to a file until turned off.
The file will be created in the project's &COMO& subdirectory as {TextFileName}.
I would use the COMO command in TCL. This duplicates all screen IO to a file until turned off.
Code: Select all
COMO ON {TextFileName}
SELECT * FROM DS_AUDIT
COMO OFF