FIND.PROGRAM

Top  Previous  Next

 

The FIND.PROGRAM command reports the catalogue mode of a catalogued program.

 

 

Format

 

FIND.PROGRAM name

 

where

 

nameis the name of the catalogued program to be located.

 

 

The FIND.PROGRAM command examines the local, private and global catalogue areas to locate the program catalogued as name. If found, it reports the catalogue mode, compilation date/time and program type. If the program is in more than one catalogue area, they are each reported separately in the same search order as is used when loading programs into memory.

 

The FIND.PROGRAM command can be useful in diagnosing problems where the system appears to be running the wrong version of a program as a result of it being catalogued in multiple locations.

 

 

Example

 

:FIND.PROGRAM DTMOD

Program is in private catalogue

  Compiled 20 Jan 09  16:24:16

  Subroutine with 3 arguments

 

 

 

See also:

CATALOGUE