HLASM Toolkit Feature User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Library

HLASM Toolkit Feature User's Guide
GC26-8710-10

You can abbreviate LIBRARY to L.

You must specify one, and only one, LIBRARY statement in the control file for each ASMXREF scan run. The minimum requirement with the LIBRARY statement is the LIB parameter that specifies the library ASMXREF scans. The following parameters are valid with the LIBRARY control statement:
LANGUAGE
Specifies the language of the input source files. You can specify only one language for each ASMXREF run, therefore all source files in the ASMXREF run must be in the same language. If you do not specify the LANG parameter ASMXREF uses the default language of assembler. The following table lists the supported languages and the associated keyword.
Table 1. XRFLANG Supported Languages
Language LANGUAGE=keyword
Assembler ASM
Assembler 86 ASM86
C C
C++ CPP
CLIST CLIST
COBOL COBOL
FORTRAN FORTRAN
Generic GENERIC
ISPF Panels IPN
ISPF Panels PANELS
ISPF Skeletons SKE
ISPF Skeletons SKELS
MASM MASM
MODULA MODULA
MODULA2 MODULA
MODULA3 MODULA
z/OS or z/VSE JCL JCL
OS/2 Command CMD
OS/2 DEF DEF
OS/2 IPF IPF
OS/2 MAK MAKE
OS/2 RC RC
OS/2 UID UID
Panels PANELS
PASCAL PASCAL
PL/I PLI
QMF QMFQUERY
QMFQUERY QMFQUERY
REXX REXX
RPG RPG
SCRIPT SCRIPT
SQL QMFQUERY
LIB
on z/OS and z/VSE, this specifies the names of the PDS (z/OS) or library (z/VSE) to be scanned.ASMXREF scans all source files in the PDS or library unless it encounters an INCLUDE or EXCLUDE control statement.

On CMS this specifies the name of the source list file that contains a list of the files to be scanned. The source list file must have a file type of EXEC. For details on the source list file see ASMXREF Source List File.

The LIB parameter is required.

MEMTYPE
z/VSE only. Specifies the source member type. If you do not specify a source member typeASMXREF defaults the member type to A for the library specified with the LIB parameter.
TYPE
The type of library ASMXREF scans. Valid types are:
PDS
(Default) An z/OS partitioned data set.
SEQ
An z/OS sequential data set.
VSE
A z/VSE Librarian library.ASMXREF requires this when running on z/VSE.
CMS
A CMS file. ASMXREF requires this when running on CMS.
z/OS Example:
LIBRARY LANGUAGE=COBOL,LIB=COBOL.SOURCE,TYPE=PDS
z/VSE Example:
LIBRARY LANGUAGE=ASM,LIB=COMMON.XREF,TYPE=VSE,MEMTYPE=D
CMS Example:
LIBRARY LANGUAGE=PLI,LIB=SOURCE,TYPE=CMS

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014