AMSERV 1. To create a job stream for access method services, you can use the CMS Editor to create a file with the filetype of AMSERV. The
editor automatically sets input margins at columns 2 and 12.
2. Refer to the Access Services User's Guide-for a
description of access method serV1ces controI-statements-format and
syntax. Restrictions placed on VSAM usage in eMS are listed in this
publication in "Appendix B: DOS/VS Access Method Services and VSAM Functions Not Supported in CMS" and "Appendix C: 0S/VS Access
Method Services and VSAM Functions Not Supported in CMS." 3. You must use the DLBL command to identify the master catalog and
all disk input and output files for access method services; the
ddname operand of the DLBL command corresponds to the dname
parameter following a FILE, INFILE, or OUTFILE keyword in an access
method services statement.
4. When you use tape input and/or output with the AMSERV command, you
are prompted to enter the ddnames; a maximum of 16 ddnames are allowed for either input and output. The ddnames can each have a maKimum of seven characters and must be separated by blanks.
5. Since only one tape can be attached at a time for either input or
output while using if you you enter more than one tape
ddname, the tape files must be in the sequence they are used in the
input stream. A CMS format variable file cannot be used directly as input to AMSERV functions as a variable (V) or variable blocked (VB) file
because the standard variable eMS record does not contain the BL and RL headers needed by the variable record modules. If these
headers are not included in the record, errors will result.
6. If you are using Release 34 of access method services, the "NJLABEL" keyword is available in the environment section of access
method services control statements. This keyword is necessary when
using AMSERV to read nonlabelled tapes. Tapes created using AMSERV default to nonlabelled tapes.
7. All files placed on the eMS disk by AMSERV will show a RECFM of V, even if the true format is fixed (F), fixed blocked (FB), undefined (Ui, variable or variable blocked. The programmer must know the
true format of the file he is trying to use with the AMSERV command and access it properly, or errors will result.
If you issue HX command abnormally
correctly reset.
(IPL) CMS. to terminate an AMSERV command or the AMSERV terminates, the AMSERV environment may not be
If a subsequent AMSERV abends, you must reload
1. You must assign a logical unit to be associated with each ddname
named in a DLBL command when you use the AMSERV co.mand in the eMS/DOS environment.
2. AMSERV internally issues an ASSGN command for SYSIPT and locates
the source file; therefore, you do not need to assign it. If you
use the or TAPOUT options, AMSERV also issues ASSGN commands
for the tape drives (assigning logical units SYS004 and SYS005). Section 2. CMS Commands 21
AM SERV Any other assignments and DLBL definitions that you invoke the AMSERV command are saved and
command completes executing.
are in effect when
restored when the
The CMS ready message indicates that access method services has
completed processing. If access method services completed with a nonzero
return coder the return code is shown in the ready message. You should
examine the LISTING file created by AMSERV to determine the results of
access method services processing.
The publication lists and explains all of
messages generated by access method services together with
associated reason codes. DMSAMS367R ENTER TAPE {INPUTIOUTPUTl DDNAMES: the
the
This message prompts you to enter the ddnames associated with the
tape files. FILE 'fn2 LISTING fm' WILL HOLD AMSERV OUTPUT This message is displayed when you enter a fn2 operand or when the
listing is not being written on your A-disk; it tells you the file
identifier of the output listing. DMSAMS001E NO FILENAME SPECIFIED RC=24 DMSAMS002E FILE 'fnl AMSERV' NOT FOUND RC=28 DMSAMS003E INVALID OPTION 'option' RC=24 DMSAMS006E NO READ/WRITE DISK ACCESSED FOR 'fn2 LISTING' R:=36 DMSAMS007E FILE 'fnl AMSERV fm' NOT FIXED r 80-CHAR. REC3RDS RC=32 'option' OPTION SPECIFIED TWICE RC=24 DMSAMS066E 'option' AND 'option' ARE CONFLICTING OPTIONS RC=24 DMSAMS070E INVALID PARAMETER 'parameter' RC=24 DMSAMS109S VIRTUAL STORAGE CAPACITY EXCEEDED RC=104 {TAPINITAPOUT} (addr) NOT ATTACHED RC=100 DMSAMS136S UNABLE TO LOAD 'IDCAMS' RC=104 DMSAMS228E NO DDNAME ENTERED RC=24 DMSSTT052E INVALID CHARACTER 'char' IN FILEID {'fnl AMSERV,,'fn2 LISTING'l PC=20 22 IBM eMS Command and
Previous Page Next Page