Package com.ibm.dbb.dependency
Interface ILinkEditScanner
-
- All Known Implementing Classes:
LinkEditScanner
public interface ILinkEditScanner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getExcludeFilter()
Returns the current excludeFilter used by the load module scanner.java.lang.String
getLibpath()
Get the value of LIBPATH used for this instance of the Link Edit Scanner.java.lang.String
getScannerOutput()
Retrieve the raw output from the module scannerLogicalFile
scan(java.lang.String file)
Scan and collect logical dependency of a load moduleLogicalFile
scan(java.lang.String file, java.lang.String loadPDS)
Scan and collect logical dependency of a load moduleLogicalFile
scan(java.lang.String file, java.lang.String loadPDS, java.lang.String member)
Scan and collect logical dependency of a load modulevoid
setExcludeFilter(java.lang.String filter)
Set filter used to exclude certain information from the link edit scanning.void
setLibpath(java.lang.String libpath)
Override the default, /usr/lib, LIBPATH for this instance of the Link Edit Scanner.
-
-
-
Method Detail
-
scan
LogicalFile scan(java.lang.String file) throws BuildException, java.io.IOException
Scan and collect logical dependency of a load module- Parameters:
file
- - HFS file that is being built (ex. MortgageApp/link/epsmlist.lnk)- Returns:
- LogicalFile for scanned output
- Throws:
BuildException
- an exception occurredjava.io.IOException
- an exception occurred
-
scan
LogicalFile scan(java.lang.String file, java.lang.String loadPDS) throws BuildException, java.io.IOException
Scan and collect logical dependency of a load module- Parameters:
file
- - HFS file that is being built (ex. MortgageApp/link/epsmlist.lnk)loadPDS
- - name of PDS containing the load module- Returns:
- LogicalFile for scanned output
- Throws:
BuildException
- an exception occurredjava.io.IOException
- an exception occurred
-
scan
LogicalFile scan(java.lang.String file, java.lang.String loadPDS, java.lang.String member) throws BuildException, java.io.IOException
Scan and collect logical dependency of a load module- Parameters:
file
- - HFS file that is being built (ex. MortgageApp/link/epsmlist.lnk)loadPDS
- - name of PDS containing the load modulemember
- - name of the load PDS member- Returns:
- LogicalFile for scanned output
- Throws:
BuildException
- an exception occurredjava.io.IOException
- an exception occurred
-
getScannerOutput
java.lang.String getScannerOutput()
Retrieve the raw output from the module scanner- Returns:
- raw output from load module parser
-
setExcludeFilter
void setExcludeFilter(java.lang.String filter)
Set filter used to exclude certain information from the link edit scanning. The value contains a comma separated list of patterns. example: A filter of *.SUB1, *.SUB2 will exclude modules SUB1 and SUB2 from any dataset. To exclude member HELLO in PDS TEST.COBOL will be matched by the pattern TEST.COBOL.HELLO. The pattern TEST.COBOL.* will match any member in the data set TEST.COBOL. If the exclude filter is not set via this method, the scanner will use the build property dbb.LinkEditScanner.excludeNameFilter as the pattern.- Parameters:
filter
- - new exclude filter
-
getExcludeFilter
java.lang.String getExcludeFilter()
Returns the current excludeFilter used by the load module scanner.- Returns:
- the exclude filter in effect for this scanner
-
getLibpath
java.lang.String getLibpath()
Get the value of LIBPATH used for this instance of the Link Edit Scanner.- Returns:
- LIBPATH
-
setLibpath
void setLibpath(java.lang.String libpath)
Override the default, /usr/lib, LIBPATH for this instance of the Link Edit Scanner.- Parameters:
libpath
- - the new value of LIBPATH. One can specify "$LIBPATH:/user/lib" as the new LIBPATH in order to add /user/lib to the existing environment's LIBPATH. Other substitution variables will be ignored.
-
-