There's an exceptionally helpful thread on this forum at https://communities.sas.com/message/32475#32475 which shows how to use DLL files to delete or move data files from within JSL, but the script appears to be specific to Windows. I'd like to assemble something that would work equally well on both Windows and Macs. Does anyone know if that can be done please - and if so, how?
Hi,
If you're using jmp 10.0.1, some new functions are available
http://support.sas.com/demosdownloads/000981/JMP_1001_release_notes.pdf
JSL File and Directory commands are available, including :
File Exists( path )
Directory Exists( path )
Copy Directory( from, to, {1/*recursive*/} )
Copy File( from, to )
Move Directory( from, to )
Move File( from, to )
Rename Directory( old, new )
Rename File( old, new )
Delete Directory( path )
Delete File( path )
Create Directory( path )
Last Modification Date( path )
Creation Date( path )
Hi,
If you're using jmp 10.0.1, some new functions are available
http://support.sas.com/demosdownloads/000981/JMP_1001_release_notes.pdf
JSL File and Directory commands are available, including :
File Exists( path )
Directory Exists( path )
Copy Directory( from, to, {1/*recursive*/} )
Copy File( from, to )
Move Directory( from, to )
Move File( from, to )
Rename Directory( old, new )
Rename File( old, new )
Delete Directory( path )
Delete File( path )
Create Directory( path )
Last Modification Date( path )
Creation Date( path )
Even better than I'd hoped for. Many thanks!
All, Copy File() works in JMP 9.0.3 (or at least for me). Very nice. dj
Can some one share a move file jsl by search the key words in file name?
Thank you
This is very old post and some functions might have changed or there might be new ones.