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

Write file to application server in background

Former Member
0 Likes
1,074

Hi,

I am writing the file on to applicaton server in my program. When I run the program in foreground file is written successfully.

But when I run the program in Background file is not written.

I have debugged the program while running in the background. File was opened successfully. Transfer was successful.

But when I check the same in AL11, file is not displaying.

Can any one help me on this?

Thanks and Regards,

Shravan G.

5 REPLIES 5
Read only

Former Member
0 Likes
861

That sounds strange. Are you sure you are pasiing the correct filename ?

Read only

Former Member
0 Likes
861

File name depends upon the current date and current time.

Like file name would be: REPORTNAME_20100506_111212.csv

Read only

0 Likes
861

Hi

Maybe the file name is too long..

can you paste the code that you use for save the file?

regards

Marco

Read only

Former Member
0 Likes
861

Hi,

Does your system have multiple application servers? It may be that the batch process ran on one server and your dialog session looking at AL11 is running on another.

Regards,

Nick

Read only

kiran_k8
Active Contributor
0 Likes
861

I am also facing a similar kind of issue.File transfer to app server in debugging it is fine and I am also able to see the file but when executed directly from the background option it is not.Only a few lines are getting transferred not the entire file.

K.Kiran