FIND.PROGRAM |
|
|
The FIND.PROGRAM command reports the catalogue mode of a catalogued program.
Format
FIND.PROGRAM name {DETAIL}
where
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.
The DETAIL option extends the output to show the compiler version, object code size, source pathname (where available) and embedded comments.
Example
:FIND.PROGRAM DTMOD Program is in private catalogue Compiled 20 Jan 09 16:24:16 Subroutine with 3 arguments
: FIND.PROGRAM MYTRIG DETAIL Program is in global catalogue Compiled 07 Nov 11 10:36:50 using 2.12-6 Subroutine with 5 arguments, 492 bytes Source pathname: /home/sales/BP/mytrig Comments: Trigger function for sales data files Copyright 2011
See also: |