|
|||||||||||
|
Chicago-Soft
|
Quick Tip - REXX Exec ISRFIND by Brian Saper A frequently asked question that takes much time to answer is "Is member name XXXX in one or more of the libraries allocated to my TSO session?" This same question could instead wonder if a load module is in the linklist or LPA list. To answer either of these questions it is necessary to know the libraries allocated to each list. IBM's ISPF developers have answered all these questions and added a few other nice features when they shipped recent versions of ISPF. Included is a REXX exec and an ISPF panel that provides many pieces of information about the libraries accessible to your TSO session. The exec is named ISRFIND and the panel is named ISRFINDP. They can be found in the target samples PDS such as ours named ISR.V3R5M0.ISRSAMP. Some customization may be required to allocate datasets it used in your site's naming standards or to eliminate unwanted error messages for JES datasets allocated to your session. This routine uses the LISTALC command to determine all the DDnames allocated to your session and the libraries concatenated to each. If the INFO or FULLINFO keywords are used on ISRFIND, the LISTDSI command is used to get the allocation information for each allocated dataset. If the member name to be searched for is specified with keyword M(member) then all occurrences of that member name in all allocated libraries is displayed. If the LMOD(member) keyword is used, the search includes all linklist libraries as well as all LPA list libraries. It uses AMBLIST to gather LPA information. If ISPF is functional during this investigative procedure, then there is an ISPF keyword for the command line. Using this keyword allows the routine to use ISPF table services to display all the data requested with the previously mentioned keywords. In addition the datasets are displayed as in option 3.4 so that they may be browsed or edited without finding and entering the dataset names. The command syntax, once the customized exec is added to your SYSEXEC concatenation, is: ISRFIND M(member) or LMOD(member) INFO or FULLINFO ISPF. With no keywords it displays a formatted LISTALC STATUS. The supplied routine can be used as an example for many other similar projects. Supplied with the LMOD keyword it is a source of much system information. One of the handiest uses of this tool is to find other versions of modules with the same name for problems where the wrong version seems to be executed or found. Brian Saper, Tech Specialists, Belmont, Massachusetts
|
|
||||||||
home · current
articles
· archives · forums · |