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: 

Problem while writing on to the file? Output differs from Server to Server?

babu_kilari4
Active Contributor
0 Kudos

Hi All,

Scenario is like this:

1. I am running a parent job which in turn creates child jobs.

2. Each child job would create file with some data.

3. Finally once all the child jobs are finished, parent job will pick up the files created by the child jobs and merges into one

final file.

Problem that I am facing:

1. In my test server, the above scenario works perfectly fine.

2. But, in my development server, few of the child jobs are unable to create the files.

3. Few of them are able to create the files but unable to write the records completely on to the file.

Did anyone of you face this problem? What could be the problem behind this?

This looks really crazy for me. Any pointers on this would be highly appreciated.

Thanks,

Babu Kilari

13 REPLIES 13

Former Member
0 Kudos

Have you checked that the directory structure in your TEST & Devlopment server are identical or not. This problem may be because of the difference in Directory Structure.

Try to find out the delta among your TEst & Devlopment server.

0 Kudos

Hi Ajay,

What do you mean by Directory structure? How do I find that?

Thanks,

Babu Kilari

0 Kudos

I am talking about Application Server Directory Structure.

Is your program writing files on application or presentation server?

In both of the cases you need to ensure that the file path should exists.

0 Kudos

Hello Ajay,

Yes. I am taking about Application server files.

Both the servers that I am taking about are running on Unix platform.

Do you still think there would be difference in directory structure?

Thanks,

Babu Kilari

0 Kudos

I am not very sure.......but no harm in checking.........use AL11.

0 Kudos

Thanks for the reply. Directory strucure in AL11 in both the servers are one and the same.

0 Kudos

Hmmmmmmmm....Strange problem......Hope your Devlopment server is not having any issue with the Memory!!!!!!!

0 Kudos

Yes. That really looks crazy for me. I checked the size of available memory in the both the servers.

Only 10% of the memory has been used. But, still the problem persists.

Thanks,

Babu Kilari

0 Kudos

Don't mind but you can try some wage things.......Regenerate the program or delet the program from dev and try reimporting this once again in dev server.......might be some issue with program only.....

IS your background job log not giving any pointer?

0 Kudos

I tried all the ways and then finally posted here. Sometimes, the joblog says 100 records have been written on to the file.

But, when I open it and see, the file looks empty.

Thanks,

Babu Kilari

0 Kudos

Just a thought of about Authentications grants!! may b not!!

thanq

Former Member
0 Kudos

Perhaps you are load balancing the jobsteps somehow or the path is "hardcoded" or you are using a directory path which is protected by a "path hook".

Check ST22 for dumps? It should tell you what the dataset problem is, if that is the problem / reason.

Otherwise it is in the code.

Cheers,

Julius

0 Kudos

Hi All,

Any other suggestions? I checked all the things mentioned above. But, still the problem persists.Please give some pointers on this.

Any help on this would be highly appreciated.

Thanks,

Babu Kilari