disk; if it is, another check determines if the accessed disk replaces another disk to issue an information message tc that effect. Another
check determines if you specified any options or fileid and, if you did,
a warning message appearsOn the terminal. Control now returns to the
calling routine.DMSFLD gets control first when you issue a FILEDEF command. DMSFLD adds, changes, or deletes a FILEDEF control
block and returns control to the calling routine. LISTDS COMMAND FLOW: The module DMSLDS gets control first when you Invoke the-IISTDS-comaand. DMSLDS verifies parameter list validity and
calls moduleDESLAD to get the active disk tatle associated with the
specified mode.DMSLDS reads all format 1 DSCB and if you specified the PBS option and the data set is partitioned, DMSLDS calls DMSRCS (ROSFIND) to get the members of the data set. After displaying the DSCB (or DSCB) on you console, DMSLDS returns to the calling routine. I1Q!: The module DMSMVE gets control first when you
issue aCMS MOVEFILE command. DMSMVE calls DMSFLD to get an input and
outputCMSCB and, if the input DMSCB is for a disk file, DMSftVE calls DMSSTT to verify the existence of the input file and get default DCB parameters in absence of CMSCB DCB parameters. DMSMVE uses OS OPEN, FIND, GET, PUT, and CLOSE macros to move data from the input file to the
output file. After moving the specified data, control returns to the
calling routine.2QER! £QMMA!Q I1Q!: The module DMSQRY gets control first when you invoke
theQUERY command. DMSQRY verifies parameter list validity and calls DMSLAD to get the active disk table associated with the specified mode. DMSQRY displays all the information that you requested on your console. When DMSQRY finishes, control returns to the calling routine. FLQ!: The module DMSARE gets control first when you
invoke theRELEASE command. DMSARE verifies parameter list validity and
checks to determine if the disk you want to release is accessed. If the
disk youwant to release is currently active, DMSARE calls D8SALU to
clear all pertinent information associated with the active disk.DMSALU first checks the active disk table for any existing CMS tables kept in
free storage. If the disk you want to release is anOS disk, DMSALU does not find any tables associated with a CMS disk. If the disk is an OS disk, D5SALU releases the os PST blocks (if any) and clears any OS PST pointers in the OS file control blocks. DMSALU then clears the
active disk table and returns toDMSARE. DMSIRE then clears the device
table address for the specified disk and returns to the calling routine.STATE fLO!: The module DMSSTT gets control first when you invoke
theSTATE command. DMSSTT verifies the parameter list validity and
calls moduleDMSLAD to get the active disk table associated with the
specified mode.Upon return from DMSLAD, DMSSTT calls DMSLFS to find
the file status table (FST) associated with the file you specified.Once DMSLFS finds the associated FST, it checks to determine if the file
resides on anOS disk. If it does, DMSLFS calls DMSROS (ROSSTT) to read
the extents of the data set.Upon return from D"SROS, DMSLFS returns to DMSSTT. DMSSTT then copies the FST (or OS FST) to the FST copy in
statefst and returns to the calling routine.DMSACC MODULE: Once DMSACC determines that the disk you want to access Is-an-oS-disk, it bypasses the routines that perfor. LOGIN UFD and LOGIN ERASE. CMS Method of Operation and Program Organization 2-131
check determines if you specified any options or fileid and, if you did,
a warning message appears
calling routine.
block
calls module
specified mode.
issue a
output
output file. After moving the specified data, control returns to the
calling routine.
the
invoke the
checks to determine if the disk you want to release is accessed. If the
disk you
clear all pertinent information associated with the active disk.
free storage. If the disk you want to release is an
active disk table and returns to
table address for the specified disk and returns to the calling routine.
the
calls module
specified mode.
the file status table (FST) associated with the file you specified.
resides on an
the extents of the data set.
statefst and returns to the calling routine.