ALLOCATE utility in z/VSE: Difference between revisions
(Automatically generated page update) |
m (typo) |
||
Line 21: | Line 21: | ||
<li>If a file name referenced in the ALLOCATE statement control does not have a corresponding DLBL statement in the JCL, an error message is logged in the output audit trail. </li> | <li>If a file name referenced in the ALLOCATE statement control does not have a corresponding DLBL statement in the JCL, an error message is logged in the output audit trail. </li> | ||
</ul> | </ul> | ||
==ALLOCATE z/VSE job stream== | ==ALLOCATE z/VSE job stream== | ||
<p>The following job stream runs the ALLOCATE utility:</p> | <p> | ||
The following job stream runs the ALLOCATE utility:</p> | |||
<p class="code">// JOB ALLOCATE MODEL 204 FILES | <p class="code">// JOB ALLOCATE MODEL 204 FILES | ||
// DLBL M204CL,'M204.CORE.IMAGE.LIBRARY' | // DLBL M204CL,'M204.CORE.IMAGE.LIBRARY' |
Latest revision as of 17:30, 20 November 2014
Overview
The ALLOCATE utility provided with MODEL 204 allocates Model 204 files, including CCATEMP, CCAGRP, and CCASERVR, in the z/VSE environment. One or more files, as specified in control statements, can be allocated during one execution. You must provide a DLBL and EXTENT with complete information for each file name referenced in the ALLOCATE control statement.
ALLOCATE control statement
The ALLOCATE control statement format is:
ALLOCATE FILE (filename1 filename2 filenamex)
The following considerations apply:
- The ALLOCATE statement is free format and can begin in any column.
- You can include any number of ALLOCATE control statements in the input to the utility.
- Use a continuation character (-) after the last parameter on an input record being continued.
- There is no limitation to the number of continuation statements.
- filename1 through filenamex refer to the file names on the DLBL statements in the job control stream.
- If a file name referenced in the ALLOCATE statement control does not have a corresponding DLBL statement in the JCL, an error message is logged in the output audit trail.
ALLOCATE z/VSE job stream
The following job stream runs the ALLOCATE utility:
// JOB ALLOCATE MODEL 204 FILES // DLBL M204CL,'M204.CORE.IMAGE.LIBRARY' // EXTENT ,volser // LIBDEF CL,SEARCH=M204CL // DLBL CCATEMP,'CCATEMP.SCRATCH.FILE',0 // EXTENT SYS001,SYSWK1,,,1000,390 // DLBL CLAIM81,'DEMO.CLAIMS81',99/365 // EXTENT SYS001,SYSWK1,,,1390,780 // DLBL CLAIM82,'DEMO.CLAIMS82',,,99/365 // EXTENT SYS001,SYSWK1,,,1780,780 // DLBL CLIENTS,'DEMO.CLIENTS',99/365 // EXTENT SYS001,SYSWK1,,,3340,780 // DLBL VEHICLE,'DEMO.VEHICLES',99/365 // EXTENT SYS001,SYSWK1,,,4120,780 // ASSGN SYS001,DISK,VOL=SYSWK1,SHR // EXEC ALLOCATE,SIZE=AUTO *ALLOCATE DEMONSTRATION DATABASE FILES ALLOCATE FILE (CLAIM81) ALLOCATE FILE (CCATEMP - CLAIM82) ALLOCATE FILE (VEHICLE,CLIENTS) /* /&