[117] in sapr3-soft
Re: Runtime Analyzer
daemon@ATHENA.MIT.EDU (Peter Van Avermaet)
Mon Apr 7 18:39:27 1997
To: sapr3-soft@MIT.EDU
Date: 7 Apr 1997 18:37:11 -0400
From: Peter Van Avermaet <pvanaver@inetgate.capgemini.nl> (by way of SAP Moderator <sap-request@realtimeusa.com>)
David F. Jenkins (by way of SAP Moderator <sap-request@realtimeusa.com>)
wrote:
>
> We have a long-running program that puts out extensive messages to the
> log, and hence when run int the foreground takes a lot of operator
> intervention. We would like to use the RTA to see where soem of the
> bottle necks are in this program. We have place ST RUNTIME ANALYZER
> ON/OFF statements in teh program, as well as calling teh function shown
> in the online help to open a trace file. However, after the program has
> run, no trace file is present - SE30 displays the PERFORM. FILES button,
> but if you perss the button, there are no files listed.
>
> Is it possible to run the RTA in the background? If so, what's the
> secret?
>
> TIA...
>
> --
> Dave Jenkins
> djenkins@phoenix.net
> KK5KX
This is a coincidence!
I am sitting here, away from my desk, from my laptop computer etc. and I
discover that the
diskette I am using here contains a copy of the ABAP program that I wrote
to experiment with
this.
This program will leave a (small) ABAP-trace when run, either in batch or
on-line.
I know it works, I don't know why it works.
*&---------------------------------------------------------------------*
*& Report ZPVAATRA *
*& *
*&---------------------------------------------------------------------*
*& *
*& *
*&---------------------------------------------------------------------*
REPORT ZPVAATRA LINE-SIZE 080 LINE-COUNT 065 .
TABLES USR01 .
DATA NR2(250).
DATA FIELDNAME LIKE SY-REPID .
START-OF-SELECTION.
FIELDNAME = SY-REPID .
CALL 'ATRA_INIT' ID 'DATASET' FIELD NR2
ID 'TCODE' FIELD SPACE
ID 'PROGRAM' FIELD FIELDNAME .
SET PARAMETER ID 'ABN' FIELD NR2 .
SET RUN TIME ANALYZER ON .
SELECT * FROM USR01 .
WRITE USR01-BNAME .
ENDSELECT .
SET RUN TIME ANALYZER OFF .