02.07.2013 Views

Type III C lass A Program

Type III C lass A Program

Type III C lass A Program

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CMS BATCH MONITOR<br />

The Batch Monitor can be run from a terminal like<br />

conversational CMS. The Batch Monitor permits use of the<br />

FORTRAN (G), ASSEMBLER (F). and PL/I (F) compilers.<br />

Temporary work files, referred to as FORTRAN logical files,<br />

are stored on disk and should be of limited size. The Batch<br />

Monitor's permanent disk is erased and CMS is re 9 IPLed<br />

whenever a JOB card i's processed.<br />

SAMPLE BATCH JOB<br />

Source, object" or data cards included in the job stream are<br />

stored as separate CMS files. Each file is identified by a<br />

filename and filetype. FORTRAN, ASSEMBLE, and TEXT control<br />

cards indicate the filetypes FORTRAN, SYSIN, and TEXT.<br />

respectively. If unspecified, the filename is chosen by the<br />

system,.<br />

When a FORTRAN file is compiled or a SYSIN file is<br />

assembled, an object module is generated as a file with a<br />

filetype of TEXT and the same filename as the source file.<br />

Data files to be read as a FORTRAN logical unit must be<br />

identified as FILE FTOnFOOl where n is 1, 2, 3, 4, or 8.<br />

Files created by writing on one of the above FORTRAN logical<br />

units are identified, in the same way. These files may be<br />

PRINT'ed or PUNCHeed using the appropriate control card and<br />

specifying the filename and filetype,.<br />

Execution of object modules (TEXT files) is initiated by the<br />

GO control card. The control card causes all TEXT files to<br />

be loaded into core. Execution begins at the entry point<br />

specified in the GO control card or at the first program<br />

encountered in the job stream. If a program interruption<br />

occurs during program execution, the programmer gets a<br />

complete core dump and the job is terminated. Data cards<br />

following the GO control card can be read as FORTRAN logical<br />

unit 5 (sysin). Any data cards following the GO control<br />

card which are not read are ignored. An example of a CMS<br />

Batch job deck is shown in Figure 48.<br />

526 CMS Batch Monitor

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!