cancel
Showing results for 
Search instead for 
Did you mean: 

error in file creation

Former Member
0 Kudos

Hi

I have program step in process chain , program creates file from data in open hub table and places on app server. From last couple of days its not creating the file and giving error " Error in opening the file..." . This is the custom error logic written in program when file path , name etc is wrong. However in the program variant everything is saved correctly. Moreover when i run the program manually from se38 with same variant it generates the file correctly. Pl let me know what could be the problem. I think maybe authorization issue but not sure because system user is supposed to have all the access.

Code in the program where this error is generated

Spool error

Accepted Solutions (0)

Answers (2)

Answers (2)

RafkeMagic
Active Contributor
0 Kudos

How about using the catchable exceptions that are explained in the Help on OPEN DATASET? That will tell you whether the issue is authorization related or not.

Former Member
0 Kudos

Ok I will give it a try.

RamanKorrapati
Active Contributor
0 Kudos

Hi Nayab,

please check the BGD user id which is executing your program in process chain.

Whether its system user id or any user id who left your company.

As you said it will be an authorization issue.

From SM37, lets try to see the cancelled jobs and find it which is related to your program based on time stamp details.

from there you can find the user id who created or on which user id this job was executed.later check those user id is still valid or expired with help of basis team.

Thanks