Application Development 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: 

Saving File to UNIX

Former Member
0 Kudos

How to save a file to UNIX?

I have to use POPUP_TO_CONFIRM; what is this function module for?

Thanks.

1 ACCEPTED SOLUTION

madan_ullasa
Contributor
0 Kudos

Hi,

You can save the file using open data set ... The application server may be on unix...

Alternatively you can use this..

CONCATENATE 'cp' filename

INTO variable SEPARATED BY space.

Here cp = unix command to save the file...

  • send command to unix to move item file

CALL 'SYSTEM' ID 'COMMAND' FIELD variable.....

2 ...

The FM module will just pop up a screen on which you can program the keys... similar to your window when you delete a file....

regds,

Madan...

3 REPLIES 3

Former Member
0 Kudos

POPUP_TO_CONFIRM - Pop-up dialog confirm an action before it is carried out.

Former Member
0 Kudos

If by Unix you mean the application server, then you have to use OPEN DATASET CLOSE DATASET statements. Search the forum for examples.

madan_ullasa
Contributor
0 Kudos

Hi,

You can save the file using open data set ... The application server may be on unix...

Alternatively you can use this..

CONCATENATE 'cp' filename

INTO variable SEPARATED BY space.

Here cp = unix command to save the file...

  • send command to unix to move item file

CALL 'SYSTEM' ID 'COMMAND' FIELD variable.....

2 ...

The FM module will just pop up a screen on which you can program the keys... similar to your window when you delete a file....

regds,

Madan...