Chapter Contents |
Previous |
Next |
The AR370 Archive Utility |
The AR370 CLIST |
The AR370 CLIST invokes the AR370 archive utility in TSO. The syntax is as follows:
AR370 archive action target [optional-parms]
The action argument can be any of the following:
DELETE
DISPLAY
EXTRACT
INTO
. For example, the following command extracts member GREEN from userid.SPECTRUM.A into
the OS/390 file userid.COLOR.OBJ(GREEN).
AR370 SPECTRUM EXTRACT GREEN INTO(COLOR.OBJ(GREEN))
INCLUDE
MOVE
QUICK
QUICK
option, it is recommended that you back up the archive so that you will not
lose your data in the event that the original data set is destroyed.
REPLACE
The target argument specifies
the AR370 archive member or OS/390 data set to perform the action on. If
the action is
REPLACE
or
INCLUDE
, the target argument is the name of a
data set containing the replacement member or INCLUDE statements. When the
AR370 utility adds or replaces a member on OS/390, the archive member name
is determined by the input filename. If the input file is a PDS member, the
archive member name is the same as the PDS member name. If the input file
is a sequential data set, the member name is formed from the final two qualifiers
of the input data set name. If the action is
MOVE
,
EXTRACT
,
DELETE
, or
DISPLAY
, the target name
is an AR370 archive member name. For the
DISPLAY
action, you can
use an asterisk (*) to specify all AR370 archive members.
The optional-parms argument can be any of the following:
AFTER(member-name
)BEFORE(member-name)
DBCLIST
INTO(dataset-name
)INTO('''FRED.EXTRACT.OBJ''')
OTHER(parameters)
PRINT(dataset-name)
SYMBOLS
DISPLAY
action. When used
with the
VERBOSE
parameter, a listing of all symbols (both
defined and referenced) is produced.
UPPER
VERBOSE
v
) command modifier under Optional Modifier Characters for more details.
WORKSPC('primary secondary'
)WORKUNIT(storage-unit)
track
,
cylinder
, or
block
.
The LC370 CLIST |
The LC370 CLIST has been
enhanced to allow the compiler's
object code output to be stored in an AR370 archive. The name of the archive
in which the object code is to be stored is specified using the
arlib
compiler option. If the archive belongs to another user, its name must be
given in full, and the name must be preceded and followed with three single
quotes. For example:
'''userid.archive-name.AR'''
The
member
compiler option is used with
the LC370 CLIST to specify the output archive member name, which must also
be a valid OS/390 partitioned data set member name. If
member
is omitted and the input file is a partitioned data set member, the same member
name will be used in the AR370 archive. If
member
is omitted and the
input file is not a partitioned data set member, you will be required to enter
a member name. Note that you may specify only one of the OBJECT and ARLIB
keywords.
Here is an example of the use of the
arlib
and
member
compiler options:
LC370 RECIPE(BROIL) ARLIB(KITCHEN) MEMBER(BROILING)
In this example, the object code resulting from the
compilation of
userid.RECIPE.C(BROIL)
is stored as member
BROILING
of
userid.KITCHEN.AR
.
OS/390 File Attributes |
IEC024I INCONSISTENT RECORD FORMATS F AND U, ddn-n,dsname
DCB Characteristics |
AR370 archives on OS/390 have the following DCB characteristics:
"RECFM=FBS,RECLEN=4080,BLOCKSIZE=4080"
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.