3704/3705 Control Program
A separate ASM3705 file is created for each assembly job step in the
stage 2 input file. Each ASM3705 file created by GEN3705 is given a
unique filename of the form 'fnamenn'. The first characters of the
input filename are concatenated with a two-digit number. For example,
if the input file is NCP320 TEXT, the output files are NCP32000 ASM3705, NCP32001 ASM3705, ••• , NCP320nn ASM3705. These files are used as input
to the 3705 Assembler when it is invoked by the stage 2 EXEC procedure.
The GEN3705 program creates several TEXT files. These files contain
only linkage editor control statements, those statements necessary to
build the load module file for the 3704/3705 control program. Each of
the TEXT files created is given a unique filename of the form 'fnameLn'.
The first six characters of the input filename are concatenated with the
letter L and a number. For example, if the input file is NCP320 TEXT, the linkage editor output files are NCP320LO TEXT, NCP320Ll NCP320Ln TEXT. The filenames assigned to the linkage editor and assembler files must
be different. If the filenames were the same, when the ASK3705 files
are later assembled, TEXT files would be produced which would have file
identifiers that conflict with the linkage editor files.
The EXEC macro file created contains the CKS commands necessary to
invoke the ASM3705 command for each of the ASK3105 files, and to
subsequently invoke the linkage editor for each of the Assembler TEXT files. If the SAVE option is specified, the EXEC file also contains the SAVENCP command which loads the 3704/3705 control program image into
virtual storage and creates the page-format copy of it on a CP-owned volume. The filename of the stage 2 input file is used as the 'ncpname'
operand for the SAVENCP command. SPECIAL CONSIDERATIONS FOR THE STAGE 2 GENERATION PROCEDURE VM/370 recommends that you specify the RUN option. When the RUN option
is specified, GEN3705 stacks a CKS command line to cause the EXEC file
to execute following the completion of the GEN3705 program. This
technique minimizes the virtual storage overhead during the EXEC file
execution.
If you do not specify the SAVE option, you have to explicitly issue
the SAVENCP command. If you do specify the SAVE option, be sure that
the input file has the same filename as the entry reserved in the system
name table. The system name table is created when a NAKENCP macro is
issued during a VM/310 system generation. The NAKENCP macro is
described in "Part 2. Defining Your VK/370 System" and the building of
the system name table is described in "Part 3. Generating VM/370 (CP, CMS, RSCS, and IPCS)." Step 8. Invoke the EXEC Procedure Created in Step 7
If you specified RUN on the GEN3105 command, this step is executed for
you. If you did not specify RUN on the GEN3705 command, you must invoke
the EXEC procedure that the GEN3705 program created.
Part 4. Generating the 3704/3705 Control Program 307
310Q/3705 Control Program The EXEC procedure is given the same filename as the GEN3105 input
file. It is invoked by entering that filename at the terminal. For
example, if the input file is NCP320 TEXT, the EXEC file is named NCP320 EXEC, and can be invoked by issuing: NCP320 at the terminal.
This EXEC procedure contains CMS commands that: Assemble the 3705 source files (ASM3705 commands). Build the TXTLIB that the 3105 Assembler (TXTLIB commands). Define all the necessary files; such as, the SYSLIB and SYSLKOD files, load libraries, and text libraries (FILEDEF commands). Link edit the 3705 text files creating a load module (LKED commands) You need not issue the ASM3705 and LKED commands that create the 310Q/3705 control program load module; the EXEC procedure does that for
you. The ASK3705 command is described in Step 6. The FILEDEF and TXT LIB commands are described in the THE LKED COMMAND Use the CKS LKED command to create the 310Q/3105 control program load module from the 3105 Assembler object files. The format of the LKED
command is: r I LKED fname [ (options ••• [) ]] I I I , I I , I I I I I L QEtions: [NCAL] (LET] (ALIGN2] [NE] [OL] [RENT] [REUS] [REFR] [OVLY] [XeAL] [NAME membername] [LIBE libraryname] r , IXREFI ,MAP I L .J r , I TERM , ,NOTERK I L .J r , ,PRINT I IDIg , INOPRINTI L .J
fname specifies the filename of the object file to
The file must have a filetype of TEXT and SO-character records.
be processed.
fixed-length,
If duplicate or conflicting linkage editor options are specified, the
resolution is performed by the linkage editor in accordance with its
normal procedures. If duplicate or conflicting eMS-related options
are specified, the last one entered on the command line is in effect.
The eMS-related options are: TERM, NOTERM, PRINT, DISK, NOPRINT, NAME, and LIEE. 308 IBM VM/370 Planning and System Generation Guide
Previous Page Next Page