In this section: |
How to: |
The FOCUS DYNAM command is used to manipulate data sets under z/OS. Although similar functions are available under TSO, the DYNAM command is very useful in non-TSO environments when TSO is not necessarily present. DYNAM is recommended instead of TSO commands to manipulate data sets.
DYNAM subcommand operand [operand]...
where:
Required. Is one of the following operations:
ALLOCATE ALLOC ALLO |
Allocates a data set. A wide variety of allocation options is supported. |
CONCAT CONC |
Concatenates data sets. |
FREE |
Frees data sets specified by ddnames or dsnames. Each name may contain wildcard characters. |
CLOSE CLO |
Closes data sets. Useful when the data sets cannot be freed because they are open. The command has the same syntax as DYNAM FREE above. |
COPY |
Copies an entire data set or selected PDS members. The command has powerful features such as record format conversion, either automatic or controlled by options. |
COPYDD |
Copies data between z/OS data sets and/or HiperFOCUS files. DYNAM COPY has been enhanced to handle all functions offered by COPYDD, and is recommended for use instead of COPYDD. |
DELETE DEL |
Deletes an entire data set or selected PDS members. |
RENAME REN |
Renames an entire data set or selected PDS members. |
SUBMIT SUB |
Submits z/OS jobs. |
COMPRESS COMP |
Compresses partitioned data sets (PDSs). |
SET TEMP |
Allocates temporary files. |
May be a keyword, a keyword followed by its parameter, or a parameter without a keyword.
The following rules apply to the DYNAM command:
A,B (A,B) (A B) (A, B) (A,B C, D)
-SET &OUT_NAME = CAR ; DYNAM ALLOC F CAR DA USER1.&OUT_NAME...FOCUS SHR REU
The resulting string is:
DYNAM ALLOC F CAR DA USER1.CAR.FOCUS SHR REU
The DYNAM command and its subcommands, except for COMPRESS and CLOSE, are available from the DYNAM Utilities Menu. Additional allocations for the menu are not required. Private applications may be included on the primary menu. To access the menu, enter the command:
EX DYMENU
z/OS obtains a lock for any allocated data set name: a shared lock for those specified as SHR; an exclusive lock for OLD, NEW, or MOD.
Although data sets can be allocated more than once in a job step, only one type of lock may be obtained. For example, if the data set is allocated as SHR and is then allocated as OLD in the same step, the z/OS lock changes from shared to exclusive, and the data set will not be available for use by other jobs until all allocations in this job are freed.
In addition, a z/OS exclusive lock is not sufficient in multi-user environments, such as FOCUS MSO. If one user were to allocate a data set as OLD, z/OS would allow another user to allocate it as OLD also, because both requests occur in the same job step. This can cause data set corruption due to simultaneous updating.
In order to alleviate these issues, the DYNAM commands that manipulate data sets use an improved locking mechanism, similar to that implemented in ISPF:
Note: The DYNAM locking mechanism protects from simultaneous updating and possible corruption of data, but does not protect from updating and simultaneous reading. For example, it is possible to continue to read a PDS member recently deleted by another user.
How to: |
The DYNAM ALLOCATE command allocates a data set.
DYNAM ALLOCATE normal_disp [CLOSE]
DDNAME ddname [DEFER] [LONGNAME lnam] [DSNAME dsname{(memname)|(n)} [DUMMY] [EXPDT date] [HIPER OFF]
[INPT|OUTPT]
[LABEL type] [MEMBER memname] status [MSVGP msvgp]
[PARALLEL] [PASSWORD password] [PERM] [POSITION nnnn] [REFVOL dsname] [RETPD days] [REUSE] [UNIT unit [UCOUNT n]] [VOLUME volser]
Space operands are:
space_format
space_alloc
[DIR n] [PRIMARY n1] [RELEASE] [ROUND] [SECONDARY n2] [SPACE space]
DCB operands are:
[BLKSIZE n] [BUFNO n] [DEN n] [DSORG dsorg] [LRECL n] [RECFM recfm] [REFDD ddname] [REFDSN dsname]
SMS and VSAM operands are:
[DATACLASS name] [DSNTYPE {LIBRARY|PDS}]
[KEYOFF n] [LIKE dsname] [MGMTCLASS name] [RECORG recorg] [SECMODEL name] [STORCLASS name] [BUFND m] [BUFNI n]
Output printing operands are:
[DEST dest[.user]]
[FCB name [ALIGN|VERIFY]] [FORMS name]
[HOLD] [OUTLIM n] [OUTPUT name] [SYSOUT class] [USER user] [WRITER name]
where:
Can be abbreviated as ALLOC or ALLO.
Can be one of the following:
CATALOG DELETE KEEP UNCATALOG UNCAT |
Data set normal disposition. By default, for a data set status of NEW, if dsname is specified, the disposition is CATALOG. Otherwise, the disposition is DELETE. Incompatible with SYSOUT. Synonyms are: CATALOG-CATLG. |
Deallocation of the data set at close rather than at the end of the step. JCL analogy: FREE=CLOSE.
DDNAME to be associated with an allocation. Must be specified. Synonyms are: DDname-Filename. Assign device(s) to the data set but defer mounting of the volume(s) until the data set is opened. JCL analogy: DEFER in UNIT.
Member name can be specified either in parentheses after dsname or using keyword MEMBER (see below). If dsname is specified as asterisk (*), terminal is allocated. This is used for output only. Synonyms are: DSname-DAtaset.
Relative GDG number.
Dummy data set is to be allocated.
Expiration date in format YYDDD, YYYY/DDD, or YYYYDDD. Incompatible with RETPD and SYSOUT.
Prohibit allocation in a hiperspace. Equivalent to the "UNIT NOHIPER" and is used when UNIT is to be specified too. For example, "UNIT VIO HIPER OFF".
Data set is to be processed as input only (INPT) or output only (OUTPUT). JCL analogy: IN in LABEL. Incompatible with SYSOUT.
Type of volume labels. Can be one of the following: NL, SL, NSL, SUL, BLP, LTM, AL, or AUL. Incompatible with SYSOUT.
Is a Master File name longer than eight characters. Creates a copy of the corresponding short Master File in the PDS allocated to DD HOLDMAST. For more information, see the Describing Data manual.
Name of a PDS member to be allocated. See also DSNAME.
Data set status. Default: NEW. Incompatible with SYSOUT. Can be one of the following: MOD, NEW, OLD, SHR
Identification of a group of mass storage system (MSS) virtual volumes. Incompatible with SYSOUT and VOLUME.
Each volume is to be mounted on a separate device. JCL analogy: P in UNIT.
Password for a password protected data set.
The allocation is to be permanent—that is, protected from being freed or concatenated by any DYNAM command issued by an MSO user. The operand is valid only in an MSO server initialization profile.
Data set sequence number on a tape volume, up to 9999. JCL analogy: the first subparameter in LABEL.
Volume serial information is to be obtained from the specified cataloged data set. JCL analogy: VOL=REF=dsname. Incompatible with SYSOUT and VOLUME.
Retention period, up to 9999 days. Incompatible with EXPDT and SYSOUT.
If the ddname to be allocated is already in use, it is to be freed.
Device group name, device type, specific unit address, or NOHIPER. NOHIPER prohibits allocation in a hiperspace, meaningful for a temporary (NEW,DELETE) data set; see also HIPER OFF.
Number of volumes to allocate.
Volume serial numbers. Incompatible with REFVOL and SYSOUT. Synonyms are: VOLume-VOLser.
Space operands may be:
Can be one of the following:
ALX CONTIG MXIG |
Format of the primary space to be allocated: up to five contiguous areas (ALX); one contiguous area (CONTIG); one maximal contiguous area (MXIG). JCL analogy: ALX/CONTIG/MXIG in SPACE. |
BLOCKS [n] CYLINDERS MEGABYTES PAGES TRACKS |
N represents units of primary and secondary space allocation. If parameter for BLOCKS is omitted, the average block length is copied from BLKSIZE. If space unit is omitted but SPACE and BLKSIZE are specified, BLOCKS equal BLKSIZE is used. For PAGES, BLOCKS 4096 is used. BLKSIZE must be specified if the BLOCKS parameter is specified. Synonyms are: CYLINDERS-CYLs, TRACKS-TRKs. |
Number of 256-byte records for the directory of a PDS.
Primary space quantity. See also SPACE.
Unused space is to be released when the data set is closed. Synonyms are: RELEASE-RLSE.
If space is requested in BLOCKS, MEGABYTES, or PAGES, it is to be rounded to whole cylinder(s).
Secondary space quantity. See also SPACE.
Primary (n1) and/or secondary (n2) space quantity in one of the following formats:
n1/(n1)/n1,n2/(n1,n2)/n1 n2/(n1 n2)/,n2/(,n2)
See also PRIMARY and SECONDARY.
DCB operands may be:
Block size, up to 32760. See also BLOCKS.
Number of buffers, up to 255.
n represents magnetic tape density: 0, 1, 2, 3, or 4 for 200, 556, 800, 1600, 6250 bpi respectively.
Data set organization. Default, for NEW only; PO if DIR or DSNTYPE specified; PS otherwise. The following values are syntactically correct:
VS VSAM.
PO/POU PDS or PDS unmovable.
DA/DAU direct access or direct access unmovable.
PS/PSU physical sequential or physical sequential unmovable.
Logical record length, up to 32760.
Record format. The first letter should be D, F, U, or V, which may be followed by any valid combination of A, B, M, S, or T:
A records with ISO/ANSI control characters.
B blocked records.
D variable-length ISO/ANSI tape records.
F fixed-length records.
M records with machine code control characters.
S standard fixed-length or spanned variable-length records.
T track overflow.
U undefined-length records.
V variable-length records.
DCB attributes are to be copied from the specified ddname. Under TSO, EXPDT and INPT/OUTPT specifications are also copied. Any of those can be overridden by appropriate keyword on the same command. JCL analogy: DCB=*.ddname. Incompatible with REFDSN.
DCB attributes (DSORG, RECFM, OPTCD, BLKSIZE, LRECL, RKP, KEYLEN) and EXPDT are to be copied from the specified cataloged data set. Any of those can be overridden by appropriate keyword on the same command. JCL analogy: DCB=dsname. Incompatible with REFDD.
SMS and VSAM operands are:
Name of a data class for an SMS managed data set.
LIBRARY is for new partitioned extended (PDSE) and PDS is for new partitioned data set. A PDSE cannot contain load modules, should be SMS managed and allows concurrent updating of different members.
Offset of the key in each logical record for a new VSAM key-sequenced (RECORG KS) data set.
Allocation attributes (DSORG, RECORG or RECFM, LRECL, KEYLEN, KEYOFF, SPace, DIR) are to be copied from the specified cataloged data set (model). Any of those can be overridden by appropriate keyword on the same command.
Name of a management class for an SMS managed data set.
VSAM record organization: KS, ES, RR, or LS for key-sequenced, entry-sequenced, relative record, or linear space data set respectively.
Data set RACF profile is to be copied from the named existing RACF profile.
Name of a storage class for an SMS managed data set.
Is the number of VSAM DATA buffers.
Is the number of VSAM INDEX buffers.
Output printing operands may be:
Remote destination for a SYSOUT data set. In conjunction with user ID, it is a node and a user at that node; the user ID can be coded after the period (.) or using the USER keyword (see below).
Name of an FCB (forms control buffer) image to be used for printing of a data set. The operator may be asked to check the printer forms alignment (ALIGN), or to verify the FCB image name displayed on the printer (VERIFY).
A SYSOUT form name. JCL analogy: third subparameter in SYSOUT, FORMS in OUTPUT JCL.
A SYSOUT data set is to be placed on the hold queue.
Limit for the number of logical records in a SYSOUT data set.
Name(s) of OUTPUT JCL statement(s) to be associated with a SYSOUT data set.
A SYSOUT data set is to be allocated and the specified output class (A-Z, 0-9) is to be assigned. If asterisk (*) or NULL is coded, the class is copied either from CLASS in OUTPUT JCL if it is specified, or from MSGCLASS in JOB otherwise.
A SYSOUT data set is to be routed to the specified user ID. DEST (see above) is required to specify a user's node.
Name of an installation written system output printing routine. JCL analogy: second subparameter in SYSOUT. Incompatible with USER.
In addition to the shown fixed abbreviations and synonyms, keywords may be abbreviated up to the unique truncation. Those abbreviations are not fixed and may be changed when new keywords are added. They may be used interactively to save some keystrokes, but when a command is saved in a file, using unabbreviated keywords is recommended.
Allocate an existing data set:
DYNAM ALLOC DD MYDD DS MYID.DATA.SET SHR REU
Allocate a new data set. Defaults: NEW, CATALOG (DSname present), DSORG PO (not-zero DIR present):
DYNAM ALLOC DD MYDD DS MYID.DATA.SET SPACE 6,2 TRACKS DIR 4 UNIT SYSDA - RECFM FB LRECL 80 BLKSIZE 1600
Allocate a terminal:
DYNAM ALLOC DD MYDD DS *
Allocate a SYSOUT data set with default output class. Upon freeing, the data set is sent to the user ID U1234 at node SYSVM:
DYNAM ALLOC DD MYDD SYSOUT * DEST SYSVM.U1234
How to: |
The DYNAM CONCAT command concatenates up to 16 data sets.
DYNAM CONCAT [PERM] DDNAME ddname1 ddname2 [ddname3...]
where:
Can be abbreviated as CONC.
Optional. Marks the concatenation as permanent—that is, protected from being freed or concatenated again by any DYNAM command issued by an MSO user. Valid only in an MSO server initialization profile.
Required. Synonym is FILENAME.
Is the first ddname to be concatenated and associated with the resulting concatenated group.
Is the second and any subsequent ddname to be concatenated.
DYNAM CONCAT DDN FOCEXEC MYEX NEWEX
How to: |
The DYNAM FREE command deallocates any number of specified data sets.
DYNAM FREE {DDNAME ddname [ddname...]|DSNAME dsname [dsname...]} DYNAM FREE LONGNAME lnam
where:
Is required if there is no dsname. Synonym is FILENAME.
Is the ddname of the data set to be freed.
Is required if there is no ddname. Synonym is DATASET.
Is the name of the data set to be freed. All ddnames associated with this dsname, except concatenated groups, are deallocated.
Is a Master File name longer than eight characters. For more information, see the Describing Data manual.
While at least one ddname or data set name is required, you may specify more than one ddname or data set name. Each specified name may contain asterisks (*) and question marks (?) as wildcards. Wildcards are special characters used to specify a subset of names rather than one name. The wildcards can appear anywhere in a name and mean the following:
Represents any number of characters. For example, "*Q*" matches any name containing the character "Q".
Represents any single character. For example, "?Q?" matches any 3-character name containing the character "Q" in the middle.
If the ddname is not found, an error message is issued only if a single ddname without wildcards is specified. An error message is not displayed if a data set or more than one ddname is not found.
DYNAM FREE DDN SYS0* TEMP? DYNAM FREE DSN MYID.DATA.SET
How to: |
The DYNAM CLOSE command closes data sets, which cannot be freed because they are open.
DYNAM CLOSE {DDNAME ddname [ddname...]|DSNAME dsname [dsname...]}
where:
Can be abbreviated as CLO.
Is required if there is no dsname. Synonym is FILENAME.
Is the ddname of the data set to be closed.
Is required if there is no ddname. Synonym is DATASET.
Is the name of the data set to be closed. All ddnames associated with this dsname, except concatenated groups, are closed.
While at least one ddname or data set name is required, more than one ddname or data set name may be specified. Each specified name may contain wildcard characters. The same rules apply to the DYNAM CLOSE command as for the DYNAM FREE command (see FREE Subcommand).
How to: |
The DYNAM COPY command copies an entire z/OS data set or selected PDS members.
DYNAM COPY dname1 {[TO] dname2 [[MEMBER] members]|[MEMBER] members} [options]
where:
Is the dsname or ddname of the input data set. This is a positional parameter. It must precede all other operands.
May be omitted if dname2 does not match a reserved word, the MEMBER keyword, an option, or the TO keyword. To avoid confusion, use the TO keyword whenever dname2 is a ddname.
Is the dsname or ddname of the output data set. If the output data set is not a PDS and the dsname is specified, it will be allocated as OLD. If the ddname is specified, and the status is SHR, you must make sure that other users do not access the data set during COPY. Unlike ISPF, DYNAM will lock a non-PDS data set in order to prevent simultaneous updating by different DYNAM users.
May be omitted if members are specified in parentheses.
Can be a single member specification or a list of member specifications. If the members are enclosed in parenthesis, blanks preceding the left parenthesis may be omitted.
May be one or more of the following options:
APPEND |
Adds the input to the end of the existing data, if the output is a sequential data set. |
FORCE |
Copies input DCB attributes (RECFM, BLKSIZE, LRECL and KEYLEN) to the output data set. By default, only missing values are assigned. Note: Do not use FORCE to change the LRECL of one member of an existing PDS as doing so may potentially destroy the PDS. |
KEYMOD |
Allows key modification according to input/output KEYLEN: truncation or padding with binary zeros. |
REPLACE |
Replaces all output members matching the selected member names. |
TRUNCATE |
Allows truncation of input records that are longer than the output record length. Since trailing blanks are truncated automatically when RECFM is different, the keyword is used either to cut records of the same format or to cut non-blank data. |
A member specification has the following syntax
mem[,[newmem][,REPLACE]]
where:
Is the selected member name.
Is the optional new name for the output member.
Is optional and specifies an existing member to be replaced in the output PDS.
Since the comma may be used in member specifications, they are separated with one or more blanks when specified in a list. Therefore, a list of member specifications is always enclosed in parentheses. For example:
(MEM MEM,NEWMEM MEM,NEWMEM,R MEM,,R)
Copies the entire data set, whether it is a PDS or not.
DYNAM COPY MYDD MYID.DATA.SET
All four commands are equivalent. Either input or output may be a sequential data set, or both are PDSs.
DYNAM COPY MYDD MYID.DATA.SET MEMBER MEM DYNAM COPY MYDD MYID.DATA.SET(MEM) DYNAM COPY MYDD(MEM) MYID.DATA.SET DYNAM COPY MYDD MEMBER MEM MYID.DATA.SET
Copies and renames one member.
DYNAM COPY MYID.DATA.LIB TO MYDD(MEM1,MEM2)
Copies two members.
DYNAM COPY MYID.DATA.LIB TO MYDD(MEM1 MEM2)
Copies two members into same PDS with renaming.
DYNAM COPY MYDD(OLD1,NEW1,R OLD2,NEW2) DYNAM COPY MYDD(OLD1,NEW1 OLD2,NEW2) REPL
How to: |
The DYNAM COPYDD command copies a sequential data set, a PDS member, or a HiperFOCUS file.
DYNAM COPYDD ddname1[(mem1)] ddname2[(mem2)]
where:
Is the ddname of the input data set.
Optional. Is the input member name.
Is the ddname of the output data set.
Optional. Is the output member name.
MYDD1 is a sequential file or is allocated with a member name. If MYDD2 is allocated with a member name, MEM2 is valid only if at least one of the ddnames is a HiperFOCUS file.
DYNAM COPYDD MYDD1 MYDD2(MEM2)
How to: |
The DYNAM DELETE command deletes an entire z/OS data set or selected PDS members.
The syntax to delete an entire z/OS data set is:
DYNAM DELETE dsname
To delete individual members use:
DYNAM DELETE dname [MEMBER] members
where:
Can be abbreviated as DEL.
Is the data set name to be deleted and uncataloged.
Is the dsname or ddname of a PDS containing one or more members to be deleted. The ISPF-like lock is obtained.
May be omitted if the members are specified in parentheses.
Can be a single member name or a list of members. If the members are enclosed in parentheses, blanks before the left parenthesis can be omitted.
DYNAM DELETE MYID.DATA.OLD DYNAM DEL MYID.DATA.LIB MEMBER OLD1,OLD2 DYNAM DELETE MYDD(OLD1,OLD2) DYNAM DEL MYDD(OLD1 OLD2 OLD3)
How to: |
The DYNAM RENAME command renames an entire z/OS data set or selected PDS members.
The syntax to rename an entire z/OS data set is:
DYNAM RENAME dsname1 dsname2
To rename individual members, use
DYNAM RENAME dname [MEMBER] members [REPLACE]
where:
Can be abbreviated as REN.
Is the data set name to be renamed and uncataloged.
Is the new name to be assigned to the data set and cataloged.
Is the dsname or ddname of a PDS containing one or more members to be renamed. The ISPF-like lock is obtained.
May be omitted if the members are specified in parentheses.
Can be a single member specification or a list of members. If the members are enclosed in parentheses, blanks before the left parenthesis can be omitted.
Optional. Replaces all members matching the specified new names.
A member specification has the following syntax:
oldmem,newmem[,REPLACE]
where:
Is the original member name.
Is the new member name.
Is optional and replaces existing members with the same name as newmem.
Since the comma is used in member specifications, each pair of members is separated with one or more blanks when specified in a list. Therefore, a list of member specifications is always enclosed in parentheses.
DYNAM RENAME MYID.DATA.OLD MYID.DATA.NEW DYNAM REN MYID.DATA.LIB MEMBER OLD,NEW,R DYNAM RENAME MYDD(OLD1,NEW1,R OLD2,NEW2) DYNAM REN MYDD(OLD1,NEW1 OLD2,NEW2) REPL
How to: |
The DYNAM SUBMIT command submits jobs to z/OS.
DYNAM SUBMIT dname [[MEMBER] members]
where:
Can be abbreviated as SUB.
Is the dsname or ddname of the input data set(s) containing JCL to be submitted. The ddname can specify a concatenation of data sets.
May be omitted if the members are specified in parentheses.
May be a single member name or a list of members. When submitting a member list, the resulting job stream is the concatenation of the members. If the members are enclosed in parentheses, blanks before the left parenthesis can be omitted.
DYNAM SUBMIT MYDD MEMBER ASM,PROG,LKED DYNAM SUB MYDD(ASM,PROG,LKED) DYNAM SUB MYID.DATA.LIB(CREATE LOAD) DYNAM SUBMIT MYFILE
Note: The DYNAM SUBMIT command provides an interface with the submit user exit IKJEFF10 as described in the IBM TSO Extensions Version 2 Customization manual. For details, see the Information Builders Technical Memo 7859, Enabling a Site-Specified Submit Exit Routine, or view FOCCTL.DATA(SUBMITZ2).
How to: |
The DYNAM COMPRESS command compresses the partitioned data sets (PDS).
DYNAM COMPRESS dname [dname]...
where:
Can be abbreviated as COMP.
Is the dsname or ddname of a PDS to be compressed. The ISPF-like lock is obtained.
If the dsname is specified, it is allocated as OLD. If the ddname is specified and status is SHR, you have to make sure that another user does not access the PDS during the compress operation.
Note: DYNAM COMPRESS uses the IBM utility IEBCOPY, and therefore can only be used when running with APF authorization.
DYNAM COMPRESS MYDD DYNAM COMPRESS MYID.DATA.LIB DYNAM COMP MYDD MYID.DATA.LIB
This section shows examples of TSO ALLOCATE and FREE commands, JCL commands, and the equivalent DYNAM commands.
TSO: |
TSO ALLOC F(FOCEXEC) DA('MYUSER.FOCEXEC.DATA') SHR
|
JCL: |
//FOCEXEC DD DSN=MYUSER.FOCEXEC.DATA,DISP=SHR
|
DYNAM: |
DYNAM ALLOC FILE FOCEXEC DA MYUSER.FOCEXEC.DATA SHR |
TSO: |
TSO ALLOC F(FOCEXEC) DA('MYUSER.FOCEXEC.DATA') - SPACE(5,3) TRACKS CATALOG DIR(2) - UNIT(SYSDA) USING(NEWDCB) - LRECL(80) RECFM(F B) BLKSIZE(1600)
|
JCL: |
//FOCEXEC DD DSN=MYUSER.FOCEXEC.DATA,DISP=(NEW,CATLG), // SPACE=(TRK,(5,3,2)),UNIT=SYSDA, // DCB=(LRECL=80,RECFM=FB,BLKSIZE=1600)
|
DYNAM: |
DYNAM ALLOC FILE FOCEXEC DA MYUSER.FOCEXEC.DATA - SPACE 5,3 TRACKS CATLG DIR 2 UNIT SYSDA - LRECL 80 RECFM FB BLKSIZE 1600 |
TSO: |
TSO FREE F(FOCEXEC)
|
DYNAM: |
DYNAM FREE FILE FOCEXEC |
TSO: |
TSO ALLOC F(FOCEXEC) DA('MYUSER.FOCEXEC.DATA'- 'MYUSER.PROGRAMS.DATA') SHR
|
JCL: |
//FOCEXEC DD DSN=MYUSER.FOCEXEC.DATA,DISP=SHR // DD DSN=MYUSER.PROGRAMS.DATA,DISP=SHR
|
DYNAM: |
DYNAM ALLOC FILE FOCEXEC DA MYUSER.FOCEXEC.DATA SHR DYNAM ALLOC FILE PROGRAMS DA MYUSER.PROGRAMS.DATA SHR DYNAM CONCAT FILE FOCEXEC PROGRAMS |
How to: |
Temporary files are transient files that disappear after you end a session.
You can control the size and location of temporary metadata files and data files created by HOLD commands. You can specify that the temporary files reside in the hierarchical file system, MVS data sets, or in hiperspace.
DYNAM SET TEMP[ALLOC] {MVS|HIPER}
where:
Allocates temporary files to MVS data sets. This is the default value.
Allocates temporary files to hiperspace.
Note: For z/OS, temporary metadata files can be allocated using a similar procedure to allocating permanent metadata files:
To alter the default allocation parameters for temporary files for MVS data sets, issue the following command.
DYNAM SET TEMP[ALLOC] FOR type dynam_parms
where:
Is one of the following: HOLDACC, HOLDMAST, HOLD SAVE, REBUILD, FOCUS, FOCSORT, OFFLINE, or FOC$HOLD.
Are regular DYNAM ALLOC parameters to be used as default for that type. Note that DCB parameters, if provided here, will be ignored, since they must be compatible with the file type being written.
This is similar to the functionality of IBITABLA. The defaults should be overwritten for all cases when a private copy of IBITABLA exists containing different values.
System defaults for HOLDMAST and HOLDACC are:
TRKS 5 5 DSORG PO DIR 36 NEW REU
System defaults for all other types are:
CYLS 5 10 DSORG PS NEW REU
The following command allocates HOLD Master Files to a data set named USER1.HOLDMAST.DATA
DYNAM SET TEMP FOR HOLDMAST DA USER1.HOLDMAST.DATA SHR REU
|
Information Builders |