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

Syntax error in programs-list

Former Member
0 Likes
1,135

Hi experts,

I wanted to know the number of programs which had syntax error in production during certain period.

is there any program/transaction/table to track this apart from ST22?

6 REPLIES 6
Read only

Former Member
0 Likes
1,085

HI.. Please let me know the purpose....If you are using programs in Background, you can get them from SM37.....

Thanks,

Raman.

Read only

0 Likes
1,085

Hi Raman,

I need those programs as customer wants these syntax errors should not be occured and we will not be able to this using SM37.

I wanted to know all such programs in a shot. In ST22, I dont have the full data as it gets archieved/deleted after one week.

I need such programs which have caused syntax error for at least 1 year span.

Read only

matt
Active Contributor
0 Likes
1,085

ST22 or SM21 are your only options. If they're cleared down regularly, then the data has gone. If they're archived, check the archive.

You could write a program that monitors for syntax errors. But it couldn't work before the time it was written.

Now, the big question. Why are you getting syntax errors in your productive system?! This should be a very rare event - or do simply mean programs that dump?

matt

Read only

0 Likes
1,085

Hi Matt,

Thanks for your answer. Yes, it is very rare that program get syntax error in prod. Sometimes dumps occur due to native SQL statements. The client wants to have all such programs list in order to correct them. I dont know if there is way other than ST22/SM21.

Thanks,

Prabhakar

Read only

0 Likes
1,085

Hi,

take a look at Table SNAP_BEG.

Entrys in Field FLIST starting with FC*

But you've got to build your own routine to separate the Program Name.

Regards

Markus

Read only

matt
Active Contributor
0 Likes
1,085

That's the ST22 table isn't it. So it will be being cleared down.