Where is compile listing? #2305
-
I can't find the compile listing on the IBM box after the object is created. Where does it go? I sometimes compile something so I know where to look when I see "MCH0603 unmonitored by UXINVOICE at statement 0000292300." Is there an alternative to the compile listing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
If you are compiling inside of VSCode. The compile listing usually shows on the terminal tab at the bottom of the screen. I'm pretty sure VSCode converts the spool file to text and then loads it into the terminal tab and deletes the spool file. Then you can use the problems tab to see any errors. |
Beta Was this translation helpful? Give feedback.
-
Since every command executed by Code for i are run into a shell, the output doesn't go into a spooled file but directly in the shell's standard output. That output is logged in the terminal used to run the action (as @thomprl said). |
Beta Was this translation helpful? Give feedback.
@SteversJE Instead of keeping the spoolfile from the compile, you should compile it into the program object using DBGVIEW *ALL or *LISTING.
That way you always have the compile listing at hand, it follows the program into production.
You see it when you STRDBG against the program.