CALL "C$PROFILER" USING CPROF-SET                          outputFormat, outputFile, ...                   GIVING returnCode.  | 
CPROF-SET  | Constant  | |
outputFormat  | PIC X(n)  | Specifies the file format. Possible values, case insensitive, are: html = create a folder with HTML files inside txt = create a TXT file xml = create an XML file  | 
outputFile  | PIC X(n)  | Specifies the disc file name for "txt" and "xml" formats. Specifies the folder name for the "html" format.  | 
call "c$profiler" using cprof-set "xml" "isprof.xml" "txt" "isprof.txt"   | 
0  | Operation successful  | 
1  | Operation had no effect because the agent is not attached; ensure you used either the -javaagent Java option or the -profile runtime option  |