‎2006 Dec 28 5:43 AM
Is it possible to list the classes within a package programmatically?
‎2006 Dec 28 5:45 AM
Use table TADIR. The field OBJ_NAME will have the object name (class name) and the field DEVCLASS will hold the package name.
‎2006 Dec 28 5:45 AM
Use table TADIR. The field OBJ_NAME will have the object name (class name) and the field DEVCLASS will hold the package name.
‎2006 Dec 28 5:49 AM
‎2006 Dec 28 5:51 AM
Try something like this:
data:
classes type table of tadir.
select *
into corresponding fields of table classes
from tadir
where devclass eq 'SOMEDEVCLASS' " <<< Specify devclass/package here
and pgmid eq 'R3TR'
and object eq 'CLAS'.(classes-obj_name will contain the class name.)
'Hope this helps.