Input Processing Output
Build the CCPARM. A. For EP and PEP control programs. .-, N-IC-B-LO-K-"""'I Lr I ICVT -:-----) B. For NCP control programs. IRVT 2 Check that options are compatible.
3 Check number of resources.
Notes Module Label Ref Notes
1 DMSNCP DMSNCP025E INVALID DATA IN 370X PROGRAM A. For EP and PEP control programs, SCANCEP is issued and control returns to CMS additional fields are updated
with a return code of 16. (CCPRSTYP, CCPRSTAT, CCPRSTEP, CCPPSIZE). A channel vector table must exist for EP
and PEP control programs. If the CVT does not exist, the message DMSNCP025E INVALID DATA IN 370X PROGRAM is issued and control returns to CMS with return code 16.
B. Additional fields in the CCPARM SCANNCP block are updated for NCP and PEP control programs (CCPCAONE, CCPHBFSZ,CCPHBFNO, CCPPADO, CCPPADI, CCPMAXID, CCPRESID,CCPRSTYP,CCPRSTAl CCPRSTEP). 2 A check is made that the options spec- DMSNCP CHEKVMV
ified are compatible. If they are not,
the message DMSNCP099W GENERATION PARA- METERS INCOMPATIBLE WITH VM/370 is issued and processing continues.
3 If there are more than 4086 resources DMSNCP or if the first resource is not a 3704/ 3705, the message
Diagram 9-2. DKSNCP--Building the CCPARK List
172 IBM VM/370 Service Routines Program Logic CCPARM CCPNAME CCPADDR CCPSIZE CCPENTRY CCPTYPE I CCPSTOR Module Label Ref I
CMS (OMSI NT) _________ -. We e •• > Output PLIST -'-------> 1 Initialize the GEN3705 processing. IMPFSCB .... IG_R_l __ ENTRY ADDR
FILENAME R
OPTIONS
Lr -----I Input file I FILETYPE rF Ir-O-P-TL-IS-T-----,'. II:> I 2 Scan the input file for the //EXEC card.
A. Edit Assembler input (See Diagram 9-4 for details.)
B. Edit Linkage Editor input (See Diagram 9·5 for details.)
3 Write the EXEC file.
4 Add the SAVENCP statement to EXEC file, if requested.
5 Close the EXEC file.
6 Execute EXEC file, if requested.
Notes Module Label Ref Notes
1 The input file name, type, and option· ally the mode are put into INPFSCB. The filename or the first 6 characters
of the name, whichever is the least,
is saved for naming the assembler and
linkage editor output files.
The input options are scanned and the
appropriate options are set on. Invalid options cause the message
DMSGRNOO3E INVALID OPTION xxxxxxxx
to be issued.
The FSSTATE macro is issued to see
if the file exists. Either of the follow­ ing messages is issued in case of an
error DMSGRN,048E INVALID MODE xxx DMSGRNOO2E FILE xxxxxxxx NOT FOUND DMSGRN START OPTEND 2 The FSCBRD routine is used to read DMSGRN PRIMEDIT the input file. The EDITIN routine
scans for a //EXEC card containing PGM=IFKASM or PGM=IEWL. Control cards are scanned until a valid EXEC card is found. If *, II, or /* does not
appear as the fi rst characters of the
input record or if an invalid //EXEC card is read, the message DMSGRN078E INVALID CARD IN INPUT FILE 'xxxxxxxxxxxxxxx'
is displayed.
The IFKASM routine processes the
assembler input and the I EWL routine
processes the linkage editor input.
After the input is processed, DMSGRN continues by scanning the input file for
another / /EXEC card.
3 The EXEC statements that were gener-
ated as a result of the assembler and
linkage editor input are written to an EXEC file.
4 The CLOST ACK routine is called to
add SAVECP filename (ENTRY entryname
to the end of the EXEC file, if SAVE was specified on the GEN3705 command.
5 The EXEC macro file is closed by
branching and linking to the PROCEND routine.
6 If RUN was specified, the command EXEC ncpname
is stacked in the reader.
Control is returned to CMS. Diagram 9-3. DMSGRN--Overview of the GEN3705 Co.mand Processor EXEC file Module DMSGRN DMSGRN DMSGRN DMSGRN OPTLIST i RUN NORUN SAVE NOSAVE Label Ref FINDASM FINDIEWL ISTACK30 I I PROCEND2 I STACK30 PROCENDl PROCENDl RETURN1 I I Chapter 9. The 3104/3705 Service Programs 173
Previous Page Next Page