open a .txt file by JSL script and save it as a jmp fileI want to open a .txt file by jsl script and save it as a jmp file.
Is there a simple way to do it by scripting?Re: open a .txt file by JSL script and save it as a jmp fileThis may be what you are looking for
dt=open("pathtofolder\filename.txt");
close(dt,save("$TEMP\lookup.jmp"));Re: open a .txt file by JSL script and save it as a jmp fileand I may have misinterpreted... are you saving a script? a datatable? is the source a .csv?
Re: open a .txt file by JSL script and save it as a jmp filelook in the scripting index for LoadTextFile() and SaveTextFile(); they don't care about the extension the way open() does.