| Next Tip?
Home » Archive

Articles in the Mainframe Category

VSAM »

[9 Aug 2009 | No Comment | 212 views]

Yes. Why? Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.
Tweet This Post

VSAM »

[9 Aug 2009 | No Comment | 209 views]

255 – but you must be a nut to have so many ALT Indexes on a dataset!
Tweet This Post

VSAM »

[9 Aug 2009 | No Comment | 196 views]

only on KSDS and ESDS – not RRDS
Tweet This Post

VSAM »

[9 Aug 2009 | No Comment | 190 views]

Out of space condition is raised.
Tweet This Post

VSAM »

[9 Aug 2009 | No Comment | 233 views]

Define new VSAM dataset allocated with more space.
Use IDCAMS to REPRO the old VSAM file to new VSAM dataset.
Use IDCAMS to ALTER / rename the old VSAM dataset or se IDCAMS to DELETE the old VSAM dataset.
Use IDCAMS to ALTER / rename the new VSAM dataset to the name of the original VSAM dataset.
Tweet This Post

VSAM »

[9 Aug 2009 | No Comment | 245 views]

Give (+1) as the generation number, give (new,catlg) for disp, give space parameter, can give the DCB parameter if you want to override the dcb of the model dataset.
Tweet This Post

VSAM »

[9 Aug 2009 | No Comment | 273 views]

Relative generation numbers are updated only at the end of the job, not at the end of a step. To allocate a new generation, we would be using (+1) with a DISP of (NEW,CATLG,DELETE). To refer to this in a subsequent step in the same job, we would again use (+1) but with a DISP of SHR or OLD.
Tweet This Post