If you wished to supply data from your terminal for FILE1, you could
issue the command:
filedef file1 terminal
and enter the data for your program without recompiling.
fi tapein tap2 (recfm fb lrecl50 block iOO 9track den 800) After issuing this co •• and, programs referring to TAPEIN will access a
tape at virtual address 182. (Each tape unit in theCMS environment has
asymbolic name associated with it.) The tape must have been previously
attached to the virtual machine by theVft/370 operator.
TheAUIPROC option can only be used by a program call to FILEDEF and not
from the terminal. TheCMS language interface programs use this feature
for specialI/O handling of certain (utility) data sets.
TheAUIPRoe option, followed by a fullword address of an auxiliary
processing routine, allows that routine to receive controlfrom DMSSEB before any device I/O is performed. At the completion of its processing,
the auxiliary routine returns control toDMSSEB signaling whether or not I/O has been perfor.ed. If it has not been done, DMSSEB performs the
appropriate deviceI/O. When control is received from DMSSEB, the general-purpose registers
contain the following information:GPR2 = Data Control Block (DCB) address
GPR3= Base register for DMSSEB GPR8 = CftS OPSECT address
GPR11= File Control Block (FCB) address GPR14 Return address in DMSSEB GPR15 = Auxiliary processing routine address
all other registers= Work registers
The auxiliary processing routine must provide a save area inWh1Ch to
save the general registers; this routine must also perfor. the save
operation.DMSSEB does not provide the address of a save area in
general register 13, as is usually the case.When control returns to the general registers must be restored to their original values.
Control is returned to by branching to the address contained in
general register 14.
GPR15 is used by the auxiliary processing routine to inform toDMSSEB of the action that has been or should be taken with the data block as
follows: Action GPR15=O No I/O performed by !UIPROC routine; DMSSEB will perform I/O. GPR15<O GPR15>O I/O performed by !DIPROC routine and error was encountered. DMSSEB will take error action. I/O performed by AUXPROC routine with residual count in GPR15; DMSSEB returns nor.ally.
GPR15=64KI/O perfor.ed by lUIPROC routine with zero residual count. CMS Introduction 2-47
issue the command:
filedef file1 terminal
and enter the data for your program without recompiling.
fi tapein tap2 (recfm fb lrecl
tape at virtual address 182. (Each tape unit in the
a
attached to the virtual machine by the
The
from the terminal. The
for special
The
processing routine, allows that routine to receive control
the auxiliary routine returns control to
appropriate device
contain the following information:
GPR3
GPR11
all other registers
The auxiliary processing routine must provide a save area in
save the general registers; this routine must also perfor. the save
operation.
general register 13, as is usually the case.
Control is returned to
general register 14.
GPR15 is used by the auxiliary processing routine to inform to
follows:
GPR15=64K