When you issue a DLBL command for a CMS file, you enter the filename
and filetype following the keyword CMS: assgn sys102 a
dlbl outfile a ems new output (sys102 In this example, if SYS102 is defined as an file for a program,
the output is written to your CMS A-disk in a file named NEW OUTPUT. You can, for convenience, use a CMS default file identifier. If you
enter:
dlbl outfile a ems (sys102 then the output filetype defaults to that of the ddname and the filename to FILE. So, this output file is named FILE OUTPILE. You can clear a DLBL definition for a file by using the CLEAR operand of
the DLBL command: dlbl outfile clear
To clear all eXisting definitions, except those entered with the option, you can enter:
dlbl * clear
This command is issued by the assembler and the language processors when
they complete execution. Definitions entered with the option must be individually cleared. Whenever you use the HI Immediate command to halt the execution of a
program, the DLBL definitions in effect are cleared, including those
entered with the PERM option. You can find out what definitions are currently in effect by issuing
the DLBL command with no operands:
dlbl
or, you can use the QUERY command with the DLBL operand.
Using DOS Libraries in eMS/DOS CMS/DOS provides you with the capability of using various types of files
fro. DOS system or private libraries. You can copy, punch, display at
the terminal, or print: Books from system or private source statement libraries using the SSERV command Relocatable modules from system or private relocatable libraries
using the RSERV command Procedures from the system procedure library using the PSERV command 160 IBM VM/370 CMS User's Guide
March 30, 1979 You can also: Copy and de-edit macros from system and private E sublibraries using
the ESERY command Access the directories of system or private libraries using the DSERY command Link-edit relocatable modules from system or private relocatable
libraries with the DOSLKED command Read core image phases from system or private core image libraries
into storage for execution using the FETCH command THE SSERY COMMAND If you have cataloged source programs or copy files on the system source
statement library and you want to use CMS to modify and test them, you
can copy them into CMS files using the SSERY command. For exaaple,
suppose you want to copy a book named PROCESS from the A sub library on
the system residence volume. The DOS system residence is in your
virtual machirie configuration at virtual address 350, and you have
accessed it as your F-disk. First, to indicate to CMS/DOS that the
system residence is on your F-disk, you enter:
set dos cn f
then you can enter the SSERY command, specifying the sublibrary
identification and the book name:
sserv a process
This creates, from the A sublibrary, a file named PROCESS COpy and
places it on your A-disk. If the book contained assembler language
source statements you would want the filetype to be ASSEMBLE, so you aay enter:
sserv a process assemble
If you want to copy a book from a private source statement library,
you must first use the ASSGN and DLBL commands to make the library known
to CMS/DOS. For example, to obtain a copy file from a private library
on a DOS disk accessed as your D-disk, enter:
assgn sysslb d
dlbl ijsyssl d dsn ? (sysslb
ENTER DATA SET NAME: program. test library NOW, when you enter the SSERY command:
sserv t setup copy
the book named SETUP in the T sublibrary of PROGRAM.TEST LIBRARY is
copied into a CMS file named SETUP COPY. If SETUP is not found in the
private library, then CMS searches the system library, if it is
available. Section 9. Developing DOS Programs Under CMS 161
Previous Page Next Page