‎2014 Feb 14 9:46 AM
Hi,
we have a strange problem occuring in PRD.
There is a batch job which has a variant attached with a Program.
The job places file on application server which goes to 3rd party.
Now the same job was running successfully couple of weeks back but since few days the file is generated on app-server but with 0 entries.
So we manually ran the program in background mode with same variant and it ran successfully with records.
We are not able to get to the root cause.
Inputs appreciated.
Thanks,
Aditya
‎2014 Feb 14 10:02 AM
Hi Aditya,
Check your variant.
If it's correct, have u created or changed application server for load balance purpose.
Please check.
Arivazhagan S
‎2014 Feb 18 8:13 AM
Hi AS,
could you please elaborate on your comment "application server for load balance purpose"
and what is the impact of this activity on batchjobs.
Thanks,
Aditya V
‎2014 Feb 14 10:17 AM
If you debug the already execute job via JDBG method does it work
Nabheet
‎2014 Feb 14 11:41 AM
Please check if it is authorization issue with the user id of the person setting up Background job.
‎2014 Feb 18 8:24 AM
Generally, production server has multiple application servers for load balancing. While scheduling a job, it is always better to give the instance name of the application server on which the background job should run.
Check SM36( First screen)-Exec. Target parameter. Here target system is the name of the application server where the job will run.
‎2014 Feb 20 2:16 PM
Hi,
we checked 'authorization', 'variant', 'system/loca/ time' but still no luck.
Can RSTRANSP report be of help here? I didnt want to check it in the system.
Thanks,
Aditya V
‎2014 Feb 20 2:29 PM
Aditya,
As Sachin suggested check if the User Profile (User with which the job is scheduled) is changed in the recent days which is making the job fail to write the file on the app server.
SM37 >> Job Name >> click on STEP>>here you will get to see the User Name.
K.Kiran.
‎2014 Feb 20 4:38 PM
Hi,
You said that the file gets generated when the program is run manually in background mode. So, it seems to be user authorization issue.
If possible, can you logon with the user id of the batch job user ( otherwise try with userid DDIC ) and then execute the report in background and check whether the file is getting generated or not.
Also check the os level file permissions for the folder in the application server.
-rwxr--xr--
Regards,
DPM
‎2014 Feb 20 4:53 PM
Hello Aditya,
1) Check inside the program is there any check on SY-BATCH (Program is running in the background), before data is passed to the file.
2) Run the program with the user id in which the job is scheduled, to check the authorization issue.
Regards,
Thanga