Skip to main content

I'm having an issue when I'm compiling one of my programs.  When I compile, it is not generating a Listing.

I have the L option at the end of the command line:

@START /W C:\\PROGRA~2\\Liant\\RMCOBO~1\\RMCOBOL PRPDFSI1.CBL L

The program compiles fine, but it doesn't generate a listing.  Anyone know why it wouldn't?  Every other program I compile with this same command generates a Listing.


#RMCOBOL

I'm having an issue when I'm compiling one of my programs.  When I compile, it is not generating a Listing.

I have the L option at the end of the command line:

@START /W C:\\PROGRA~2\\Liant\\RMCOBO~1\\RMCOBOL PRPDFSI1.CBL L

The program compiles fine, but it doesn't generate a listing.  Anyone know why it wouldn't?  Every other program I compile with this same command generates a Listing.


#RMCOBOL

A quick thought: do you have a PRPDFSI1.LST somewhere in your RMPATH?  If the compiler finds an existing file with that name, it will overwrite it even if the source is in the current directory.

This is because the compiler uses the standard RM/COBOL search sequence to search the RMPATH for unqualified filenames (in this case, source-name.LST).  If a file with a matching name is found, it is overwritten.  The same goes for object (.COB) files.

To force the listing (or object) to be written to the current directory, specify L=. (or O=.).

BTW, if you're invoking the compiler from a console window, you shouldn't need the START /W.  Just use RMCOBOLC instead of RMCOBOL if RMCOBOL is the GUI compiler.


I'm having an issue when I'm compiling one of my programs.  When I compile, it is not generating a Listing.

I have the L option at the end of the command line:

@START /W C:\\PROGRA~2\\Liant\\RMCOBO~1\\RMCOBOL PRPDFSI1.CBL L

The program compiles fine, but it doesn't generate a listing.  Anyone know why it wouldn't?  Every other program I compile with this same command generates a Listing.


#RMCOBOL

Uwe, thanks for the help! my listing was in my Copy library folder.  So odd!!


I'm having an issue when I'm compiling one of my programs.  When I compile, it is not generating a Listing.

I have the L option at the end of the command line:

@START /W C:\\PROGRA~2\\Liant\\RMCOBO~1\\RMCOBOL PRPDFSI1.CBL L

The program compiles fine, but it doesn't generate a listing.  Anyone know why it wouldn't?  Every other program I compile with this same command generates a Listing.


#RMCOBOL

Great!  Glad I could help.