Subscribe Bookmark RSS Feed

Deleting and moving JMP data files on disk from JSL

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

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 )

3 REPLIES
Solution

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!

djhanson

Community Trekker

Joined:

Jun 23, 2011

All, Copy File() works in JMP 9.0.3 (or at least for me).  Very nice.  dj