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

Dump while background processing

Former Member
0 Likes
679

Hi

When I run my program in forground I am able to download the file on PC.But when I run the program in background its generating the spool but its not creating the file on my PC for the path I have giving and also its not showing any output in the spool that its creating.When I remove the download file option and execute the program in background it works fine.

Please advise.

Thanks and Regards

Davinder Singh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
650

You cannot download to your desktop in background. When you execute in the background, the execution actually happens on the server end and your server will not know your desktop location at that time. That is why it dumps. If your local directory structure is mounted on the application server, only in such cases, it treats the desktop locations similar to application server location. But even in those cases, you cannot use WS_DOWNLOAD or GUI_DOWNLOAD etc. You have to create a file on the application server using OPEN DATASET, TRANSFER, and CLOSE DATASET commands.

4 REPLIES 4
Read only

Former Member
0 Likes
650

Background processing does not support Presentation file download. When you run program in background, you can download file using WS_DOWNLOAD any similar funciton modules. That is the reason program is giving a short dump.

Read only

0 Likes
650

GUI_DOWNLOAD doesnot support this? I am using GUI_DOWNLOAD FM.Shoud I use WS_DOWNLOAD FM.

Read only

0 Likes
650

No any presentation server file download function module is not supported for background processing. If you use any of these function modules, you CAN NOT run your program in background.

Read only

Former Member
0 Likes
651

You cannot download to your desktop in background. When you execute in the background, the execution actually happens on the server end and your server will not know your desktop location at that time. That is why it dumps. If your local directory structure is mounted on the application server, only in such cases, it treats the desktop locations similar to application server location. But even in those cases, you cannot use WS_DOWNLOAD or GUI_DOWNLOAD etc. You have to create a file on the application server using OPEN DATASET, TRANSFER, and CLOSE DATASET commands.