CA Dynam for VSE User Guide
CA Dynam for VSE User Guide CA Dynam for VSE User Guide
Disk File Maintenance Utilities Examples Assume the Catalog contains a GDS called STOCK with NGEN=3. Assume further that there is a GDS called ALT.STOCK with NGEN=3, and two non-GDS files called NOT.A.GDS and ALSO.NOT.A.GDS. The contents of the backup tape are as follows: STOCK(G#13) STOCK(G#11) NOT.A.GDS STOCK(G#12) Using the REORG command, restore the current version from the tape as a new current version: REORG 'STOCK' CATALOG GDS=NEW CA Dynam Catalog Before: STOCK - NGEN=3 - G#13 -> G#12 -> G#11 After: STOCK - NGEN=3 - G#14 -> G#13 -> G#12 | +------------------ G#13 from backup Note that if (G#14) had already been created, DYNUTIL would issue a message that the requested file was not on the tape, and no processing would take place. Using the REORG command, restore the (G-2) version from the tape as the new current version; in this example (G#14) has already been created, so (G- 2) is (G#12): REORG 'STOCK(G-2)' CATALOG GDS=NEW CA Dynam Catalog Before: STOCK - NGEN=3 - G#14 -> G#13 -> G#12 After: STOCK - NGEN=3 - G#15 -> G#14 -> G#13 | +------------------ G#12 from backup Using the REORG command, restore the (G#11) version from the tape as the new current version: REORG 'STOCK(G#11)' CATALOG GDS=NEW CA Dynam Catalog Before: STOCK - NGEN=3 - G#14 -> G#13 -> G#12 After: STOCK - NGEN=3 - G#15 -> G#14 -> G#13 | +------------------ G#11 from backup 5–34 User Guide
Disk File Maintenance Utilities Using the REORG command, restore the (G#11) version from the tape in its original sequence: REORG 'STOCK(G#11)' CATALOG GDS=ORIGINAL (GDS=ORIGINAL optional) CA Dynam Catalog Before: STOCK - NGEN=3 - G#13 -> G#12 -> G#11 After: STOCK - NGEN=3 - G#13 -> G#12 -> G#11 | +-- G#11 from backup Note that if G#14 had already been created, DYNUTIL would issue a message that the requested target file was no longer current, and no processing would take place. Using the REORG command, restore all versions from the tape in their original sequence: REORG 'STOCK*' CATALOG GDS=ORIGINAL (GDS=ORIGINAL optional) CA Dynam Catalog Before: STOCK - NGEN=3 - G#14 -> G#13 -> G#12 After: STOCK - NGEN=3 - G#14 -> G#13 -> G#12 | | | | | +-- G#12 from backup +---------- G#13 from backup Note that G#14 is not processed because it is not found on the tape, and G#11 is bypassed because it is no longer current. Using the REORG command, restore the (G#12) and (G#13) versions in reversed sequence: REORG 'STOCK(G-1)' CATALOG GDS=REPLACE NEWDSN='*(G-2)' REORG 'STOCK(G-2)' CATALOG GDS=REPLACE NEWDSN='*(G-1)' CA Dynam Catalog Before: STOCK - NGEN=3 - G#14 -> G#13 -> G#12 After: STOCK - NGEN=3 - G#14 -> G#13 -> G#12 | | | | | +-- G#13 from backup +---------- G#12 from backup Note that the REORG commands could not be given in the reverse order unless the tape were closed and reopened between them; DYNUTIL only searches the tape in the forward direction. Chapter 5: Supporting Disk File Management 5–35
- Page 218 and 219: Defining Independent Files Defining
- Page 220 and 221: Releasing Unused Disk Space Single-
- Page 222 and 223: Deleting Files DA Files No truncati
- Page 224 and 225: Processing Expired Files If the ret
- Page 226 and 227: SORT Considerations Supplementary m
- Page 228 and 229: Specifying the SET Command Using Op
- Page 230 and 231: Specifying the SET Command CONSOLE=
- Page 232 and 233: Specifying the SET Command Examples
- Page 235 and 236: Chapter 5: Supporting Disk File Man
- Page 237 and 238: Disk File Maintenance Utilities VOL
- Page 239 and 240: Disk File Maintenance Utilities •
- Page 241 and 242: Disk File Maintenance Utilities Exa
- Page 243 and 244: Disk File Maintenance Utilities Thi
- Page 245 and 246: Disk File Maintenance Utilities Con
- Page 247 and 248: Disk File Maintenance Utilities TRA
- Page 249 and 250: Disk File Maintenance Utilities PAR
- Page 251 and 252: Disk File Maintenance Utilities R
- Page 253 and 254: Disk File Maintenance Utilities Y N
- Page 255 and 256: Disk File Maintenance Utilities CHA
- Page 257 and 258: Disk File Maintenance Utilities Opt
- Page 259 and 260: Disk File Maintenance Utilities OPE
- Page 261 and 262: Disk File Maintenance Utilities You
- Page 263 and 264: Disk File Maintenance Utilities Not
- Page 265 and 266: Disk File Maintenance Utilities '*'
- Page 267: Disk File Maintenance Utilities •
- Page 271 and 272: Disk File Maintenance Utilities STO
- Page 273 and 274: Disk File Maintenance Utilities EXC
- Page 275 and 276: Disk File Maintenance Utilities •
- Page 277 and 278: Reporting on Disk Files The VTOCS r
- Page 279 and 280: Reporting on Disk Files • If VOL=
- Page 281 and 282: Reporting on Disk Files On the VOLF
- Page 283 and 284: Reporting on Disk Files • If VOL=
- Page 285 and 286: Chapter 6: Controlling File Indepen
- Page 287 and 288: Physical Files Physical Files The f
- Page 289 and 290: Unit Record Simulation Example // D
- Page 291 and 292: Unit Record Simulation CICS Macro L
- Page 293 and 294: Dynamic File Sorting CA SRAM normal
- Page 295 and 296: Changing File Characteristics TLBL
- Page 297 and 298: Changing File Characteristics NOTRU
- Page 299 and 300: Changing File Characteristics SORTW
- Page 301 and 302: Changing File Characteristics Befor
- Page 303 and 304: Changing File Characteristics SRTCO
- Page 305 and 306: Changing File Characteristics Consi
- Page 307 and 308: Changing File Characteristics old b
- Page 309 and 310: Changing File Characteristics The i
- Page 311 and 312: Controlling System Actions DYNAMFI=
- Page 313 and 314: Controlling System Actions Note tha
- Page 315 and 316: Controlling System Actions BG 0000
- Page 317 and 318: Controlling System Actions BG 0000
Disk File Maintenance Utilities<br />
Examples<br />
Assume the Catalog contains a GDS called STOCK with NGEN=3. Assume<br />
further that there is a GDS called ALT.STOCK with NGEN=3, and two non-GDS<br />
files called NOT.A.GDS and ALSO.NOT.A.GDS. The contents of the backup tape<br />
are as follows:<br />
STOCK(G#13) STOCK(G#11) NOT.A.GDS<br />
STOCK(G#12)<br />
Using the REORG command, restore the current version from the tape as a<br />
new current version:<br />
REORG 'STOCK' <strong>CA</strong>TALOG GDS=NEW<br />
<strong>CA</strong> <strong>Dynam</strong> Catalog<br />
Be<strong>for</strong>e: STOCK - NGEN=3 - G#13 -> G#12 -> G#11<br />
After: STOCK - NGEN=3 - G#14 -> G#13 -> G#12<br />
|<br />
+------------------ G#13 from backup<br />
Note that if (G#14) had already been created, DYNUTIL would issue a<br />
message that the requested file was not on the tape, and no processing would<br />
take place.<br />
Using the REORG command, restore the (G-2) version from the tape as the<br />
new current version; in this example (G#14) has already been created, so (G-<br />
2) is (G#12):<br />
REORG 'STOCK(G-2)' <strong>CA</strong>TALOG GDS=NEW<br />
<strong>CA</strong> <strong>Dynam</strong> Catalog<br />
Be<strong>for</strong>e: STOCK - NGEN=3 - G#14 -> G#13 -> G#12<br />
After: STOCK - NGEN=3 - G#15 -> G#14 -> G#13<br />
|<br />
+------------------ G#12 from backup<br />
Using the REORG command, restore the (G#11) version from the tape as the<br />
new current version:<br />
REORG 'STOCK(G#11)' <strong>CA</strong>TALOG GDS=NEW<br />
<strong>CA</strong> <strong>Dynam</strong> Catalog<br />
Be<strong>for</strong>e: STOCK - NGEN=3 - G#14 -> G#13 -> G#12<br />
After: STOCK - NGEN=3 - G#15 -> G#14 -> G#13<br />
|<br />
+------------------ G#11 from backup<br />
5–34 <strong>User</strong> <strong>Guide</strong>