Finding the listing of a VS COBOL II program

The VS COBOL II compiler does not place the name of the listing data set in the object (load module). z/OS® Debugger tries to find the listing data set in the following location: userid.CUName.LIST. If the listing is in a PDS, direct z/OS Debugger to the location of the PDS in one of the following ways:

  • In full-screen mode, do one of the following options:
    • Enter the SET DEFAULT LISTINGS command.
    • Enter the SET SOURCE command.
    • Enter the PANEL PROFILE command, which displays the Profile Settings panel. Enter the new file name in the Default Listing PDS name field.
    • Enter the command PANEL LISTINGS command, which displays the Source Identification Panel. Enter the name of the PDS over the existing name in the Listings/Source File column, then press PF3.
  • In remote debug mode, enter the command SET DEFAULT LISTINGS.
  • Use the EQADEBUG DD statement to define the location of the data set.
  • Code the EQAUEDAT user exit with the location of the data set.

For additional information about how you can debug VS COBOL II programs, see Using CODE/370 with VS COBOL II and OS PL/I, SC09-1862.