Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

fm required

Former Member
0 Likes
541

Hi,

Is there any fm that will run in background and delete a file at the application server. Application server being on unix.

Thanks

Harikrishna.

Hi,

Is there any fm that will run in background and delete a file at the application server. Application server being on unix.

Thanks

Harikrishna.

3 REPLIES 3
Read only

Former Member
0 Likes
513

NO FM IS AVAILABLE,

USE OPEN DATASET AND DELETE THAT FILE IN INPUT MODE.

REWARD POINTS,

KUMAR

Read only

Former Member
0 Likes
513

check this FM : FMCT_DELETE_UNIXFILE

Read only

Former Member
0 Likes
513

Try

DELETE DATASET dset.

Effect

This statement deletes the file specified in dset. dset is expected to be a character-type data object that contains the platform-specific name of the file. The file can be opened or closed.

Also check the below FMs

FMCT_DELETE_UNIXFILE

ISH_N2_DELETE_FILE_APP_SERVER

Hope this helps.

Thanks,

Balaji